Subscribe to an RSS feed in iCal

As if RSS feeds weren't becoming pervasive enough, what with every browser and a wealth of apps that support the standard(s), Tom Henderson has put together a slick PHP script for subscribing to a feed in iCal. Not only could this make it easier for users to visualize the activity on a blog or some sort of RSS-friendly event announcement service, but it could also effectively be used as a way to archive the posts (or at least the publication dates) of your favorite blogs and news sites.
For this to work you need to have your own hosting on which you can run PHP (I believe PHP 4 and 5 both work), and you also need to install the open source MagpieRSS (simply by uploading it to your hosting space) to aid in parsing the feeds that Henerson's script downloads. Once you get MagpieRSS uploaded, you might need to edit Henderson's script to call the correct path to MagpieRSS (lines 15 and 16), but once you sort all that out, you can use a simple string like this in iCal's Subscribe dialog (Calendar > Subscribe...):
http://path/to/rss-ics.php?url=http://path/to/feed/
to kindly ask the PHP script to convert the feed you want into a properly formatted ICS file, ripe for iCal's digestion (in the screenshot above, Henderson is subscribed to his own blog, Daring Fireball and the Flickr Blog, all in their own color-coded calendars). Coincidentally, I've been looking for something like this for a while now, and once I tweaked the script to account for the location of MagpieRSS it worked like a charm for most feeds, though it seems to have trouble parsing a few. Ours, for example (tuaw.com/rss.xml) redirects to a Feedburner feed (http://feeds.tuaw.com/weblogsinc/tuaw) which this script didn't seem to grab, but it had no trouble with a clean, direct feed like Daring Fireball's (daringfireball.net/index.xml).
That said, Henderson clearly states in his blog post that this is rough around the edges yet, but he has a bunch of ideas on where to take it and is happy to discuss suggestions. If this script sounds like something useful to you, head over to Tom Henderson's announcement post and chime in on development.
Share
As if RSS feeds weren't becoming pervasive enough, what with every browser and a wealth of apps that support the standard(s), Tom...
Add a Comment
Paul Hess
This is more exciting than just something someone can do if he is willing to cut himself on all the "bleeding edge" issues that start with needing a PHP server. It's exciting because people who don't mind the details can do this, and then they can publish it as an iCal feed that any bloke like me could subscribe to. ;-)
Hot Apps on TUAW
Deals of the Day
more deals- Altec Lansing Octiv Duo iDock for $48 + free shipping
- Used Apple iMac 17" Core 2 Duo 1.83GHz for $430 + $28 s&h
- Lounge Deluxe Stand for iPhone / iPod touch for $28 + $8 s&h
- Brookstone Surround-Sound Earbuds for $14 + $7 s&h
- Refurbished Skullcandy Tokidoki Smokin' Buds Mic'd Headset for $5 + $2 s&h
- Stitchway Backup Battery for iPod / iPhone for $5 + free shipping
Software Updates
more updates- EFI Firmware Update brings Lion Internet Recovery to 2010-model Macs
- OS X Lion 10.7.3 released with Safari 5.1.3, Wi-Fi bug fix
- Aperture updated to 3.2.2, addresses Photo Stream issue
- Apple updates Keynote to address Lion issues
- Google Search app gets new look on iPad
- Apple releases Apple TV Software Update 4.4.3



1 Comment