Podcast Creation Tutorial (in PHP)

I am looking for some tutorials on setting up a podcast in PHP. I have audio files and title / description data, I just want to make sure that I get the XML part correctly so that it works well in iTunes and other regular players. (I don’t subscribe to any podcasts, and I don’t know what is popular.)

The header / description data is stored in the mysql database and more files will be added every month.

I created a basic XML feed that works fine in my web browsers, but I was hoping someone could point me to some instructions on how to properly configure the RSS feed, which is likely to work in any program .

I'm already having problems with iTunes, which refuses to download audio files simply because the file stream_audio.phpin the URL does not end with .mp3. I'm not sure if iTunes is annoying, or if I have violated the official / unofficial guidelines for XML.

+3
source share
3 answers

Just note that if you want the file to look like mp3, you could do a simple Apache rewrite that internally overwrites the request, so convert http://blah.com/audio43657.mp3 (where the number is some kind of identifier flow):

RewriteRule audio([\d]+)\.mp3 streamingaudio.php?id=$1
+2
source
+1

Source: https://habr.com/ru/post/1709749/


All Articles