Thank you very much. That's exactly what I was searching for.
I applied it to the listing and the modification functions but I'm not sure
how to do it for the case of a new event.
My source code for the insert looks like this:
try {
$event = $gcal->newEventEntry();
$event->title = $gcal->newTitle($title);
$when = $gcal->newWhen();
$when->startTime = $start;
$when->endTime = $end;
$event->when = array($when);
$event->content = $gcal->newContent($description);
$event->where = array($gcal->newWhere($location));
$gcal->insertEvent($event);
} catch (Zend_Gdata_App_Exception $e) {
echo "Error: " . $e->getResponse();
}
How can I set the specific calendar? (respectively the user)
Thank you!
2009/10/6 byqsri <[email protected]>
>
> Many thanks for this information.
> I have another question.
> With $eventFeeds = $service->getCalendarEventFeed($query); I do search
> only on one calendar (the default). How can i set $query to do search
> on all my calendars?
> Many Thanks
> Marco
>
> On 5 Ott, 22:40, Garrick Linn <[email protected]> wrote:
> > So I figured out that you can replace 'default' with the string
> > located after "/feeds/" in the XML link under each calendar's
> > settings.
> >
> > e.g:
> >
> > $query->setUser('long list of numbers and letters
> > %40group.calendar.google.com');
> >
> > On Oct 5, 10:11 am, Garrick Linn <[email protected]> wrote:
> >
> > > I have been searching for a way to do this as well. Is there anyone
> > > out there who can clue us in?
> >
> > > On Oct 3, 4:02 pm, Bjoern <[email protected]> wrote:
> >
> > > > Hello,
> >
> > > > I just started to use the API with PHP (Zend Framework).
> >
> > > > I'm wondering if it's possible to select a certain calendar from my
> > > > list of calendars.
> > > > By now, the PHP script is only handling my default calendar.
> >
> > > > It would be great if I could access the other ones as well.
> >
> > > > How can I specify the calender to be used in the code?
> >
> > > > Thank you!
> >
> >
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---