News for hackers. Stuff that matters.
Re:Ask HN: please review my app - html to pdf API by asnyder on Wednesday March 31, 2010 @03:40PM (#1232823)
Why no PHP API binding?
Re:Ask HN: please review my app - html to pdf API by jbm on Thursday April 01, 2010 @02:01AM (#1233977)
I've gone ahead and built one.

Try it:

http://www.tokyomuslim.com/2010/04/php-class-to-run-pdfcrowd...

I don't blame anyone for not wanting to use PHP's poorly documented CURL classes.

Re:Ask HN: please review my app - html to pdf API by asnyder on Friday April 02, 2010 @03:02AM (#1236132)
Thanks for getting this done. But come on, CURL is documented pretty well. There are even examples. What's there to know? Init a connection, set the flags, pass in whatever you like, submit, and check response. Pretty straightforward to me.
Re:Ask HN: please review my app - html to pdf API by jbm on Friday April 02, 2010 @10:31PM (#1238055)
The CURL stuff seems so oddly unlike the rest of the PHP commands; it's more-or-less a direct port of the c++ library, names & all included.

The place where it reallllly irritates is the cookie management, but thankfully I didn't have to deal with that in this case. (I did for a client at a newspaper - nightmarish.)

Re:Ask HN: please review my app - html to pdf API by jgresula on Wednesday March 31, 2010 @03:52PM (#1232855)
No special reason - I just don't know PHP. But it is on the todo list.