I want to update the URL used each time _IG_FetchXmlContent fetches
data to append the timestamp to the querystring. This can be achieved
in prototype.js by doing something like the following:

var url = 'http://www.example.com/rss.xml';

ajax = new Ajax.Request(url, {
        method:"get",
        asynchronous:true,
        frequency:60.0,
        onSuccess:doSomething
});

var doSomething = function(response) {
        //handle response here

        //update url for next call
        ajax.options.parameters = "timestamp=" + encodeURIComponent((new Date
()).getTime());
}

Is this possible with _IG_FetchXmlContent?

--~--~---------~--~----~------------~-------~--~----~
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