Gmansolf / googlecl

Automatically exported from code.google.com/p/googlecl
0 stars 0 forks source link

Feature request: export ODF +PDF documents #137

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
For use with the officeshots.org compatibility project (and many other use 
cases, I guess) it would be great to be able to download the actual document 
with all the markup, images, metadata etc through googlecl.

google docs get --filetype=odf --title=doctitle

and ditto for the print output:

google docs get --filetype=pdf --title=doctitle

The gdata library seems to support this feature for docs, presentations and 
spreadsheets:

http://code.google.com/apis/documents/docs/1.0/developers_guide_python.html#Down
loadingWPDocuments

Original issue reported on code.google.com by opendocs...@gmail.com on 21 Jun 2010 at 11:49

GoogleCodeExporter commented 8 years ago
We found that setting the document type in the config file does not seem to 
work in all cases, notably when setting the respective xxx_format parameters 
with odt, odp and ods as per:

http://code.google.com/apis/documents/faq.html

Whatever you set besides txt, seems to generate PDF's exclusively.

Original comment by opendocs...@gmail.com on 30 Jun 2010 at 10:40

GoogleCodeExporter commented 8 years ago
Couple of questions / comments:

Is this with googlecl 0.9.7, or the version from the trunk? I'm able to 
download pdfs and odt with the version from the trunk. ODF doesn't seem to be 
supported by Google, at least not through the API.

I assume by --filetype you mean --format

Are these "new-style" documents you're downloading (the web interface looks new 
and improved)? Issue 166 has the same problem, where everything is downloaded 
as a PDF.

Original comment by tom.h.mi...@gmail.com on 30 Jun 2010 at 1:47

GoogleCodeExporter commented 8 years ago

Original comment by tom.h.mi...@gmail.com on 12 Jul 2010 at 10:21

GoogleCodeExporter commented 8 years ago
We upgraded to trunk, and now it works. Thanks a lot, and people can now look 
forward to seeing validation results on http://Officeshots.org ...

Original comment by opendocs...@gmail.com on 14 Jul 2010 at 9:04

GoogleCodeExporter commented 8 years ago

Original comment by tom.h.mi...@gmail.com on 14 Jul 2010 at 12:09