Kristian Ivanov


Participating in Product Hunt Global Hackathon — Days 13 and 14

Days 1 to 11

can be found here ->

Day 12

rest and minor fixes, reported by users

Day 13

Gamayun was able to search and summarize things. It was time for the next step — summarize web pages! It turned out that this is actually pretty complicated. There are several chrome extensions that simplify web pages to more print friendly versions. None of them however seemed to work the way I wanted so I decided to try and find a way to be able to extract text from online articles. It took some time. On day 13 I stayed up till 2AM. It still didn’t work….

Day 14

I kept trying. PHP DOMDocument is pretty awesome and easy to use. Despite that websites have different DOM structures. Actually they don’t have anything in common. After additional 5 hours I managed to make it work. It took a lot of combination of parentNode, childNode, texts comparisons, number of children and a so many other things, but I have tested it with several websites and it seems to work.

My sleep deprived brain couldn’t think of anymore websites to test it on, but it is live and online on so if anyone finds website that it doesn’t work on, just let me know and I will fix it.


I will be attempting to add user accounts in the next few days. We’ll see how it will turn out.


If you are a participant in the hackathon I would love to hear your impressions of the hackathon and this article and whether or not our journeys so far had anything similar.

And of course anyone is more than welcomed to subscribe for Gamayun here —, test it, tweet to it and whatever else you can think of :)

More by Kristian Ivanov

Topics of interest

More Related Stories