From: Armin B. <arm...@de...> - 2005-11-15 17:46:47
|
Joachim Laier wrote: > Hi Armin, > > On Tuesday 15 November 2005 18:16, Armin Bauer wrote: > >>ok. in which format does the symbian api offer your the entries? Is >>it a symbian specific format? > > > You connect to a calendar server instance through C++ and retrieve the > data as C++ calendar objects. So the attributes are available as > strings, DateTime objects, numbers, etc. With that you're free to > export/externalise to a format whatever you want. > Ah. should work just fine then. This is similar to the palm format then. > >>>As I don't have much experience with XML and neither with >>>vCalendar, which way would you propose? >> >>I think the best way is to look at the already existing converters >>like the internal xml to vcal converters. Another good source might >>be the format conversion of the palm plugin which converts xml to the >>palm internal format. > > > Actually I was wondering, whether you'd suggest to convert to vCalendar > or XML. I guess for the time being it'd be easier for me to get quick > results to export to vCalendar. (I want to include contacts and notes > later on as well, but would concentrate on calendar first) It is basically up to you. both approaches have advantages and disadvantages. if you export to xml, you save one conversion (which should not matter too much on a normal pc), if you export to vcal, you dont have to worry that the internal xml might change at some point. BTW: opensync offers some routines for dealing with vformats easily. you can take a look at formats/vformats-xml/vformat.h. If you need it i can make a library out of it and install the header file as well. Armin > > Bye Jo > |