MP3::Podcast 0.05 review
DownloadMP3::Podcast is a Perl extension for podcasting directories full of MP3 files. SYNOPSIS use MP3::Podcast; my $dirbase = sh
|
|
MP3::Podcast is a Perl extension for podcasting directories full of MP3 files.
SYNOPSIS
use MP3::Podcast;
my $dirbase = shift;
my $urlbase = shift;
my $dir = shift;
my $pod = MP3::Podcast->new($dirbase,$urlbase);
my $rss = $pod->podcast( $dir, "This is a test" );
print $rss->as_string;
ABSTRACT
Create podcast easily from directories, using MP3's own info.
Creates a podcast, basically a RSS feed for a directory full of MP3 files. Takes information from the MP3 files themselves; it needs MP3 files with their ID tags completed.
The bundle includes two programs in the C< examples > dir: C< gen-podcast.pl >, used this way:
bash% ./gen-podcast.pl < dirbase > < urlbase > < dir to scan > that generates a static RSS from a dir, and C< podcast.cgi >, to use from a webserver. To use it, copy podcast.cgi and podcast.conf to a cgi-serviceable dir; edit podcast.conf to your liking and copy it to the directory you want. Copy also .podcast to the directory you want served as a podcast (this is done mainly to avoid dir-creeping), and also drop edit also the path to fetch the MP3::Podcast lib, and call it with C< http://my.host.com/cgi-bin/podcast.cgi/< dirname >.rss
The name of the directory to scan will be taken from the URI.
Requirements:
Perl
MP3::Podcast 0.05 search tags