I have some random episodes of podcasts laying around waiting to get listened to from podcasts I don’t (yet) care to subscribe to. Maybe they had an interesting guest or topic, or came recommended. These downloads will lay around on my computer for months because they’re not in my podcasting app, so they’re not really in my listening queue.
So I hacked up a PHP script to grab those mp3s and serve a valid (if spartan) podcast feed.
You can find the code on GitHub. It’s designed to be dropped into place rather than robustly deployed. Then I download mp3s to that folder and they’re delivered as my own personally-curated podcast feed.
Thanks to Shubham Jain for his PHP-ID3 library so the script can read some metadata into the feed.