> works.
> It is very easy to parse the calendars.ics exported by zidestore with
> python and fetch appointments...but...what about tasks? :(
The tasks are vTODOs.
They look like.
BEGIN:VCALENDAR
PRODID:-//OpenGroupware.org//NONSGML ZideStore 1.3//EN
VERSION:2.0
METHOD:PUBLISH
BEGIN:VTODO
UID: skyrix://morrisonOGo/173270
SEQUENCE: 8
SUMMARY: Create BIE Import Route
DUE;VALUE=DATE: 20040414
PERCENT-COMPLETE: 100
STATUS: COMPLETED
CLASS: PUBLIC
PRIORITY: 2
END:VTODO
END:VCALENDAR
So scan to the second BEGIN to pickup the card type, and accumulate
attributes till you hit an end. Unfortunately this isn't really all that
much information, so you probably want to do an XML-RPC get of task id
173270. But the vTODO gives you enough to show the Title, id, start date,
etc... Then if the user is interested in that task you can pull the rest
via XML-RPC.
--
OpenGroupware.org XML-RPC
xmlrpc@xxxxxxxxxxxxxxxxx
http://mail.opengroupware.org/mailman/listinfo/xmlrpc
|