I am doing it like this: function makeCachedRequest(url, callback, params, refreshInterval) { var ts = new Date().getTime(); var sep = "?"; if (refreshInterval && refreshInterval > 0) { ts = Math.floor(ts / (refreshInterval * 1000)); } if (url.indexOf("?") > -1) { sep = "&"; } url = [ url, sep, "nocache=", ts ].join(""); gadgets.io.makeRequest(url, callback, params); }
function parseJSON(obj) { var jsonString = obj.text; } function init() { var url = "http://mysite.com/returnJSON.php"; var params = ""; var refreshInterval = 0; function makeCachedRequest(url, parseJSON, params, refreshInterval); } Can someone help me here? I am new to orkut apps :( --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Orkut Developer Forum" group. To post to this group, send email to opensocial-orkut@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/opensocial-orkut?hl=en -~----------~----~----~----~------~----~------~--~---