From: Armin B. <arm...@de...> - 2005-04-26 21:46:51
|
David Eriksson wrote: > On Tue, 2005-04-26 at 15:02 +0200, Alan Schmitt wrote: > >>Le 26 avr. 05, à 09:33, David Eriksson a écrit : >> >> >>>I also think you should use the XML format. For contacts it is >>>basically >>>the vCard properties but in XML, but using the XML format will make you >>>independent of vCard parsing and such. >>> >>>The best documentation is the xml-vcard.c source code ... :-) >> >>I am very interested by XML based formats for PIM tools. Is this code >>following some XML-vcard standard? > > > As far as I know, the XML is just meant to properly represent anything > that a "MIME directory" (RFC something) can contain, with named tags for > known properties (RFC this and that for vCard, vEvent, vTodo). > Thats basically right. But it is not supposed to only represent the mime dir related content, but "all" content available (read: the information stored in the xml-contact is the set union of the information available on all other formats). Therefore this format will be somewhat dynamical and will change over time. > I plan to patch xml-vcard.c to use these #defines instead of the > literals for the tag names: > > http://www.2good.nu/blandat/opensync-xml-contact.h > > However, Armin rewrote xml-vcard.c before I comitted the work I had > done, and I havent updated it yet... ups. didnt know about this patch when i made my changes, sorry! Ill try to do the fixes when i find some time. see: http://www.opensync.org/ticket/82 > > If someone has more time to spare than I, feel free to submit a patch! > |