BBC Newspod in flash with updating 2007.57
This is merely a test, I wrote a script to find the most recent BBC Newspod and redirect to it. I’ve combined that with the the mp3 player I’ve been using for some clips and we “should” have a player that grabs the newest BBC Newspod each day, it’s here for testing.
The code for this is provided below, it is provided as is with no documentation. At the moment I’m trying to track down the original site for the player I’m using so that i can check the conditions of the license. There are 3 files in the archive (podcast.php, index.php and embed.php)
- podcast.php is the library that finds the most recent podcast entry and sets it to $fileURL.
- index.php redirects the user to the file’s location.
- embed.php generates a player and the location it is not particularly interesting.
UPDATE: the newer version of the flash player that I’m using is actually supporting RSS as a playlist type, so that makes this script not incredibly useful anymore. Although upon further testing I discovered it does not support linking to external RSS feeds so it seems my PHP may still be of some use, plus honestly the new version is quite ugly.