public
Last active

  • Download Gist
gistfile1.js
JavaScript
1 2 3 4 5 6 7
function fetchInfo(){
//Notice the Math.random(), since Google uses the URL as the key for the cache
//modifying the URL every time bypasses the cache. Remember that this will put extra
//stress on your server.
var url = "http://mysite.com/gadget/someinfo.xml?" + Math.random();
_IG_FetchXmlContent(url, setupInfo, {refreshInterval: 60});
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.