Hi Vision Jinx, The iGoogle developer sandbox, orkut (production and sandbox), and Blogger are all using a new backend to render gadgets called Shindig (which is the reference implementation of gadgets.* and OpenSocial), so it would make sense that you see this issue in Blogger and the sandbox, but not iGoogle production. Eventually iGoogle will move all rendering to Shindig, most likely after the canvas view launch, but before the social launch. One of the goals in this transition is to improve compatibility with existing gadgets running on Shindig, as there are clearly some issues.
If you can let me know what other gadgets are having issues we can figure out if there is something that needs to be fixed in Shindig, or something better fixed in your code. Best, Dan On Oct 8, 11:04 pm, "Vision Jinx (Guru)" <[EMAIL PROTECTED]> wrote: > Hey Dan, > > Thanks for your post and I seen the "problem" but I think there is > another issue here also. > > I have posted issues with my feed gadgets and the sandbox before and > while I do understand that you say the sandbox is only supported in > the .com TLD this is what I am noticing. > > When I load this gadget outside the sandbox it works just fine like it > always has, but when loaded in the sandbox it breaks. It also does the > same thing on Blogger so it seems like Blogger is using the sandbox > back end or something as most problems I have with the sandbox seem to > affect people using my gadgets on Blogger which seem to be a large > number of my gadget users. > > Is Blogger running a different version of the Gadgets API back end or > what causes these sandbox issues with my gadgets (like them being > blank instead of loading feeds) to affect Blogger users? > > So again, works fine in legacy iGoogle and syndicated but problems > with this one and others in the sandbox and Blogger. I can edit that > one line as you mention but that is not the only thing plaguing me. > > Thoughts? > Vision Jinx > > On Oct 8, 2:58 pm, "Dan (Google Employee)" <[EMAIL PROTECTED]> wrote: > > > Hi Vision Jinx, > > > From what I can tell, the injected code you've highlighted isn't > > actually the issue. That code gets inserted in most gadgets without > > issue. What is happening, is an additional chunk of code is being > > inserted in the _vjpop function, causing a cascading failure. The > > interpreter seems to think that the <html><head><title> tags are the > > start of a page, and some extra code is being inserted causing an > > unterminated string literal. If you remove those tags, the page should > > load fine. (In my testing I eliminated the two writes that emit the > > open and close <html>...<body> etc.) > > > Best, > > Dan > > > On Oct 8, 1:08 am, "Vision Jinx (Guru)" <[EMAIL PROTECTED]> wrote: > > > > I still have issues with some gadgets in the sandbox. This one is due > > > to Google injecting code into my javascript causing problems. > > > > Throwing the following errors > > > > Error: gadgets is not defined > > > Source > > > File:http://251.ig.sandbox.gmodules.com/gadgets/ifr?view=home&url=http://w... > > > Line: 1303 > > > > Error: a.jstiming is undefined > > > Source > > > File:http://251.ig.sandbox.gmodules.com/gadgets/ifr?view=home&url=http://w... > > > Line: 1303 > > > > Error: L is undefined > > > Source > > > File:http://260.ig.sandbox.gmodules.com/gadgets/ifr?view=home&url=http://w... > > > Line: 188 > > > > The gadget that has broken code being displayed in it is > > > >http://www.visionjinx.net/gg/feedticker/feedticker_v1.xml > > > > Code being injected into my javascript functions > > > > <script>(function(){ > > > var a=window;function b(){this.t={};this.tick=function(c) > > > {this.t[c]=(new Date).getTime()};this.tick("start")}var d=new > > > b;a.jstiming={Timer:b,load:d};if(a.external&&a.external.pageT)a.jstiming.pt=a.external.pageT;})(); > > > > </script> > > > > I haven't checked out the sandbox in a while but seems things have not > > > changed since my last posts regarding these breaking gadgets issues. :- > > > ( --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
