Hi Everyone,
I got a work around but it is ugly, even though I am sending a work
around, I urge every one to please let me know how to do this cleanly.

I plan to use the embedded iframe itself like this - <iframe
frameborder="0" scrolling="auto" onload="_ifr_ol(this)" style="border:
0pt none ; margin: 0pt; padding: 0pt; overflow: auto; width: 100%;
height: 200px;" name="remote_iframe_135" id="remote_iframe_135"
        src="http://8eariqdd-a.ig.sandbox.gmodules.com/gadgets/ifr?
view=home&amp;url=http://gadget-doc-examples.googlecode.com/svn/trunk/
opensocial-gadgets/oauth-
contacts.xml&amp;nocache=0&amp;lang=en&amp;country=us&amp;.lang=en&amp;.country=us&amp;synd=ig&amp;mid=135&amp;ifpctok=4342170912366192066&amp;parent=http://
www.google.com#st=c%3Dig%26e%3DAPu7ico0WQAjtAstncC%252Bc27XlyK5s9pcX2l4rZgRJVBt7twZQ3iOy8CudgPnRl%252Bs95qpo%252B7UXlOo5rD02GOBgEXBuwHF5b23wzKO3BqjB9is8ZJyvH9sP5kKRm7fPsUkpZvvQhn1V5VI&amp;gadgetId=107838191425110991008&amp;gadgetOwner=111904925861160803964&amp;gadgetViewer=111904925861160803964&amp;extern_js=/extern_js/f/CgJlbhICdXMrMBI4ACwrMBM4ACw/YFo2hOObZ2I.js"/>

However, with this you won't get the gadget settings and other page.
However they are not too concerning as I want to show the gadget as a
part of web page and not even let the use know it.


Thanks,
Rohit


On Nov 14, 9:35 am, Rohit Ghatol <[EMAIL PROTECTED]> wrote:
> Hi Dan,
>
> I was trying to add OAuth Gadget to my web page using the "Add this
> gadget to your webpage" link, but was unable to do so.
>
> You can try this link and get the javascript code and try embedding in
> a local html file and test it, it is not working 
> -http://www.gmodules.com/ig/creator?synd=open&url=http%3A//gdata-sampl...
>
> What I basically want to do this this? I would appreciate any help on
> this.
>
> I want to use the new OAuth based gadgets to read and write from my
> Google Apps domain spreadsheet. The next challenge is making this
> OAuth Spreadsheet gadget appear on a page or start page of Google
> Apps, I know this won't work as Google Apps has legacy gadget
> platform.
>
> But here my idea, I will write my own legacy gadget which will have
> the generated javascript.
> Here is the sample javascript - <script src="http://www.gmodules.com/
> ig/ifr?url=http://gdata-samples.googlecode.com/svn/trunk/gadgets/
> blogger/
> blogger_gadget.xml&amp;synd=open&amp;w=320&amp;h=385&amp;title=Blogger
> +Gadget&amp;border=http%3A%2F%2Fwww.gmodules.com%2Fig%2Fimages
> %2F&amp;output=js"></script>
>
> This way my legacy gadget will work as a web page which will host the
> new OAuth based Gadget.
>
> I wanted to know how I can take this approach.
>
> Thanks,
> Rohit
--~--~---------~--~----~------------~-------~--~----~
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