Sunday, April 5, 2009

RSS feeds for KLIV podcasts

I am a fan of KLIV, which is a local radio station in Silicon Valley.  Last year they started offering "podcasts", but didn't have any rss feeds for the shows.  The only way to listen to the shows was to either play the files in a browser or manually download them and add it to your music player. 

I decided to write a perl script that would parse the html of those pages, and generate a rss feed that includes those enclosures.  So far this script works with  most of the podcasts.  I am sure with a little bit of tweaking, the others will work as well.

Here is the script. Here is an example of using it:

./ /tmp/file.rss

I have put up a page that contains links to the rss feeds that I have generated.

 I hope that KLIV adds builtin support for rss, as the feeds will be more up to data, and there would less chance of things breaking when the html changes.

No comments:

Post a Comment

Unlocking Raspberry Pi Potential: Navigating Network Booting Challenges for Enhanced Performance and Reliability

I've set up several Raspberry Pis around our house for various projects, but one recurring challenge is the potential for SD card failur...