Nope, JSONP should work fine. Sounds like you are making good progress. On Wed, Mar 25, 2009 at 12:30 AM, Hafiz A Haq <[email protected]> wrote:
> Thank you, i have actually implemented the metadata api invocation > using dynamic script tags which do the get request and recieve the > result in the provided callback method in the url parameter. Once i > get the response i am doing constructing the gadget using the JSON > response object i recieved. > > Is there any caveat in using dynamic script tag to invoke metadata api? > > Thanks and Regards, > Hafiz > > 2009/3/24 Louis Ryan <[email protected]>: > > You should be doing this from the server hosting your SNS and not > > in-browser. > > > > On Mon, Mar 23, 2009 at 11:03 PM, Hafiz A Haq <[email protected]> > wrote: > > > >> I am deploying my shindig server to a different app server, and i am > >> running my SNS in another domain. I have configured rpc_relay.html > >> into my SNS by placing it in a suburl for the SNS domain. > >> > >> Can you please let me know how can i invoke the xhr.open("POST", > >> "../../metadata", true); from javascript code in my SNS domain to work > >> with the deployed gadget server at the diffferent domain? > >> > >> > >> Thanks and Regards, > >> Hafiz > >> > >> > >> 2009/3/14 Hafiz A Haq <[email protected]>: > >> > Thank you again Louis for the response, > >> > > >> > I was wondering if i should run my gadget server at a different > >> > subdomain rather than a suburl from my SNS, cuz i have seen it as the > >> > default practice with many container sites(egs:- igoogle/gmodules). I > >> > remember reading one of the threads mentioning that it is a best > >> > practice, though i can't recollect exactly why. > >> > > >> > One more question - can i get a compreshensive list of options > >> > available for setiing up the request object to do a post request with > >> > the metadata service(RpcServlet). ? > >> > > >> > Please advise . > >> > > >> > Thanks and Regards, > >> > Hafiz > >> > -- > >> > He who asks is a fool for five minutes, but he who does not ask > >> > remains a fool forever. > >> > > >> > >> > >> > >> -- > >> He who asks is a fool for five minutes, but he who does not ask > >> remains a fool forever. > >> > > > > > > -- > He who asks is a fool for five minutes, but he who does not ask > remains a fool forever. >

