Created
January 26, 2009 15:23
-
-
Save criscokid/52839 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment