Hi Johns
Thx to ur test :)
I had tried this code on IE7 and got same result.
I'm going to test on Firefox now.
I think I did something wrong in HTML.
Can I see ur HTML code?
this is my html code. my JS code above is in GCalendar.js file.
thank you.
==========================================
<html>
<head>
<title>Google Calendar API Test</title>
<script type="text/javascript" src="http://www.google.com/jsapi"></
script>
<script type="text/javascript" language="javascript"
src="GCalendar.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
</head>
<body>
</body>
</html>
==========================================
On 9월10일, 오전6시23분, "Trevor Johns" <[EMAIL PROTECTED]> wrote:
> On Tue, Sep 9, 2008 at 12:09 AM, ducks <[EMAIL PROTECTED]> wrote:
>
> > Hi everyone.
> > I want to get events from public calendar without authentication.
>
> > I do set my calendar public explicitly.
> > and I can get a feed from IE6 directly use the feedUrl to IE6 Address
> > space.
>
> > but I went to error routine and got error msg in my program.
> > "Request via script load timed out. Possible causes: feed URL is
> > incorrect; feed requires authentication"
>
> > my prog is below.
>
> > what's the problem?
> > I can get feed in IE6 but get error in JS.
>
> > plz help. thx.
> > ============================================================
> > // this code <script type="text/javascript" src="http://www.google.com/
> > jsapi"></script>
> > // is in html doc
> > // and below is js code.
>
> > google.load("gdata", "1");
> > google.setOnLoadCallback(gcOnLoad);
>
> > var myCalendar;
> > var feedUrl = "http://www.google.com/calendar/feeds/[EMAIL PROTECTED]/
> > public/full";
>
> > function gcOnLoad() {
> > // alert("gcOnLoad()");
>
> > // google.gdata.client.init(handleInitError);
> > setupMyService();
>
> > myCalendar.getEventsFeed(feedUrl, handleMyFeed, handleError);
>
> > alert("End");
> > }
>
> > function setupMyService() {
> > alert("setupMyservice()");
>
> > myCalendar = new
> > google.gdata.calendar.CalendarService('MyFirstGCalendar');
> > }
>
> > function handleInitError(stdErrObj) {
> > alert("Browser support error");
> > }
>
> > function handleError(e) {
> > alert("There was an error!");
> > alert(e.cause ? e.cause.statusText : e.message);
> > }
>
> > function handleMyFeed(myResultsFeedRoot) {
> > alert("This feed's title is: " +
> > myResultsFeedRoot.feed.getTitle().getText());
> > }
>
> Hi ducks,
> I was able to run your code without incident on both Firefox and on IE 6.
>
> Have you tried running this on any other systems?
>
> --
> Trevor Johns- 따온 텍스트 숨기기 -
>
> - 따온 텍스트 보기 -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Calendar Data API" 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-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---