February 18, 2004

Upcoming.org to iCal

[Update: I've added code to detect end times (Upcoming style, not Book of Revelations style) that appear in extended feeds.]

I'm a big fan of what Andy Baio is doing over at Upcoming.org, one of my inspirations for SongBuddy. It's a collaborative calendar that lets you see all your friends' event alongside yours. The only downside is that it doesn't didn't do is work with iCal. I've done my part in fixing that by coding up an Upcoming.org to ICS converter. It's a Perl script that will download the RSS file from Upcoming and turn it into a (semi) valid ICS file for use in Apple's iCal, Mozilla's Calendar or PHP iCalendar.

So download it, play with it, fix it and spread it around. You'll need some Unix skills to get this going, but hopefully someone will come along and turn this into a CGI web service. BTW, the only but I know of is that event end times aren't in the RSS feed, ergo they aren't displayed properly in the ICS file. Instead, I have events end at 11:59:59 PM. BTW, if you want to take a look at my Upcoming ICS, which is generated from my Upcoming account.

Posted by george at February 18, 2004 09:27 PM
Comments and TrackBacks

TrackBack URL: http://mt.gnerd.net/mt-gnerd-tb.cgi/225

Badass! I'll get this into the site ASAP.

Posted by: Andy Baio at February 18, 2004 10:04 PM

Here is a quick and dirty version. I'll clean it up a little more later tonight, and make a file download.

Posted by: Jessica Breckenridge at February 18, 2004 10:25 PM
Upcoming.org iCal file maker
Excerpt: I didn't see anyone at the meetup, so I sipped vanill chai, after Paz tipped my first one over, soaking me and two gentleman reading magazines. Anyways, on to the point. I came home early, noticed George's neat script and...
Read the rest...
Trackback from: In August and Everything after... at February 18, 2004 10:43 PM
Nightly Link Dump
Excerpt: SoundBuddy Beta Upcoming.org to iCal LifeBalance XML Parser Photographing the Islands of Hawaii New Philips Lens Works Like Human Eye Making Tracks on Mars project: Sniff Alert NASA: Tumbleweed Rule-based Intrusion Detection System New Apollo Imax Film...
Read the rest...
Trackback from: nf0's Life at March 5, 2004 12:47 AM
http://www.evanz.org/distractions/archives/000441.html
Excerpt: Sweet! An upcoming.org to iCal converter.
Read the rest...
Trackback from: Quixotic: Distractions at March 8, 2004 05:12 PM
Collaborative Calendar
Excerpt: We now have a collaborative calendar for all our events. It pulls events from Upcoming nightly, so if you want to add something just post it there and it will appear on our calendar the next day. If you aren't...
Read the rest...
Trackback from: ArborBlogs at April 5, 2004 10:01 PM

Sorry, comments are closed.