Project ID:
1430701
Project Type:
Fixed
Budget:
$30-$250 USD
(Approx. $232-$1942 HKD)
Project Description:
code.google.com/p/wkhtmltopdf/ and and http://cutycapt.sourceforge.net/ are small cross-platform command-line utilities to capture WebKit's renderings of a web page into a variety of vector and bitmap formats.
Both command-line utilities should run on an Amazon EC2 vServer as web services. It should be possible to call the The command-line utilities via PHP and Parameters.
Example: by calling execute the command "path/webkit_to_pdf/wkhtmltopdf --margin-left 0mm --margin-top 0mm --margin-right 0mm --margin-bottom 0mm http://www.exampledomain.ch path/webkit_to_pdf/pdfs/website.pdf" in the command-line utility a pdf of a website can easily be created.
Now this should work by opening an PHP-Site:
http://www.exampledomain.ch/createPDF.php?url=http://www.exampledomain.ch
The output files should be stored on the web server. And the URL to the File should be displayed. That is all.
There are a lot of recourses about this issue out there:
http://avad.hu/t/content/setting-wkthmltopdf-ubuntu-server-1004
http://roundhere.net/journal/install-wkhtmltopdf-php-bindings/
http://code.google.com/p/wkhtmltopdf/wiki/IntegrationWithPhp
For development you can use my Amazon EC2 Account. The resulte should be an easy to understand Step-by-Step Manual.
Additional Project Description:
02/07/2012 at 4:29 HKT:
Addition: After getting some feedback, I decided that it would be also possible to use wkhtmltoimage instead of cutycapt.
Skills required:
Amazon Web Services,
Apache,
Linux,
PHP