One critical feature for GoZuus is to ensure that data is available not just within the site, but also portable in usable formats. One obvious use of this is the group calendar. We’ve built a nice online calendar, but we’re not out to replace Google Calendar or iCal or your iPhone. Cleanly exporting data in iCalendar format lets us feed data into whatever scheduling application our users choose to embrace, so that their GoZuus calendar works where they want it.
There’s plenty of resources online discussing how easy it is to use the Ruby Icalendar library. However, just following those directions didn’t produce quite the results I was looking for when exporting multi-day events. Using the directions from the previous links, Apple’s iCal app displayed every event as ending one day early. And Google Calendar put “(12:00am?)” in front of the titles. Not exactly seamless integration. A quick Google search didn’t turn up anything useful, so hopefully this solution will save someone else some time.
Read more