News for hackers. Stuff that matters.
Re:Ask HN: please review my app - html to pdf API by dpapathanasiou on Wednesday March 31, 2010 @03:54PM (#1232863)
That's a non-trivial task.

Yes, that's true.

I only bring it up b/c if your goal is to turn pdfcrowd into an app that people would pay money for (and I would be one of them), solving that problem would go a long way towards achieving it.

Re:Ask HN: please review my app - html to pdf API by thepsi on Wednesday March 31, 2010 @05:15PM (#1233044)
Solving it perfect is non-trivial (I've known entire PhDs to be spent working on a small subset of the problem). There are a number of products/projects that solve it to some extent (techniques include absolute positioning & making sweeping assumptions about what constitutes a paragraph) - would this be enough for you to consider paying for, given that their assumptions/workarounds might produce HTML files that aren't quite to your 'taste'?
Re:Ask HN: please review my app - html to pdf API by latortuga on Wednesday March 31, 2010 @04:49PM (#1232986)
There already many apps and pieces of software that charge for the feature he already has so I don't see why it is a requirement for him to monetize. It definitely would be an easy feature to charge for but I think what he has already has potential.
Re:Ask HN: please review my app - html to pdf API by brandnewlow on Wednesday March 31, 2010 @05:20PM (#1233056)
Total noob question, couldn't you programmatically capture a browsershot and then convert that into a PDF?

HTML -> png seems to have been figured out. Is .png -> pdf that hard to do?

Re:Ask HN: please review my app - html to pdf API by vibhavs on Wednesday March 31, 2010 @06:03PM (#1233168)
No, .png to .pdf is not difficult.

I believe dpapathanasiou's suggestion is not to blindly convert a pdf into html file with one giant image file of the pdf.

Instead, he wants to create an html document that maintains the same content and layout from the pdf.

Re:Ask HN: please review my app - html to pdf API by brandnewlow on Wednesday March 31, 2010 @06:05PM (#1233175)
D'Oh! Got myself mixed up there a bit.