Thanks for your reply. Unfortunately, it doesn't seem to work. Also,
Google calendar uses the gdata API, which, according to
http://code.google.com/apis/ajax/documentation/
does not support the 'callback' option:
Google data APIs
name: gdata
versions: 1, 1.x
load request: google.load("gdata", "1");
supported options: none
I also have another question:
When we first include the javascript source from Google, is the 'key'
necessary or can I ignore it?
I've seen both of the following:
http://www.google.com/jsapi?key=ABCDEFG (see, for example,
http://code.google.com/apis/ajax/documentation/ )
and
http://www.google.com/jsapi (see, for example,
http://code.google.com/apis/calendar/docs/1.0/developers_guide_js.html
)
Why do we have to have a key? Is this merely to identify who coded
what? And since I am writing an extension to the browser, there
is no webpage associated with it, but when I go to get a key, it asks
for a webpage. The "key" complicates things unnecessarily.
Thanks for your help!
On Dec 3, 11:45 am, Trevor Johns <[EMAIL PROTECTED]> wrote:
> On Wed, Dec 3, 2008 at 12:31 AM, Trevor Johns <[EMAIL PROTECTED]> wrote:
> > On Sun, Nov 30, 2008 at 2:51 PM, Ishmael <[EMAIL PROTECTED]> wrote:
>
> >> Hi,
>
> >> I'm having the same problem. I'm trying to write an extension for
> >> Firefox, but there appears to be some problem with document.write()
> >> (according to Venkman Javascript debugger) as it appears in google.load
> >> ("gdata", "1"). Apparently, this is a known problem:
>
> >>http://weston.ruter.net/projects/xhtml-document-write/
>
> >> Unfortunately, the patch provided at the above link doesn't appear to
> >> work. Is Google working on fixing this issue, or is there some other
> >> workaround?
>
> >> Thanks for your help!
>
> > I'm not aware of any immediate plans to fix this, but I've filed a
> > feature request for this.
>
> > I'm afraid I'm not aware of any workarounds, other than writing your
> > own loader (which, of course, would be unsupported).
>
> To follow up, I've been told that if you do:
>
> google.load("gdata", "1", {callback: foo});
>
> it should work with XML-based resources, though I haven't tested it myself.
>
> If you try this, please let me know how it works for you.
>
> --
> Trevor Johns
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Calendar Data API" 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-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---