Hey Dan, Thanks a lot, I seen the snippet and fixed them. I am trying to test some of the affected ones and I am having quite a few issues with the sandbox today. I keep having to sign in as it for some reason keeps signing me out and bumping me back to the legacy version.
Also when I first updated them I was getting a Google error page back where my gadgets content should be, then it started to work find for a bit now they are all blank. Even when I open the gadget in a new window, it is just blank. I am using the developer gadget and have the caching un-checked (disabled) Are there some other significant issues with the sandbox what would cause all this? I don't think that one snippet i fixed should be causing this and the files are available online and seem to be working fine and well formed etc. Any thoughts? Many thanks again for that, I just could not find what the issue was with them. All I got back was "l" is not defined. :-( Cheers! Vision Jinx On Oct 13, 11:09 am, "Dan (Google Employee)" <[EMAIL PROTECTED]> wrote: > Hi Vision Jinx, > > From what I can tell, in your gadget, the value being passed to L is > feed.Description. In the sandbox (or any Shindig-based renderer) I > don't believe description is passed into the JSON of feed entries. If > you need the description field, you'll need to fetch as text or XML. > Alternatively, you can check for the presence of description before > calling _hesc and omit it when a value isn't present. > > Best, > Dan > > On Oct 9, 4:14 pm, "Vision Jinx (Guru)" <[EMAIL PROTECTED]> wrote: > > > Hey Dan, > > > Thanks for the follow up. Here are some gadgets that work fine outside > > the sandbox but just say Loading Feed.... when in the sandbox. Not all > > feeds are affected and the same issue also happens on Blogger. > > >http://www.visionjinx.net/gg/ultrareader/ultrareader_v1.xmlhttp://www... > > > The only error I am getting in FF is... > > > Error: L is undefined > > Source > > File:http://261.ig.sandbox.gmodules.com/gadgets/ifr?view=home&url=http://w......... > > Line: 188 > > > Does that help in finding out what is causing this? > > > Cheers! > > Vision Jinx > > > On Oct 9, 11:08 am, "Dan (Google Employee)" <[EMAIL PROTECTED]> > > wrote: > > > > 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 -~----------~----~----~----~------~----~------~--~---
