Hi Raphael,
What you need to do in order to retrieve individual event of a
recurring series in your returned feed is by setting the singleevents
parameter to be "true" is your feed URL. With the PHP client library
this is done by calling setSingleEvents(true). This is a code snippet
that demonstrate retrieving all events as individual event entries
within the month of October -
$query = $gdataCal->newEventQuery();
$query->setUser('default');
$query->setVisibility('private');
$query->setProjection('full');
$query->setSingleEvents(true);
$query->setOrderBy('starttime');
$query->setSortOrder('a');
$query->setStartMin('2007-10-01');
$query->setStartMax('2007-11-01');
$eventFeed = $gdataCal->getCalendarEventFeed($query);
foreach ($eventFeed as $event) {
$title = $event->title->text;
echo $title . '<br>';
}
Hope it helps,
Austin
On Nov 1, 7:34 pm, Raffi <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> How do I ignore recurrence when I retrieve events using the Zend GData
> framework?
>
> Let me explain: I can retrieve a calendar (using
> getCalendarEventFeed), and the framework will hand me an array of
> events. In this array, recurring events appear to be bundled together.
> The effect is that my events are not easily accessible in
> chronological order. I could write code to make them all line up
> properly, and perhaps this would not be too difficult; but this seems
> such a basic task that I'm wondering if someone else has done this
> already, and is willing to share code, or if the framework provides
> this functionality itself.
>
> Many thanks for your assistance.
>
> Raphael
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---