I've been making a site where I needed to be able to update a fixture list easily, and I couldn't use a database to to hosting restrictions. So I give you the iCal parser! It can read and parse the files generated by iCal and Outlook and process them using PHP..
Basically it is a single function. You feed it the filename of an .ics file as a parameter, it returns an array containing more arrays. Each of these second arrays contains a fair bit of info on the event.
HOWEVER, it does not parse all iCalendar properties, only the ones I needed for this project. You can see which ones this is from the code. Others will simply be ignored.
Feel free to use this file as a base for your own projects, I'd be grateful if you could drop me a line (ludge *at* spymac *dot* com) saying where you use it if you find it helpful. I used RFC2445 as a reference for the file format, so if you need a pointer on this sort of thing, there it is. Also, I'll probably release any updates and improvements as I make them.
Hope somebody can use this.
Ludge.
Aqua-Soft Forums