nko2 / website

the node.js knockout website
http://2011.nodeknockout.com
MIT License
59 stars 16 forks source link

some screenshots erroring out #174

Closed visnup closed 13 years ago

visnup commented 13 years ago

e.g., http://pinkyurl.com/i?url=http%3A%2F%2Fslidejoin.no.de%2F&out-format=png&resize=160x93 times out. running cutycapt on it directly, never comes back.

japj commented 13 years ago

phantomjs.exe rasterize.js http://slidejoin.no.de/ test.png results in "Unable to load the address!" so that is also no option. Unfortunately it doesn't give any other meaningfull error, so I don't know what is causing it to fail.

japj commented 13 years ago

looking with google devkit, it seems the page is doing xhr polling with socket io repeatedly. maybe that is the reason it times out?

japj commented 13 years ago

I tried http://iecapt.sourceforge.net/, "IECapt.exe --url=http://slidejoin.no.de/ --out=test.png" and that works ok. Not sure if you have access to a windows machine though.

visnup commented 13 years ago

thanks for looking into all those options. yeah it might be some js event loop that never really exits, but most of these tools stop js execution and take a screenshot of current state.

I'm thinking for the handful of sites that are erroring, to do something more manual and push that into our results.

On Aug 29, 2011, at 4:18 AM, japjreply@reply.github.com wrote:

I tried http://iecapt.sourceforge.net/, "IECapt.exe --url=http://slidejoin.no.de/ --out=test.png" and that works ok. Not sure if you have access to a windows machine though.

Reply to this email directly or view it on GitHub: https://github.com/nko2/website/issues/174#issuecomment-1929173

visnup commented 13 years ago

manually replaced images using webkit2png (on osx).

On Aug 29, 2011, at 4:18 AM, japj wrote:

I tried http://iecapt.sourceforge.net/, "IECapt.exe --url=http://slidejoin.no.de/ --out=test.png" and that works ok. Not sure if you have access to a windows machine though.

Reply to this email directly or view it on GitHub: https://github.com/nko2/website/issues/174#issuecomment-1929173