I had/have actually been through that documentation .. :). As it stands
I have a user [userA] that has access to a shared calendar owned by
userB -- I haven't found/seen any documentation about how userA can
programatically (using something like "
$gdataCal = new Zend_Gdata_Calendar($client);
$newEvent = $gdataCal->newEventEntry();
" ) that will let me update userB's calendar. I'm sure I'm
missing something fairly straight forward. I have managed to set up a
query to retrieve events with this snippet of code "
$query = $gdataCal->newEventQuery();
$query->setUser($calendarFeed);
" to retrieve a shared calendar list.
Thanks again for your note back,
best regards,
Tim
Trevor Johns wrote:
> On Fri, Feb 27, 2009 at 6:19 AM, Red Rabbit <tim@redrabbit.ca> wrote:
>
>> I've had a good google, and I apologize if this is either the wrong forum, or
>> if the question has been asked and answered, but I haven't had any luck
>> finding it.
>>
>> I have an application that is talking to google calendars using the php api,
>> i've been able to successfully pull information from calendars shared with
>> my user, but I've not found any information on how to write to a specific
>> calendar -- there are some gentle references to being able to do it, so I
>> know it's probably something stupid that I've missed.
>>
>> Any suggestions would be greatly appreciated - either where to go looking or
>> even more helpful would be a snippet of code.
>>
>> TIA,
>>
>> Tim.
>>
>
> Hi Tim,
> We have a developer's guide on code.google.com that you might find
> useful. Specifically, you'll want to see the section on creating
> events, here:
>
> http://code.google.com/apis/calendar/docs/1.0/developers_guide_php.html#CreatingEvents
>
> Let me know if that helps, or if you need more information.
>
>
没有评论:
发表评论