Screaming Liquid Tiger
Women Empowerment in Zanzibar
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.
- Automatically gets media files from same folder, no fiddling with a GUI
- Automatically sets file modification date
- Automatically sets per-file MIME type
- Automatically sets file size
- Generates valid RSS and Atom feeds for maximum compatibility
- Automatically extracts tag information when
Installation and Usage
index.phpfile to a folder on a web server running PHP 5.4 or higher.
- Edit the configuration variables if needed and upload media files of any kind.
- Optionally make sure
mediainfois installed. Set the
trueand 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 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
How to Create Your Own Audiobooks
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.
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.
Here's what an audiobook may look like while playing in Overcast. Nice, isn't it?
- Added support for optional custom media directory. (by @farktronix)
- Added ETag support. (by @farktronix)
- Makes sure that dotfiles are not included in the feed generation. Sometimes extended attributes are saved in dotfiles with the same suffix. Those files are now excluded by default and no longer clutter up the feed.
- Refactoring of feed generation code.
- Moved config file to template.
- Enabled external config file
mediainfo, as image support in podcasting clients is generally limited and
mediainfogenerates faster and more reliable output.
- Added optional tag and artwork reading capability through
- Added optional feed image output
- Added optional duration tag
- Added .gitignore
- Proper array alignment
- Added FLAC extension and MIME type
- Exchanged fileinfo for manual array of MIME values
- Normalized PHP echo tags
- Implemented XML header fix for PHP 7
- Some restructuring and clean up.
- More code comments.
- Initial release.