Simple script to automatically generate valid RSS and Atom feeds from a list of media files in the same folder.
Deploy this app to Linode with a free $100 credit!
Send a little karma down the way and support women empowerment in Zanzibar by helping to fund the local production of reusable female hygiene products. A very dear friend of mine runs the project. They were already able to buy hundreds of educational books. Sometimes, it takes so little to make a huge impact. If you'd like to thank me or support this work, donate. Additionally, any current and future sponsoring of my work via GitHub or other channels will flow one hundred percent to the NGO.
Simple script to automatically generate valid RSS and Atom feeds from a list of media files in the same folder. Written in PHP to enable use even on the cheapest shared host.
I wrote this because I wanted an easy way to use Overcast to listen to my audiobooks. However, I don't recommend it anymore since the author decided to make it free but to include annoying ads that you can only get rid of by a subscription of $10 per year. In my view this is an unreasonable price to ask for such an app. I'm using Pocket Casts now. You should check it out. Podcast players are ideal applications for this, contrary to generic media players. It is also trivial to be adapted to other uses and file types.
mediainfo
is installedindex.php
file to a folder on a web server running PHP 5.4 or
higher.mediainfo
is installed. Set the $mediainfo_check
variable to true
and follow the instructions displayed. If no instructions
show but your feed appears, it already works.For personal podcasting use, those should obviously be audio files but you can use it with any kind of file.
For easier upgrades, you can now use a config.php
file (included) to set your
options. Just rename config.php.default
to config.php
and make your
adjustments. The script will autodetect if it is present. If not, it will fall
back to its included defaults.
If you have a rather large collection of files, you may want to set up a cronjob running the script, redirecting its output to an XML file like so:
*/15 * * * * curl http://example.com/folder/index.php > /usr/local/www/podcast.xml
There are several approaches but the one I like best is converting CDs or audio
files to a 'Bookmarkable MP4 File', most commonly spotted by its extension
.m4b
. Here's a quick list of software you can use.
For Mac OS X, take a look at Audiobook Builder. It's a fantastic and inexpensive piece of software. It's what I use.
For Windows, I hear good things about Chapter and Verse. You'll need both the application and iTunes for it to work.
For Linux, there are two older projects worth mentioning:
m4baker and
zak. If those won't do, you could always
script the hell out of ffmpeg
, mp4v2
and MP4tools
.
In case you feel particularly generous today, you can buy me a coffee. That would really make my day. Kindness of strangers and all that. If you can't or won't, no hard feelings.
Bitcoin: 1HXi42h9Uk5LmDrq1rVv8ykaFoeARTXw9P
Here's what an audiobook may look like while playing in Overcast. Nice, isn't it?
config.php
.ffmpeg
for mediainfo
, as image support in podcasting clients is
generally limited and mediainfo
generates faster and more reliable output.$mediainfo_check
variable to false
as defaultffmpeg
Please login to review this project.
No reviews for this project yet.
Comments (0)
Please login to join the discussion on this project.