I have left Harvard as of July 1, 2008 to take a position at NYU. This website has been cached and left static. Feel free to browse my new website, aka "What the heck is a Clinical Associate Professor?"

09.14.05

XML Schema for iCal?

Posted in Computing at 12:25 pm by leingang

I have a bunch of events that I want to collect in a text file and export in a number of formats. That sounds like a job for XML, right? Except it appears the only well-used file format for calendering is iCal, and it’s a non-SGML format. You could almost manually edit iCal files, except for the fact that commas, semicolons, and newlines have to be escaped. I found an XML translation of the iCal specification with DTD, but the web site doesn’t seem to have seen much activity since 2001. The RDF folks have an RDF Calendar Workspace dedicated to round-tripping iCal and RDF, but that too seems to have fallen off around 2004.

I should probably put off this task until a later time, and not worry about unifying the events in a single file. Sigh…

Comments are closed.