2 messages in com.googlegroups.google-gadgets-apiCan't retrieve content from calendar....
FromSent OnAttachments
che...@gmail.com13 Apr 2006 08:47 
che...@gmail.com13 Apr 2006 09:29 
Subject:Can't retrieve content from calendar.google.com?
From:che...@gmail.com (che@gmail.com)
Date:04/13/2006 08:47:55 AM
List:com.googlegroups.google-gadgets-api

I tried the following. The alert works fine with www.google.com and other URLs that I tested with but I can't seem to retrieve content from calendar.google.com (change URL below to calendar.google.com to check).

I don't understand why since if I got to calendar.google.com it displays fine.

<Content type="html"> <![CDATA[ <div id=output__MODULE_ID__></div> <script> function displayCalendar__MODULE_ID__(myfunc) { _IG_FetchContent('http://calendar.google.com/', function (responseText) {

alert(responseText); myfunc(responseText.substr(0,400)); }); }

function getCalendar__MODULE_ID__() { var divobj = _gel('output__' + __MODULE_ID__); displayCalendar__MODULE_ID__(function(s) { divobj.innerHTML = s; }); }

getCalendar__MODULE_ID__(); </script> ]]> </Content>