Skip Navigation

RSS to iCal

I have been looking for a way to convert the BBC weather feed for my area to iCal, so I can subscribe to it. It's date-based, after all, and RSS never seemed to me to be an appropriate format for subscribing to weather information. iCal always struck me as being "better" for that purpose. Of course, the BBC only have an RSS feed for local weather. What I needed was a converter.

After some hunting, I discovered that Dean Sanvitale had written a PHP script to convert RSS feeds to iCal format. However, his site (codent.com) appears to be long since abandoned and the script is no longer available from there. Fortunately, the Wayback Machine did have a copy. Dean originally released the script under a Creative Commons License which, fortunately, allows me to make the script available to download from this site (note: the script is available from this site under the same license).

So, if you're looking for a way to convert an RSS feed to iCal, this PHP script will do the job. Thanks Dean!

Source: rss2ical.txt

7 comments

ANTHONY
United States #1: November 30, 2006
... how does one initially install this into the iCal program; really need to use this app.... where do i start??

Anthony,
anthonynash_@hotmail.com
You're welcome!

Glad someone found a use for that old code.
Cool script - does it work for anyone? My iCal app always say data is not vaild...
 New Zealand #4: May 31, 2007
Typical that I come across this now, after I write my own script! Mine uses MagpieRSS to read the feed. http://www.blogtender.com/2007/05/31/display-an-rss-feed-in-ical/
Cool script, but I don“t understand how to install it...
Just copy and paste the code into a file with a .php extension on a PHP-enabled web server and view it in a browser.

Fantastic work and code! Thanks!
wj
Singapore #7: November 25, 2008
Great program! I like it very much.
It would be wonderful if unicode supported!
I could not use it for Chinese, Japanese or French RSS.

Post Your Comment

· Comments with keywords instead of a name have their URLs removed.
· Your email address will not be displayed or shared.

Live Comment Preview

 United States #8: 1 minute ago