From: David E. <tw...@us...> - 2005-04-26 13:15:29
|
On Tue, 2005-04-26 at 15:02 +0200, Alan Schmitt wrote: > Le 26 avr. 05, =E0 09:33, David Eriksson a =E9crit : >=20 > > I also think you should use the XML format. For contacts it is=20 > > basically > > the vCard properties but in XML, but using the XML format will make y= ou > > independent of vCard parsing and such. > > > > The best documentation is the xml-vcard.c source code ... :-) >=20 > I am very interested by XML based formats for PIM tools. Is this code=20 > 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). 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...=20 If someone has more time to spare than I, feel free to submit a patch! --=20 Regards, -\- David Eriksson -/- SynCE - http://synce.sourceforge.net ScummVM - http://scummvm.sourceforge.net Desquirr - http://desquirr.sourceforge.net |