Orkut uses same method "synd=orkut". I would also prefer this method.
API would have been nicer, but this also not bad

On Nov 15, 6:58 am, Danny at Mesa <[EMAIL PROTECTED]> wrote:
> The Hi5 sandbox currently uses the "synd" querystring parameter (e.g.
> "synd=hi5"), which is nicer than trying to parse the parent URL.  That
> would be a preferred standard IMHO.
>
> On Nov 14, 1:04 pm, "Arne Roomann-Kurrik (Google)"
>
> <[EMAIL PROTECTED]> wrote:
> > Currently there isn't a standard way of doing this, and perhaps
> > someone from one of the other containers can elaborate more on how
> > they implement it, but the Orkut model has been to pass a querystring
> > parameter called "parent" to the iframe containing the gadget.
>
> > In Orkut you can retrieve this using _args()["parent"].  It will be
> > the base url of the current container - "http://sandbox.orkut.com";
> > currently.
>
> > I have a feature request logged to get this into the OpenSocial API.
> > It's going to be quite important once multiple containers begin going
> > live.
>
> > ~Arne
>
> > On Nov 14, 9:40 am, Simon Willison <[EMAIL PROTECTED]> wrote:
>
> > > Is there a way for an OpenSocial gadget to detect which container
> > > (Ning, Orkut etc) it is currently running in?
>
> > > Thanks,
>
> > > Simon
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenSocial API Definition" 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/opensocial-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to