Turn audiobooks into podcasts.
Do you have a folder of audio-files? Do you want to listen to it in your favorite podcast-app?
- Web-hosting space (enough to fit your audio-files)
- PHP running on it
-
Copy the file
bookcast.xml.php
into your folder of audio-files. -
Add an optional
coverart.jpg/jpeg/png
file -
Add an optional
metadata
ormetadata.ini
file with , for example, this contents: (all optional)language = en title = The Audio-book description = A description of the audio-book. copyright = 2020, The Publisher link = https://example.com/book/
-
Upload the folder to your web-host.
-
Add the URL (
your-webhost.example.com/this-bookcast/bookcast.xml.php
) to your podcast-app. -
Start downloading & listening!
You can tweak the following options: (in the top of bookcast.xml.php
):
META_DATA_FILE_NAME
If you want to use a different metadata file.COVER_ART_FILE_NAME
If you want to include different image-files/formats.AUDIO_FILE_TYPES
If you want to use different audio-files.
The syntax used is from glob()
, see an explanation in the PHP manual.
- The output is a valid feed, according to W3C Feed Validation Service.
- The feed works (good enough) in Overcast.
- It might also work in your favorite podcast-app, who knows.
This thing is just an idea and very 'work-in-progress'. It was created to scratch my own itch; Maybe it also works for you.
Suggestions and ideas are always welcome.
Create an issue
or take a look at all the 'things I already thought of but didn't get to yet'.
Or take a look at another piece of php software: dir2cast
It probably has the feature you're looking for.