Hello,

I think that there is an error on the PHP developer guide here:

http://code.google.com/apis/calendar/developers_guide_php.html#CreatingRecurring

The code written is:
====================================================
$gdataCal = new Zend_Gdata_Calendar($client);
$newEntry = $service->newEventEntry();

$recurrence = "DTSTART;VALUE=DATE:20070501\r\n" .
        "DTEND;VALUE=DATE:20070502\r\n" .
        "RRULE:FREQ=WEEKLY;BYDAY=Tu;UNTIL=20070904\r\n";
$event->recurrence = $service->newRecurrence($recurrence);
====================================================

I think it should be modified to something like the following:
====================================================
$service = new Zend_Gdata_Calendar($client);
$event = $service->newEventEntry();

$recurrence = "DTSTART;VALUE=DATE:20070501\r\n" .
        "DTEND;VALUE=DATE:20070502\r\n" .
        "RRULE:FREQ=WEEKLY;BYDAY=Tu;UNTIL=20070904\r\n";
$event->recurrence = $service->newRecurrence($recurrence);
====================================================

Please correct me if I am wrong.

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

Reply via email to