- Notifications
You must be signed in to change notification settings - Fork2
Turn audiobooks into podcasts.
License
elwinschmitz/bookcasts
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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
fileAdd an optional
metadata
ormetadata.ini
file with , for example, this contents: (all optional)language = entitle = The Audio-bookdescription = A description of the audio-book.copyright = 2020, The Publisherlink = 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 ofbookcast.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 fromglob()
, see an explanation in thePHP manual.
- The output is a valid feed, according toW3C Feed Validation Service.
- The feed works (good enough) inOvercast.
- 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 issueor 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.