MODcast & MODcastAdmin 0.2.6 by Scotty Delicious
http://www.scottydelicious.com
Made on a Mac™ (OS X 10.4.6) using TextMate [ http:\\:www.macromates.com ]
based on dircaster 0.4 by Ryan King (
http://www.shadydentist.com)
ID3v2.x tag support added by Warren Stone <fasttr [at] gmail [dot] com> and
utilizing getid3 library by James Heinrich <info [at] getid3 [dot] org>,
http://www.getid3.org. iTunes specific tag support by Warren Stone
The MODcast snippet generates an iTunes XML podcast feed from a folder of audio or video files.
The MODcastAdmin snippet asks the user to create a new feed and then presents the user with an easy to manage form requesting configuration data, then writes that data to a configuration file with the same name as the feed. Example, a user creates a new feed called "mytalkshow". MODcastAdmin takes all their preferences and stuffs them into a file called mytalkshow.inc.php. To call the snippet, one would simply type [[MODcast? &feed=`mytalkshow`]]. All their prefs would be loaded automatically by the snippet.
NEW! You can also use MODcastAdmin to edit and manage existing config files. Simply select the name of the "feed".inc.php file you with to edit from the drop down list, press "Load Config File", "Continue", and there are all your preferences, already in the form, just begging to be edited or embellished!
So, again, you must call the admin snippet uncached [!MODcastAdmin!], and the page where you call MODcast from must have the template set to "blank", and its content type set to text/xml. all you need to do is specify the feed!
I have this snippet creating a podcast of all my music.
the music page is:
http://www.scottydelicious.com/music.htmland the podcast XML is:
http://www.scottydelicious.com/modcast.xml
CHANGE LOG:
See MODcast_README.txt
TO DO:
Add file upload management (sill only 50% done)
Change if/else statements to switch/case (100% done)
Add more descriptive/helpful comments (forever ending, never done)
Clean up the code (Got a damn good start today)
KNOWN BUGS:
#1) the subcategory gets reset everytime a saved config file is reloaded. !RESOLVED!
#2) Check boxes don't work. !RESOLVED!
#3) the subcategory doesn't work at all in KHTML/WebKit based browsers (safari, shiira, konqueror...).
later
-sD-
scotty Delicious