You probably want gadgets.io.makeRequest
http://wiki.opensocial.org/index.php?title=Gadgets.io_%28v0.8%29#gadgets.io.makeRequest.
Pay special attention to the
gadgets.io.RequestParameters.REFRESH_INTERVAL
parameter.

For a complete explanation read the Working with Remote Content page at
http://code.google.com/apis/gadgets/docs/remote-content.html

Rob Russell
Google Developer Relations


On Tue, May 4, 2010 at 4:40 PM, Marcelo de Moraes Serpa <[email protected]
> wrote:

> Hello list,
>
> I'm trying to fetch a XML document from another domain, and it is
> failing with the following message:
>
> XML Parsing Error: no element found Location: moz-nullprincipal:
> {462f5076-d371-46d3-a2d3-b639ad771f69} Line Number 1, Column 1:
>
> The XML, however, is well formed:
>
> <?xml version="1.0" encoding="UTF-8" ?>
> <apps>
>
> <app>
> <name>Highrise</name>
> <url>https://fullofcaffeine.highrisehq.com/login</url>
> </app>
>
> </apps>
>
> What makes me think that maybe the difference between the domains
> might be the issue.
>
> Any hints?
>
> Thanks,
>
> Marcelo.
>
> --
> 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.

Reply via email to