Extensibility of Google Docs

88 views
Skip to first unread message

Blackmage

unread,
May 14, 2008, 12:46:22 PM5/14/08
to Google App Engine
I was wondering if anyone knows if it is possible to extend the
functionality of Google docs and its assorted applications from within
the Google UI. So for example I would be able to add a tab to the
spreadsheet app that would allow for macro formulas, with a macro
builder

Filip

unread,
May 15, 2008, 8:25:02 AM5/15/08
to Google App Engine
I'd like to add the reverse question too. Has anyone written wrappers
to import/export to Google Docs? I'm not sure there is an API
available, but there is so much other things to learn/work out that it
would be nice to have a component that resolve this.

Marzia Niccolai

unread,
May 15, 2008, 12:23:13 PM5/15/08
to google-a...@googlegroups.com
Hi,
 I believe what you are looking for are the Google Data APIs:
http://code.google.com/apis/gdata/

Specifically, the Google Documents List API seems to have the functionality that you desire, Filip:
"Here are some of the things you can do with the Documents List Data API:
  • Upload the word processing documents and spreadsheets on your computer to allow you to back them up or collaborate online when editing.
  • Find all of your documents that contain specific keywords.
  • Get a list of spreadsheets which can be accessed through the Google Spreadsheets Data API."
Also, it seems appropriate here to plug that the Google Data team updated their Python client library to include support for App Engine:
http://code.google.com/p/gdata-python-client/

Concerning the first question asked, I do not believe it is possible to extend the UI as desired, but you may wish to read the Google Docs help documents to find out for certain:
http://documents.google.com/support/?hl=en

-Marzia

alex23

unread,
May 16, 2008, 4:56:02 AM5/16/08
to Google App Engine
I don't know about official support, but you should be able to do that
using Greasemonkey.

Google did add support for Greasemonkey to the latest version of
Gmail, it'll be interesting to see if they roll out support for it in
other products.

- alex23

Robert

unread,
May 16, 2008, 6:55:38 AM5/16/08
to Google App Engine
I do read Spreadsheet's from GoogleDoc's using the python client
libraries. There are some topics here that I needed to get it working.
Key facts where:
a) Using gdata.service.http_request_handler = gdata.urlfetch to
communicate with GoogleDocs
b) Find an SimpleXMLTreeBuilder implementation which works with my
Python 2.5
c) Of cause include all used API in my project

After getting that to work I ran into some charset Problems concerning
german umlauts - but I think this is the same with every character
beyond us-ascii:
1) The development-engine on Windows raises UnicodeDecodeErrors for
every special character within the gdata.atom module. This may be
caused by python misconfiguration on my windows system. It works fine
under linux.
2) Storing StringProperties containing special chars requires a
stingToStore.decode('utf-8') call before assigning the value to the
model instance. I suppose this behaviour is ok and wanted - but has to
be considered BEFORE writing much code ... ;-)

Sebastian Aviña

unread,
Jun 3, 2008, 6:27:13 AM6/3/08
to Google App Engine, rbau...@googlemail.com
have yo managed to read "raw content" from a Document? (text)



On May 16, 5:55 am, Robert <rbausd...@googlemail.com> wrote:
> I do read Spreadsheet's from GoogleDoc's using the python client
> libraries. There are some topics here that I needed to get it working.
> Key facts where:
> a) Using gdata.service.http_request_handler = gdata.urlfetch to
> communicate with GoogleDocs
> b) Find an SimpleXMLTreeBuilder implementation which works with my
> Python 2.5
> c) Of cause include all used API in my project
>
> After getting that to work I ran into some charset Problems concerning
> german umlauts - but I think this is the same with every character
> beyond us-ascii:
> 1) The development-engine on Windows raises UnicodeDecodeErrors for
> every special character within the gdata.atom module. This may be
> caused by python misconfiguration on my windows system. It works fine
> under linux.
> 2) Storing StringProperties containing special chars requires a
> stingToStore.decode('utf-8') call before assigning the value to the
> model instance. I suppose this behaviour is ok and wanted - but has to
> be considered BEFORE writing much code ... ;-)
>
> On 16 Mai, 10:56, alex23 <wuwe...@gmail.com> wrote:
>
> > On May 15, 2:46 am, Blackmage <blackmag...@gmail.com> wrote:
>
> > > I was wondering if anyone knows if it is possible to extend the
> > > functionality ofGoogledocsand its assorted applications from within
> > > theGoogleUI. So for example I would be able to add a tab to the
> > > spreadsheet app that would allow for macro formulas, with a macro
> > > builder
>
> > I don't know about official support, but you should be able to do that
> > using Greasemonkey.
>
> >Googledid add support for Greasemonkey to the latest version of
Reply all
Reply to author
Forward
0 new messages