Hi David,
You may not be accessing the attributes of the EventEntry object
correctly. The following snippet demonstrates how to access the title,
content and startTime of an event feed:
foreach ($eventFeed as $event) {
echo 'Title: ' . $event->title->text. '<br />';
echo 'Content: ' . $event->content->text. '<br />';
foreach ($event->when as $when) {
echo 'Start time: ' . $when->startTime. '<br />';
}
}
Also, make sure you are using the latest version of the GData PHP
client library. For more details on how to access event information
with PHP client library, please go to:
http://code.google.com/apis/calendar/developers_guide_php.html#RetrievingEvents
Austin
On Sep 24, 7:59 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> I am using the gcal zend library in Symfony using the symfony-zend
> bridge plugin.
>
> I am successfully getting the feed of a calendar and setting the sort
> order, etc.
>
> I am having trouble rendering (or ideally, parsing to import the data
> into local db). $event->title->text works, but none of the other
> documented method seem to work.
>
> I would rather not have to use dom if at all
>
> Any pointers?
>
> 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
-~----------~----~----~----~------~----~------~--~---