Using ZF for uploading PDF to Google Docs API 3.0

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


  • Jany

    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 222

    which is: $link = $entry->getAlternateLink()->getHref();

  • Sergei

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

  • Piyush

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

Leave a Reply

Your email address will not be published. Required fields are marked *