I'm posting this here in the hope that it might reach someone at
Google who can act on it (Dan, can you perhaps forward it?). I don't
know any way to reach the GMail Gadgets team directly. For other users/
developers like myself, consider this an FYI of a current problem with
the gadgets API on GMail.

---

I have a number of gadgets for GMail (see http://gad.getpla.net/gmail.php),
but in the last day several of them have stopped working correctly.
Specifically, some of the userprefs aren't being loaded.

I've dug into the problem with Firebug, and it appears to be an issue
with the iframe src URL that the GMail container is constructing. It's
started adding a hash (#) component to the URL, which appears to
confuse the API's _IG_Prefs object, preventing it from loading the
real preference values.

As an example, here's an iframe URL for my PolyClock gadget, as
generated by GMail:

http://0.gm.gmodules.com/gadgets/ifr?container=gm&v=7f67d3fd638ac84eee5ad38ca2d28b88&lang=en-gb&country=GB&view=default&url=http%3A%2F%2Fgad.getpla.net%2Fpoly%2Fclock_test.xml&libs=analytics%3Adynamic-height%3Aminimessage%3Asetprefs%3Asettitle&parent=https%3A%2F%2Fmail.google.com%2Fmail%2Fhtml&pid=&up_clocks=America%2FDenver%3DDenver#up_clocks=&rpctoken=1s6h53-bbykct&mid=4

Note the URL parameter "up_clocks", which loads a clock for Denver in
this case. But also notice the hash component immediately after it,
which includes a blank copy of the parameter, "up_clocks=". This
second, fake parameter is being picked up by _IG_Prefs instead of the
real one, obscuring the real  preference value. Either this hash
component needs to be removed, or _IG_Prefs needs to be fixed to
ignore it.

One other note... In my testing, I find that not all preferences for
all gadgets are being affected, but I have yet to find the pattern.

Any response would be much appreciated!

String
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"iGoogle Developer Forum" 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-Gadgets-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to