Hi string, thanks for the reply and the little improvement.
Getting further in my reflection this week end (yeah I know ...) I could not help thinking about the way the feature of adding a gadget as disapeared from the developpers toolbox. To my mind, this loss is just a Side effect of the deprecation of the html-inline and should not have connection whit that. I mean, why don't extend the current API to provide a standardisation on the container level to specify how a gadget is added ? Doing this, every gadgets.* compliant container should make available an implementation of that, allowing developpers to have higher level of abstraction to perform such task. What do you think about that ? On 27 fév, 10:21, String <[email protected]> wrote: > Hi Romary, > > I'm afraid your first/preferred option isn't going to work. The > Developer Gadget is inlined, a technology that's been discontinued for > all developers except Google. > Seehttp://groups.google.com/group/Google-Gadgets-API/browse_thread/threa... > for extensive discussion. > > To improve your second option, try adding an attribute of > target="_top" to the <a> tag for thehttp://www.google.com/ig/adde?moduleurl= > links. That should break you out of the iframe without opening a new > window or tab. > > String > > On Feb 26, 4:24 pm, Romary Kremer <[email protected]> wrote: > > > Hi all, > > > working on igoogle gadgets technology for few month, I am realy found > > of the "Developper" gadget, which allows to add other gadgets from > > their spec url !! > > > Now, as I am working on a prototype for my team, one of our use case > > would be to have a gadget able to do the same thing (some kind off > > Graphical Gadget Repository). > > > I've looked inside the source code of developper gadget and can > > isolate the portion responsible for the add of a gadget in the > > container : it makes invocation to _add_remote_module() function with > > url and callback function as parameters. > > > On a first try, I have inocently reproduced portion of code and > > adapted it to take in consideration my own ways to get specUrl and > > callback. > > Unfortunately, this first attempt failed :( doing NOTHING ! > > > On a second try, I decided to reuse the existing features that allows > > to add a gadget from a hyperlink, but as my gadget is running in a > > iframe, it implies that the link to add gadget must be opened in an > > other window or other tab > > adding a gadget create a popup with a link > > tohttp://www.google.com/ig/adde?moduleurl=withthe specified url > > > Even if the second try can satisfy the requirement, my team and I do > > not like it so much as it is not as straight forward as the feature > > proposed by the Developper gadget. > > > I am asking for people who have that need to add gadget from a gadget > > and if their is a common fashion to workaround that issue. > > > Best Regards, --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
