Hi Eirik, You can use gadgets.io.makeRequest (http://code.google.com/p/ opensocial-resources/wiki/GadgetsMakeRequest) as basically an AJAX-for- Gadgets. Note that Google will cache the results of this call, but the link detailing the API gives an example of how to keep Google from caching if you need fresh data for every request.
Good luck! --Justin On Dec 27, 7:09 am, Eirik Brandtzæg <[email protected]> wrote: > Hello > > Does the wave api (or gadget api) support accessing external (remote) sites? > I want to do AJAX calls to remote site. > > I know I can do this with JSONP, and just make a simple proxy on my own > server, > so the gadget would use JSONP and call my server, while my server would do > the actual AJAX in plain > sockets and reply that. > But then I would have to rely on my server in both uptime and load, which I > don't want to. > > I use GWT, so I stumbled over > this:http://code.google.com/apis/ajaxfeeds/whichcan at least read feeds, > although I don't want feeds, it seems to be able to do remote calls if you > have a key. > But you must sign the key to a URL, and the gadgets I deploy in wave would > get a seemingly random sub domain. > So this is a no go both because of key and that I want plain AJAX, not rss. > > Any suggestions? > > Thanks > > -- > Eirik Brandtzæg -- You received this message because you are subscribed to the Google Groups "Google Wave API" 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-wave-api?hl=en.
