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:



./klivrss.pl http://kliv.com/pages/1215474.php /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

Seamless Local Control: Integrating WeatherFlow with Home Assistant Across VLANs

I've been pleased with my Home Assistant setup for some time now. One of my main focuses has been achieving local control. This ensures...