[chandler-users] managing caldav's calendar events using zanshin
Grant Baillie
grant at osafoundation.org
Wed Aug 27 09:57:00 PDT 2008
Hi, Simone
There are two ways to do what you want in the CalDAV protocol:
1. Retrieve all the events in the calendar (basically, do a PROPFIND
to discover the resources of the calendar collection and issue a GET
for each one), and perform the filtering/recurrence expansion yourself.
2. Issue a calendar-query REPORT to get all events in the data range.
It sounds as if you're thinking of #2: Currently, zanshin doesn't
offer an API for it; you have to generate the XML request body
yourself and issue a REPORT. If you need more pointers on how to do
that, let me know, I think I have some code lying around that does it.
--Grant
On 20 Aug, 2008, at 22:50, Simone wrote:
> Hi,
>
> I'm writing some python code to manage a calendar collections, using
> vobject to generate events and zanshin to put/destroy .ics on my
> CalDAV server.
> What I have to understand yet is how to ask and retrieve, using the
> zanshin library,
> all the events of a specific period of time.
> Could somebody give me a hint please? A link with some example would
> be great!
>
> TIA,
> Simone
> _______________________________________________
> chandler-users mailing list
> chandler-users at osafoundation.org
> http://lists.osafoundation.org/mailman/listinfo/chandler-users
More information about the chandler-users
mailing list