So I'm using Zend Gdata and I located the outputCalendarByDateRange
function that is displayed on googles documentation.

This was all working at one time and now it's not deleting anything.
as you can see from this code I was trying all kinds of different urls
to try and delete the events.

This outputs about 20 events per day each time I run it, but it's not
actually deleting anything, I get the same event urls displaying
everytime.

Also I am working with about 8 different calendars and populating a
lot of events at the moment, but my problem is this one calendar... I
tested this so many times yesterday I'm currently marked as a spammer
and locked out of the google calendars...

Can anybody help?


$arrGetEvents = $gCalendar->outputCalendarByDateRange( $today,
$tomorrow, $CalendarURL );

echo "<ul>";
foreach ( $arrGetEvents as $event ) {
        $event->delete();


        echo "<li>" . $event->title->text .  " <BR>(" . $event->id->text . ")
<BR/>";
        echo $event->getLink('edit')->href;
        echo "<BR><BR>";
        $gCalendar->deleteEvent( $event->id->text );
        //$gCalendar->deleteEvent( $event->getLink('edit')->href );

        echo "</li>";
}
echo "</ul>";

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