Ryan,
I tried to reply to the last Post but it didn't take, I have a new one
for you.
Using: API 1.0.0 RC2, PHP 5
//**************************************************
$gdataCal = new Zend_Gdata_Calendar($client);
$query = $gdataCal->newEventQuery();
$query->setUser('[EMAIL PROTECTED]');
// or $query->setUser('default');
$query->setVisibility('private');
$query->setProjection('full');
$query->setStartMin("{$startDate}T{$startTime}:00.000{$tzOffset}:00");
$query->setStartMax("{$endDate}T{$endTime}:00.000{$tzOffset}:00");
$eventFeed = $gdataCal->getCalendarEventFeed($query);
foreach ($eventFeed as $event) {
echo "\t<li>" . $event->title->text . "\n";
echo "\t<li>" . $event->id->text . "\n";
deleteEntryByUrl($client, $event->id->text);
echo "\t\t<ul>\n";
foreach ($event->when as $when) {
echo "\t\t\t<li>Starts: " . $when->startTime . " -- Ends: " .
$when->endTime . "</li>\n";
}
echo "\t\t</ul>\n";
echo "\t</li>\n";
}
echo "</ul>\n";
//************************************************************
The above code will delete the Events but will also create
automatically a (Test) event by Google Calendar at the 'Default' user,
regardless if events where there to delete or not there to delete
(Test) event is created with Start Date and Time of the Delete
transaction. Why?
Ryan, what do you think is happening is it a bug or what...
Thanks,
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---