[Google-Docs-Data-APIs] Re: Get Content of a Document

2009-07-22 Thread faninator
Hi Eric, I tried your method of using file_get_contents with the example code that you posted but I was unable to download the file to the server. If I echo the result from the download function, I get a broken google login page and then a prompt for download. However, when I'm trying to write th

[Google-Docs-Data-APIs] Re: Get Content of a Document

2009-07-22 Thread faninator
's a mistake in that snippet I posted. > The feed URI should be > 'http://docs.google.com/feeds/documents/private/full/-/document' > > Eric > > On Jul 22, 6:00 am, faninator wrote: > > > Hi Eric, > > > I tried your method of using file_get_contents with

[Google-Docs-Data-APIs] Re: Moved Temporarily when downloading spreadsheets

2009-07-22 Thread faninator
Hi Eric, I've been asking you for help on another thread, but now I also got the Moved Temporarily problem when I tried the script above. However my approach is slightly different - I don't keep users email and password and put them into separate arrays for writely and wise as the "step 1" in the

[Google-Docs-Data-APIs] Re: Get Content of a Document

2009-07-25 Thread faninator
each ($entry->link as $link) { >           if ($link->getRel() === 'alternate') { >             $alternateLink = $link->getHref(); >           } >         } > >         // Make the title link to the document on docs.google.com. >         echo "$entry->title\

[Google-Docs-Data-APIs] Re: Get Content of a Document

2009-07-25 Thread faninator
I got it now. Ignore my previous post. Thanks! On Jul 25, 8:06 pm, faninator wrote: > Hi Eric, > > Thanks a lot for the help! It worked. Now I can download documents but > not spreadsheets. I tried changing the scope to > > $scope = 'http://docs.g