Re: iCal calendar parser
Re: iCal calendar parser
- Subject: Re: iCal calendar parser
- From: David Remahl <email@hidden>
- Date: Mon, 10 Feb 2003 19:23:05 +0100
Here is a page discussing the vCalendar format:
http://developer.iplanet.com/docs/wpapers/calendar/standard.html
/ Regards, David Remahl
Ian,
First of all, property lists are a (very small) subset of XML, and the
Property List editor was only designed to open those files; not to be
an XML Parser. To answer your question, they are not XML files (but
not just because the Property List editor cannot open them). You can
tell this pretty quickly by opening it in a generic text editor (which
you've obviously already done) and noting the absence of any <> tags.
It looks like it's organized in a proprietary key-value scheme (why
it's not in XML, I don't know), but you should be able to look for
certain keys (as you've specified below, the BEGIN:VEVENT and
END:VEVENT) and extract the data you need. I'd recommend looking for
the "BEGIN:" and "END:" statements and reading the data based on what
follows (as opposed to just looking for "BEGIN:EVENT"). This allows
for more flexible parsing if you need it in the future.
Anyways, that's just my 2 cents =). Hope that helps.
Josh
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.