Dircaster

DirCaster v0.4: Automatic podcast RSS feed maker

Drop this script in a directory and it will generate an RSS feed suitable for iPodder, etc based off the MP3 files in that directory. To ‘cast a new file, simply upload it to the directory containing this script.

Feed information is based on id3 tags, requires PHP4 or better.

Note: Avoid spaces in your MP3 filenames to avoid ugly filenames coming out of iPodder.

Instructions
1. Place this file on a server with supports PHP4 or greater.
2. Place MP3 files to feed in the same directory, add new files at will
3. Point iPodder to the URL of this file.
Ex. http://www.mysite.com/podcast/dircaster.php
4. Set the varibles at the top of the file to match your setup if you wish

Get the current version of the script here.

I am sure there are far better ways to do what this script does, comments and suggestions are welcome.

As always, use at your own risk. This software should be considered experimental.

Upgrading:
To upgrade from a prior version simply copy the new dircaster.php script over your old one and edit the configuration varibles at the top to taste.

Changelog:
v0.1: Initial release
v0.2:
- Fixed handling of uppercase file extensions
- Multiple periods in filenames no longer break things
v0.3:
- Fixed code that determines root URL if register_globals is turned off, thanks Arne.
v0.4:
- Added handling to allow filenames with HTML special symbols to work
v0.4e:
- iTunes support, etc by Warren Stone

Download Links:
Last version released by Ryan - Dircaster 0.4
Upgraded with iTunes support, etc by Warren Stone - Dircaster 0.4e