HOME > MIRPOD NEWS > HOW to make podcast feed

HOW to make podcast feed


How to make Automatic podcast RSS feed

If you have a web site, perhaps you want to podcast. An easy way to do a podcast file an RSS feed from a mp3 files directory is to use a script in PHP. dirCaster is a php script that allows one to very easily start Podcasting mp3 files from their web host. This allows original content creators to easily provide a feed for Mirpod iPodder, jPodder, etc. Podcasting is the best way to diffuse your creations, it’s more easy than with playlist xml or xspf files.

Open source code based on dircaster 0.4 by Ryan King (http://www.shadydentist.com)

ID3v2.x tag support added by Warren Stone fasttr@gmail.com and utilizing getid3 library by James Heinrich info@getid3.org ( http://www.getid3.org. iTunes specific tag support by Warren Stone)

DirCaster v0.4: Automatic podcast RSS feed maker

Drop the script "dircaster.php" in a directory, say "podcast" , and it will generate an RSS feed suitable for Mirpod, 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, and getid3 library.

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

Instructions

1. Place "dircaster.php" on a server wich supports PHP4 or greater. Put it on a directory, say "podcast"

2. Place MP3 files to feed in the same directory, add new files at will

3. Place the directory "getid3" on your server in a directory getid3

4. So now you have a podcast feed, you can check it with the menu "VALIDATE". Your podcast adress is now :

Ex. http://www.mysite.com/podcast/dircaster.php

5. Set the variables at the top of dircaster.php to match your setup if you wish (option)

Get the current version of the script

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: Inital 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 w

Download scripts

_ _ _ _ _








mirPod.com is the best way to tune in to the Web.

Search, discover, enjoy, news, english podcast, radios, webtv, videos. You can find content from the World & USA & UK. Make your own content and share it with your friends.


HOME add podcastADD PODCAST FORUM By Jordi Mir & mirPod since April 2005....
ABOUT US SUPPORT MIRPOD TERMS OF USE BLOG OnlyFamousPeople MIRTWITTER