Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

RSS feed for Spotify with PHP

I want to make a podcast together with a good friend of mine. I found out that we have to host a RSS feed as well as our sound files to publish our recordings to Spotify. That itself isn't a problem - I'm familiar with web developing (HTML,CSS,JS,PHP).

The core of my issue is that I don't know which HTML/RSS tags Spotify needs in order to crawl my feed. I've never used RSS before.

I found some help here: https://www.patrick-saar.de/artikel/rss-feeds-dynamisch-mit-php-und-mysql-erstellen (German Page)

The general RSS format is something like this:

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>

    <title></title>
    <description></description>
    <language></language>
    <link></link>
    <lastBuildDate></lastBuildDate>

    <item>

    </item>

  </channel>
</rss>

But how do I have to fill those tags for Spotify? Does spotify need all of them? Or do I even need more?

Note / Edit: I know how to insert data from SQL with PHP - Thats not a part of my issue. It's just about the format itself.

like image 452
jam0 Avatar asked Oct 19 '25 15:10

jam0


1 Answers

Check out Spotify’s podcast specification document — that describes what Spotify is expecting to see in your RSS feed.

You might consider using a podcast hosting platform rather than rolling your own RSS feed for your podcast. Here’s a list of hosting services that partner with Spotify to distribute podcasts.

like image 136
Gabriel Roth Avatar answered Oct 21 '25 04:10

Gabriel Roth