Right now I'm trying to build an application, you can use to add
yourseld (you email) to the attendee-list of an event. I'm using the
zend-framework.

This is what I have so far:

[code]

try {
$event = $gcal->getCalendarEventEntry('http://www.google.com/calendar/
feeds/default/private/full/' . $_POST['id']);
$event->title = $gcal->newTitle($title);
$when = $gcal->newWhen();
$when->startTime = $start;
$when->endTime = $end;
$event->when = array($when);

$who = $gcal->newWho();
$who->email="[email protected]";

$event->who=array($who);

$event->save();

[/code]

This code updates the attendee-list, but deletes the existing entries.
What can I do to make this work? Thanks in advance!

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to