Thank you very much for such a full answer!
On May 12, 7:02 pm, "Austin (Google)" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> To insert event to a particular calendar, you do not have to change
> the client, you just have to specify a second argument to the
> insertEvent() call to identify the target calendar.
>
> The calendar ID of a calendar can be located as such -
>
> 1) click on the "Settings" on the top right
> 2) choose the "Calendars" tab
> 3) click on the calendar you wish to insert the event to
> 4) go down to the row where it says "Calendar Address", you will see
> the
> calendar ID
>
> Once you have this ID, you can form the URL that identify this
> calendar when performing insertEvent() -
>
> calendar URL looks like this
> -http://www.google.com/calendar/feeds/[CAL_ID]/private/full
>
> replace [CAL_ID] with the calendar ID -
>
> Now you can insert an event to this calendar with something like this
> -
>
> $client->insertEvent(eventEntry, 'http://www.google.com/calendar/feeds/
> [EMAIL PROTECTED]/private/full')
>
> Hope that helps,
> Austin
>
> On May 12, 5:27 pm, Alexander Maximov <[EMAIL PROTECTED]> wrote:
>
> > Hello, everybody.
>
> > I have a few calendars under my Google account. I would like to select
> > 1 particular calendar ("Test1" for example) and insert an event into
> > it.
>
> > I use following code to create GCalendar client:
>
> > $user = '[EMAIL PROTECTED]';
> > $pass = 'myPassword';
> > $service = Zend_Gdata_Calendar::AUTH_SERVICE_NAME; // predefined
> > service name for calendar
> > $client = Zend_Gdata_ClientLogin::getHttpClient($user,$pass,$service);
>
> > How I can modify it for my case?
>
> > Thanks a lot!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google 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-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---