DIY podcasting PHP script for sharing MP3s

Dsc05179-1-1If you want to podcast your mp3s but you don't want to figure out blogging, RSS, MIME enclosures, just use this single (free) PHP script to turn your folder of mp3s into a bonafide podcast. Thanks Canton! Link.

Recent Entries

Comments

Oldest comments listed first.

Posted by: Comic_Strip_Blogger on June 30, 2005 at 1:42 PM

cool, at last some software hack, pt!


Posted by: joshd1313 on June 30, 2005 at 7:41 PM

For what I was looking for this code seemed to be a better fit. Instead of having to build a text file for each MP3, it will automatically create a description from the id3 tag(i.e. Title, Artist, Album). It is also free and very well commented.
Link


Posted by: vcao on May 4, 2009 at 7:23 PM

Wow!

Copy and paste the script below into a text editor. Configure all the required variables (e.g. file path and URL to your mp3s.)

Save it on your webserver, somewhere nearby your mp3s. Name it something like 'music-feed.php'. The URL to this php file will be the URL listeners will use to subscribe to your feed. It's common practice to add a little orange XML button like that links to your feed from some standard web page that talks about it. Like this one, which links to my own music feed:



For each mp3 that you want to include in your podcast, create a correspondingly named text file that contains a little bit of information about the mp3. (Just a line or two. Basic HTML is okay.) This marks your mp3 as "ready for distribution." http://www.vcao.net

So, if you have a mp3 called 'loud-song.mp3' then, in the same directory as the mp3, make a text file called 'loud-song.txt'.

That's all. Enjoy!


Leave a comment


Subscribe to MAKE!Subscribe to MAKE Magazine!

Subscribe today, save 42% and get web access to MAKE free. MAKE Digital Edition is available only to subscribers.

$34.95 / 1 year
(4 Quarterly Issues)

Subscribe now


Void your warranty, violate a user agreement, fry a circuit, blow a fuse, poke an eye out. Make: The risk-takers, the doers, the makers of things... Welcome to Make: Online!


CRAFT Maker Shed Maker Faire MAKE television
MAKE: en EspaƱol MAKE: Japan


Check out all of the episodes of Make: television

Make: Science Room

Connect with MAKE

Be a MAKE fan on Facebook MAKE on Facebook
Visit our Facebook page and become a fan of MAKE!
MAKE on Twitter MAKE on Twitter
Follow our MAKE tweets!
MAKE Flickr Pool MAKE on Flickr
Join our MAKE Flickr Pool!
    make_tips on Twitter

    MAKE's RSS feed is here.
    Add MAKE to iGoogle - GoogleGoogle.
    How to add MAKE to your RSS reader - Real simple.
    Add MAKE on FriendFeed




    Maker SHED

    Advertise here with FM.

    Why advertise on MAKE?
    Read what folks are saying about us!

    Click here to advertise on MAKE!



    Subscribe to MAKE Magazine!

    Make: Online authors!

    Gareth BranwynGareth Branwyn
    Senior Editor


    Phillip TorronePhillip Torrone
    Senior Editor
    | AIM | Twitter


    Becky SternBecky Stern
    Associate Editor
    | AIM | Twitter


    Marc de VinckMarc de Vinck
    Contributing Writer
    | AIM | Twitter


    John ParkJohn Park
    Contributing Writer
    | Twitter


    Sean RaganSean Ragan
    Contributing Writer
    | Twitter


    Matt MetsMatt Mets
    Contributing Writer
    | AIM | Twitter


    Dale DoughertyDale Dougherty
    Editor & Publisher
    | Twitter


    Shawn ConnallyShawn Connally
    Managing Editor
    | Twitter


    Goli MohammadiGoli Mohammadi
    Associate Managing Editor

    Kip KayKip Kay
    Weekend Projects
    | AIM | Twitter


    Collin CunninghamCollin Cunningham
    Contributing Writer
    | AIM | Twitter

    Adam FlahertyAdam Flaherty
    Contributing Writer
    | AIM | Twitter



    More contributors: Mark Frauenfelder (Editor-in-Chief, MAKE magazine), Kipp Bradford (Technical Consultant/Writer), Chris Connors (Education), Diana Eng (Guest Author), Peter Horvath (Intern), Brian Jepson (O'Reilly Media), Robert Bruce Thompson (Science Room)

    Suggest a Site!

    Current Podcast

    itunesdl.gif Weekend Project: Making Char Cloth Learn how to make a cheap and effective fire starter made from an old t-shirt. To download The Char Cloth video click here and subscribe in iTunes. See Char Cloth in action with the Fire Piston from William Gurstelle.... More...

    Get the Make: Online sent via email
    Enter your email to receive Make: Online each day:



    MAKE Fascination video series brought to you by Dow

    Make: Education

    Important please read


    Subscribe to MAKE Magazine!

    Recent Posts from the Craft: Blog