Using ZF for uploading PDF to Google Docs API 3.0

March 15, 2012 Zend Framework

Zend Framework has many methods for working with Google Apps Platform in Zend_Gdata module. But has no method for uploading pdf file to new Google Docs API 3.0. So we created simple ZF class for uploading pdf to Google Docs

This class uses chunks pdf uploading.

You can work with this class the next way

Bill From NB

June 9, 2012 at 5:00 am

I LOVE YOU!
Reply

Jany

June 9, 2012 at 8:09 pm

Can this be used to upload docx files also? It seems that the Zend Framework cannot handle docx, and if I change the file type to application/vnd.openxmlformats-officedocument.wordprocessingml.document,I get the following error: protected $_mime = "application/vnd.openxmlformats-officedocument.wordprocessingml.document";Fatal error: Call to a member function getAlternateLink() on a non-object in test.php on line 222which is: $link = $entry->getAlternateLink()->getHref();
Reply

Sergei

August 8, 2012 at 11:07 am

It's really cool, but is it possible to upload PDF file to specified folder?
Reply

Piyush

April 23, 2014 at 5:23 am

where do i save this file as to upload the pdf to google docs? please help in mentioning the whole procedure
Reply


Leave a Reply

Your email address will not be published