Posted in Technicalon Jun 16, 2008
Dear Google Docs,
Recently you added PDF support to Google docs. This is such a great feature that people instantly want it third-party apps which connect to Google Docs through the Gdata API. Please add the ability to upload PDFs through the Gdata API. If that support is already there, perhaps you should update your list of supported document types. Thank you for your help, and I look forward to integrating this new feature into my third-party app.
One Comment
Michael Yang
June 23rd, 2008 at 8:55 pm
YES. please implement this. I have a bunch of PDFs sorted on my local hard drive and I’m having to press 3-4 mouse clicks for each one that I want to upload and wait about 5-10 seconds in between each one.
# I need this!!!
for file in allMyPDFFilesOnMyHardDrive:
gd_client = gdata.docs.service.ServiceClass()
content_type = \
gdata.docs.service.SUPPORTED_FILETYPES['PDF']
ms = gdata.MediaSource(file_path = file, content_type=content_type)
gdc.UploadDocument(ms,docFileName)
print ‘done’