In the code sample given at:
http://code.google.com/apis/gadgets/docs/remote-content.html#Cache
The parameter passed to gadgets.io.makeRequest() should be 'callback'
not 'response'
function makeCachedRequest(url, __callback__, params,
refreshInterval) {
...
gadgets.io.makeRequest(url, __response__, params);
I'm also a bit skeptical about this line
ts = Math.floor(ts / (refreshInterval * 1000));
Why is the current time stamp divided by the refreshInterval here?
--
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.