Yesterday I wrote a simple ics2sql script using PHP iCalendar’s ical_parser. It was pretty easy to integrate, although it’s not really modularized that well. It’d be great if the iCalendar parser was an object. I’m sure there’s one out there, but well, free is free. It works.

Notes
---
* need to init (cal_filelist[0]) after loading includes, or init in includes
* $master_arry output is really straightforward, arrays contained are days