Hi! This Wiki page has several gadgets.io.makeRequest() samples that are fully compatible with version 0.7 of the OpenSocial API specification:
http://code.google.com/p/opensocial-resources/wiki/GadgetsMakeRequest It looks like you need to use the response's data property. Check to see if this works: alert(response.data.children.length); Cheers! - Jason On Feb 7, 4:11 am, ":nikhil_gupte" <[EMAIL PROTECTED]> wrote: > That is for 0.6. I need to use 0.7 i.e. with gadgets.io.makeRequest > > On Feb 7, 4:18 pm, "Tiago Takamoto" <[EMAIL PROTECTED]> wrote: > > > Hi, > > > I don't know the difference between gadgets.io.makeRequest and > > gadgets,makeRequest but > > the example > > here:http://code.google.com/apis/opensocial/docs/0.6/devguide.html#XML > > works fine to me. > > > Hope that I help. > > > Takamoto > > > On Feb 7, 2008 6:28 AM, :nikhil_gupte <[EMAIL PROTECTED]> wrote: > > > > Ive' tried: > > > gadgets.io.makeRequest(url, function(response) > > > {doSomething(response);}, {'method' : gadgets.io.MethodType.GET, > > > 'contentType' : gadgets.io.ContentType.DOM}); > > > > but It doesn't seem to return XML since response.firstChild returns > > > undefined. > > > response.data/text/errors is available, but then how does one parse > > > xml using them? I don't think response.data is treated as a DOM. > > > -- > > Tiago Takamoto --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Orkut 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/opensocial-orkut?hl=en -~----------~----~----~----~------~----~------~--~---

