tried this:
<script>
// Create the calendar service object
var calendarService = new
google.gdata.calendar.CalendarService('TimeoutCal');
// The default "private/full" feed is used to update
existing event from the
// primary calendar of the authenticated user
var feedUri = 'http://www.google.com/calendar/feeds/
default/private/full';
// Create a CalendarEventQuery, and specify that this
query is
// applied toward the "private/full" feed
var query = new
google.gdata.calendar.CalendarEventQuery(feedUri);
// This callback method that will be called when
getEventsFeed() returns feed data
var callback = function(result) {
// Obtain the array of matched CalendarEventEntry
var entries = result.feed.entry;
var event = entries[1];
var GoogleAktionsId = new google.gdata.ExtendedProperty();
GoogleAktionsId.setName('aktionsid');
GoogleAktionsId.setValue('2243');
event.addExtendedProperty(GoogleAktionsId);
event.updateEntry(function(result)
{document.getElementById("information").innerHTML +=
(event.getTitle().getText());},handleError);}
var event = entries[2];
var GoogleAktionsId = new google.gdata.ExtendedProperty();
GoogleAktionsId.setName('aktionsid');
GoogleAktionsId.setValue('2244');
event.addExtendedProperty(GoogleAktionsId);
event.updateEntry(function(result)
{document.getElementById("information").innerHTML +=
(event.getTitle().getText());},handleError);}
}
var handleError = function(error) {PRINT(error);}
calendarService.getEventsFeed(feedUri, callback,
handleError);}
</script>
didn't work
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---