On Mon, 2004-12-13 at 17:50 -0500, Joe Shaw wrote: > On Mon, 2004-12-13 at 23:18 +0100, Philip Van Hoof wrote: > > Second I implemented a simple implementation for the XML-format in > > "xml-format.c". Currently the format is like this: > > You might be interested in the ical RDF work here: > > http://www.w3.org/2002/12/cal/ > > It's similar to the standard RFC 2445 syntax and yours here so I don't > think it'd be significantly more work, and would probably be preferable > to creating a new syntax. I've converted it to use the RDF-format. Note that there's still a lot open questions in the code which I haven't figured out yet (take a look at the comments). So I'd not yet commit this (or perhaps only to HEAD so others can help complete this work). So the file rdf-format.c is a first tryout to implement an export to the RDF-format. I removed the file xml-format.c if you compare the tarfile with my first one. Like/After Michael Zucchi responded, I don't think supporting an own-invented XML-format is a good idea at all. At the time of creating the xml-format.c I was honestly not aware of the existence of this RDF-format. This is how I created the tarfile and the patch.diff which is included in the tarfile. Pick the files you need :-). [freax lort save-calendar]$ cvs diff -u > patch.diff cvs server: Diffing . [freax lort save-calendar]$ tar cvf rdfformat.tar * ChangeLog csv-format.c CVS/ CVS/Entries CVS/Repository CVS/Root format-handler.h ical-format.c Makefile Makefile.am Makefile.in org-gnome-save-calendar.eplug org-gnome-save-calendar.eplug.in patch.diff rdf-format.c save-calendar.c [freax lort save-calendar]$ -- 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:
rdfformat.tar
Description: Unix tar archive