[evolution-patches] Re: Support for XML in the save-calendar plugin



Great, I forgot to attach the stuff.  :-)

This time it's attached .. please check it out.

On Mon, 2004-12-13 at 23:18 +0100, Philip Van Hoof wrote:
> Hi there,
> 
> This work adds support for an XML-format to the save-calendar plugin.
> Can somebody please revise this and if okay approve it?
> 
> I've added a tarball here because there's lot of changes and also a few
> new files. I can, however, cvs add the files and commit them for you
> once revised and approved. The username which I would use is "pvanhoof"
> on cvs.gnome.org.
> 
> First I moved all format-specific code to different files. You now have
> a ical-format.c, a csv-format.c (and a xml-format.c). They contain the
> implementation for doing an export of calendar data to the specified
> format. Note that I've posted about this rather drastic change before.
> Checkout "Some non-small changes for the save-calendar plugin" for more
> information.
> 
> Second I implemented a simple implementation for the XML-format in
> "xml-format.c". Currently the format is like this:
> 
> <items>
>   <item UID="00000000A000000B-0000-000-0-0 localhost localdomain">
>         <SUMMARY>Summary</SUMMARY>
>         <DESCRIPTION>
>           <item num="0">Description</item>
>         </DESCRIPTION>
>         <CREATED>00/00/0000 00:00:00</CREATED>
>         <DTSTART>00/00/0000 00:00:00</DTSTART>
>         <DTEND>00/00/0000 00:00:00</DTEND>
>         <ATTENDEES>
>           <item num="0">MAILTO:somebody somedomain com</item>
>           <item num="1">MAILTO:somebody somedomain com</item>
>           <item num="2">MAILTO:somebody somedomain com</item>
>         </ATTENDEES>
>         <LOCATION>Uptime</LOCATION>
>         <MODIFIED>00/00/0000 00:00:00</MODIFIED>
>   </item>
> </items>
> 
> Using the original plugin together with my other patches, which have
> been approved and committed in HEAD, you can now choose between three
> export-formats: Comma Separated Value format, iCal format and XML
> format.
> 
> 
-- 
Philip Van Hoof, Software Developer @ Cronos
home: me at freax dot org
gnome: pvanhoof at gnome dot org
work: philip dot vanhoof at cronos dot be
junk: philip dot vanhoof at gmail dot com
http://www.freax.be, http://www.freax.eu.org

Attachment: xmlformat.tar
Description: Unix tar archive



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]