http://docs.google.com/DocAction?action=updoc&hl=fr
http://docs.google.com/DocAction?action=updoc

On 19 jan, 17:54, fdf <[email protected]> wrote:
> Hello there , I am a newbie in using google API.
> And I found an example of using Google Docs Data APIs and I was
> wondering what were the type of documents you could upload to Google
> Docs.
>
> Cause I very often end up with an error message :
>
> Notice: Undefined index: WPL in C:\wamp\www\google API\Zend\Gdata
> \Docs.php on line 90
>
> Fatal error: Uncaught exception 'Zend_Gdata_App_HttpException' with
> message 'Expected response code 200, got 415 Content-Type application/
> x-www-form-urlencoded is not valid.' in C:\wamp\www\google API\Zend
> \Gdata\App.php:643 Stack trace: #0 C:\wamp\www\google API\Zend
> \Gdata.php(202): Zend_Gdata_App->performHttpRequest('POST', 'http://
> docs.goo...', Array, '<?wpl version="...', NULL, NULL) #1 C:\wamp\www
> \google API\Zend\Gdata\App.php(787): Zend_Gdata->performHttpRequest
> ('POST', 'http://docs.goo...', Array, '<?wpl version="...', NULL) #2 C:
> \wamp\www\google API\Zend\Gdata\App.php(851): Zend_Gdata_App->post
> (Object(Zend_Gdata_App_MediaFileSource), 'http://docs.goo...', NULL,
> NULL, Array) #3 C:\wamp\www\google API\Zend\Gdata\Docs.php(252):
> Zend_Gdata_App->insertEntry(Object(Zend_Gdata_App_MediaFileSource),
> 'http://docs.goo...', 'Zend_Gdata_Docs...') #4 C:\wamp\www\google API
> \Zend\Gdata\Docs.php(233): Zend_Gdata_Docs->insertDocument(Object
> (Zend_Gdata_App_MediaFileSource), 'http://docs.goo...') #5 C:\wamp\www
> \google API\Docs.php(35 in C:\wamp\www\google API\Zend\Gdata\App.php
> on line 643
>
> Only .doc work.
> How can you make pdf .... work as well?
>
> The sample is 
> therehttp://code.google.com/intl/fr/apis/documents/docs/1.0/developers_gui...
>
> Thank you !
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Docs Data APIs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Docs-Data-APIs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to