Hi David, Have a look at http://code.google.com/apis/gadgets/docs/remote-content.html for getting remote content and processing it.
Rob Russell Google Developer Relations On Mon, Nov 15, 2010 at 8:45 PM, David H. Cook <[email protected]>wrote: > I'm trying to convert an 'Ajax' webpage into a gadget. In the > original webpage, > I used javascript code referencing 'DOM' object (I think that's what > it's called). > > e.g. code like: > request = new XMLHttpRequest(); > ... > request.open("GET", "myDBdata.xml", true); > ... > var xmlData = xmlDoc.documentElement.getElementsByTagName("db- > record"); > for (var i = 0; i < xmlData.length; i++) { > var title = > xmlData[i].getAttribute("title"); > (etc) > > > Are these same APIs available to a 'gadget'? > If not, what are the equiv APIs to use? > > Ideally, if someone could point me to an 'example' gadget or two that > use an external XML file as > a data-source, I'd be on my way. > > TIA... > > -- > 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]<google-gadgets-api%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/Google-Gadgets-API?hl=en. > > -- 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.
