[google-appengine] Re: Alternate to Conversion API

2013-03-07 Thread Bryce Cutt
A lot of this can be done in Python and since you need this in 
functionality in Java you can set up a Python version or backend wrapped in 
a RESTful API that uses xhtml2pdf and then consume that API from your Java 
code.

For HTML/image to PDF I use the Python library http://www.xhtml2pdf.com/ which 
uses Reportlab, pyPdf, and html5lib running on GAE. I have been using it to 
generate very nice article PDFs with embedded images and once I figured out 
how to get the page size correct I have found this to be a very good 
library.

For PDF to image I have been using ImageMagick on an EC2 and for extracting 
text I have used Apache PDFBox (Java) and pdfminer (Python) on GAE. I have 
to convert CMYK PDFs into RGB JPGs with watermarks and ImageMagick makes 
this nice and easy but of course cannot be run on GAE so I wrapped it in an 
API and consume from GAE. I mostly use PDFBox to extract text for my search 
index and have no experience trying to get a nicely formatted text version 
from a PDF but I know pdfminer will give you a formatted HTML version of a 
PDF.

- Bryce


On Tuesday, August 21, 2012 4:00:57 AM UTC-7, aswath wrote:

 Hello,
 We were deeply involved in utilizing the conversion api for the HTML to 
 PDF conversion.  Suddenly, I got the email from Google about the plan for 
 decommissioning from Nov 2012.

 Does anyone has suggestions for doing the HTML to PDF conversion that is 
 compatible with Google Appengine for Java.  


 Regards
 -Aswath
 www.AccountingGuru.in


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Re: Alternate to Conversion API

2013-03-06 Thread Retze Faber
We run an online service that certainly offers the HTML to PDF conversion 
capabilities you had and more. It's quite affordable and very easy to 
implement.

Have a look at http://www.htm2pdf.co.uk/features for the different options 
we offer.

On Tuesday, August 21, 2012 1:00:57 PM UTC+2, aswath wrote:

 Hello,
 We were deeply involved in utilizing the conversion api for the HTML to 
 PDF conversion.  Suddenly, I got the email from Google about the plan for 
 decommissioning from Nov 2012.

 Does anyone has suggestions for doing the HTML to PDF conversion that is 
 compatible with Google Appengine for Java.  


 Regards
 -Aswath
 www.AccountingGuru.in


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Re: Alternate to Conversion API

2012-08-25 Thread Richard Watson
Yup, here's an example of how to create a doc on Docs and export it as a 
PDF:
http://www.streamhead.com/creating-pdf-file-google-app-engine/ 

I'm almost 100% sure that functionality is safe as it's being used by many 
more people. If you try it out, please tell us how you find it?

On Saturday, August 25, 2012 7:15:57 AM UTC+2, timh wrote:

 The conversion api seems to map to functionality in google docs.

 Could the facilities in google docs for upload/download and conversion be 
 used ? ( Possibly not depending on what your app does.)
 Or are they being deprecated as well ?

 T

 On Tuesday, August 21, 2012 7:00:57 PM UTC+8, aswath wrote:

 Hello,
 We were deeply involved in utilizing the conversion api for the HTML to 
 PDF conversion.  Suddenly, I got the email from Google about the plan for 
 decommissioning from Nov 2012.

 Does anyone has suggestions for doing the HTML to PDF conversion that is 
 compatible with Google Appengine for Java.  


 Regards
 -Aswath
 www.AccountingGuru.in



-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/sD-nT6wLYGEJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Alternate to Conversion API

2012-08-25 Thread timh
The main problem with this approach for dymamic generation will be the 
requirement to stick stuff into docs, and pull back out with conversions, 
and then probably delete documents once generated.  So if it's being used 
as part of an anonymous service docs will be given a serious workout ;-)

On Saturday, August 25, 2012 2:42:08 PM UTC+8, Richard Watson wrote:

 Yup, here's an example of how to create a doc on Docs and export it as a 
 PDF:
 http://www.streamhead.com/creating-pdf-file-google-app-engine/ 

 I'm almost 100% sure that functionality is safe as it's being used by many 
 more people. If you try it out, please tell us how you find it?

 On Saturday, August 25, 2012 7:15:57 AM UTC+2, timh wrote:

 The conversion api seems to map to functionality in google docs.

 Could the facilities in google docs for upload/download and conversion be 
 used ? ( Possibly not depending on what your app does.)
 Or are they being deprecated as well ?

 T

 On Tuesday, August 21, 2012 7:00:57 PM UTC+8, aswath wrote:

 Hello,
 We were deeply involved in utilizing the conversion api for the HTML to 
 PDF conversion.  Suddenly, I got the email from Google about the plan for 
 decommissioning from Nov 2012.

 Does anyone has suggestions for doing the HTML to PDF conversion that is 
 compatible with Google Appengine for Java.  


 Regards
 -Aswath
 www.AccountingGuru.in



-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/tfaJsNl-gOEJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Alternate to Conversion API

2012-08-25 Thread Richard Watson
Truly. Personally I'm inclined to use direct PDF generation, which is what 
I currently need. Fewer moving parts and dependencies.

On Saturday, August 25, 2012 9:24:27 AM UTC+2, timh wrote:

 The main problem with this approach for dymamic generation will be the 
 requirement to stick stuff into docs, and pull back out with conversions, 
 and then probably delete documents once generated.  So if it's being used 
 as part of an anonymous service docs will be given a serious workout ;-)



-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/Zr6769LllkkJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Alternate to Conversion API

2012-08-25 Thread timh
For me, PDF generation was never really the problem, generating PDF is 
fairly straightforward.  It was the other facilities in the conversion api 
I was interested in ;-)

T

On Saturday, August 25, 2012 4:08:28 PM UTC+8, Richard Watson wrote:

 Truly. Personally I'm inclined to use direct PDF generation, which is what 
 I currently need. Fewer moving parts and dependencies.

 On Saturday, August 25, 2012 9:24:27 AM UTC+2, timh wrote:

 The main problem with this approach for dymamic generation will be the 
 requirement to stick stuff into docs, and pull back out with conversions, 
 and then probably delete documents once generated.  So if it's being used 
 as part of an anonymous service docs will be given a serious workout ;-)



-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/ZphNXnzl18IJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Alternate to Conversion API

2012-08-24 Thread timh
The conversion api seems to map to functionality in google docs.

Could the facilities in google docs for upload/download and conversion be 
used ? ( Possibly not depending on what your app does.)
Or are they being deprecated as well ?

T

On Tuesday, August 21, 2012 7:00:57 PM UTC+8, aswath wrote:

 Hello,
 We were deeply involved in utilizing the conversion api for the HTML to 
 PDF conversion.  Suddenly, I got the email from Google about the plan for 
 decommissioning from Nov 2012.

 Does anyone has suggestions for doing the HTML to PDF conversion that is 
 compatible with Google Appengine for Java.  


 Regards
 -Aswath
 www.AccountingGuru.in


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/aEoZPxDAwFkJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Alternate to Conversion API

2012-08-22 Thread Daniel Florey
Same problem here. We have invested a lot of time (=money) into Conversion 
API.
So I am very frustrated and need to find a replacement.
From what I can tell App Engine has been using Princexml for the conversion.
Unfortunately this will not run on App Engine and costs a lot of €€€$$$.
So I'm basically lost right now.
Any suggestions?
The Conversion API worked perfectly fine for us :-(

Daniel


On Tuesday, August 21, 2012 1:00:57 PM UTC+2, aswath wrote:

 Hello,
 We were deeply involved in utilizing the conversion api for the HTML to 
 PDF conversion.  Suddenly, I got the email from Google about the plan for 
 decommissioning from Nov 2012.

 Does anyone has suggestions for doing the HTML to PDF conversion that is 
 compatible with Google Appengine for Java.  


 Regards
 -Aswath
 www.AccountingGuru.in


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/gqKJQqgouzAJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: Alternate to Conversion API

2012-08-22 Thread Gianni
I suppose html to pdf is the feature of which will feel more the lack. The
alternative free and most used in python is reportlab (perhaps it could be
added to the libraries supported third-party libraries at this point) . But
if conversion api still under discussion, I think that the problem of low
utilization depends on the tricky usage of paged media css and not in
converison api in itself.

-- Gianni



2012/8/22 Daniel Florey daniel.flo...@gmail.com

 Same problem here. We have invested a lot of time (=money) into Conversion
 API.
 So I am very frustrated and need to find a replacement.
 From what I can tell App Engine has been using Princexml for the
 conversion.
 Unfortunately this will not run on App Engine and costs a lot of €€€$$$.
 So I'm basically lost right now.
 Any suggestions?
 The Conversion API worked perfectly fine for us :-(

 Daniel


 On Tuesday, August 21, 2012 1:00:57 PM UTC+2, aswath wrote:

 Hello,
 We were deeply involved in utilizing the conversion api for the HTML to
 PDF conversion.  Suddenly, I got the email from Google about the plan for
 decommissioning from Nov 2012.

 Does anyone has suggestions for doing the HTML to PDF conversion that is
 compatible with Google Appengine for Java.


 Regards
 -Aswath
 www.AccountingGuru.in

  --
 You received this message because you are subscribed to the Google Groups
 Google App Engine group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-appengine/-/gqKJQqgouzAJ.

 To post to this group, send email to google-appengine@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.