# Multiple RSS Feeds

**URL:** <https://zola.discourse.group/t/multiple-rss-feeds/92>\
**Category:** Support\
**Created:** [April 19, 2019, 10:36pm UTC](https://zola.discourse.group/t/multiple-rss-feeds/92 "2019-04-19T22:36:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![pstn](https://avatars.discourse-cdn.com/v4/letter/p/9de0a6/32.png) [@pstn](https://zola.discourse.group/u/pstn)\
**Post date:** [April 19, 2019, 10:36pm UTC](https://zola.discourse.group/t/multiple-rss-feeds/92/1 "2019-04-19T22:36:26Z")

</div>

I want to create a podcast site with zola and I’d like to have two feeds: One for mp3 files and one for opus files.  
The docs imply that you can only have one feed per site called rss.xml and I’ve found no discussions about this. I’ve tried adding xml template files with different names but they get ignored.

Is there a way with current zola, to get multiple feeds or would that be a feature request?

---

<div class="post-metadata">

**Author:** ![keats](https://avatars.discourse-cdn.com/v4/letter/k/34f0e0/32.png) [@keats](https://zola.discourse.group/u/keats)\
**Post date:** [April 20, 2019, 10:44am UTC](https://zola.discourse.group/t/multiple-rss-feeds/92/2 "2019-04-20T10:44:30Z")

</div>

You can have a per taxonomy feed so you can create a dummy taxonomy with 2 terms: `mp3` and `opus` and you will get two RSS feeds (in addition to the site one if you want to have it)

---

<div class="post-metadata">

**Author:** ![pstn](https://avatars.discourse-cdn.com/v4/letter/p/9de0a6/32.png) [@pstn](https://zola.discourse.group/u/pstn)\
**Post date:** [April 20, 2019, 1:26pm UTC](https://zola.discourse.group/t/multiple-rss-feeds/92/3 "2019-04-20T13:26:35Z")

</div>

Ah, that makes sense. I added a taxonomy called `feed` (for a nice looking URL) and added the default `single.html` and `list.html` templates from the docs. Then I tagged each post with `opus` and `mp3` and now two feeds, `/feed/mp3/rss.xml` and `/feed/opus/rss.xml` are generated.  
However, I haven’t figured out how the name spacing seems to work. I’ve tried a few methods but haven’t gotten the `rss.xml` template to render the tag name (needed for the file endings of the audio files) into the feeds. How can I do that?

---

<div class="post-metadata">

**Author:** ![pstn](https://avatars.discourse-cdn.com/v4/letter/p/9de0a6/32.png) [@pstn](https://zola.discourse.group/u/pstn)\
**Post date:** [April 20, 2019, 2:32pm UTC](https://zola.discourse.group/t/multiple-rss-feeds/92/4 "2019-04-20T14:32:46Z")

</div>

I did a workaround:

```auto
{%- if feed_url is containing("mp3") -%}
{%- set audioFilePostfix = ".mp3" -%}
{%- set audioFileType = "audio/mpeg" -%}
{%- else -%}
{%- set audioFilePostfix = ".opus" -%}
{%- set audioFileType = "audio/ogg; codecs=opus" -%}
{%- endif -%}

```

but I suspect that there is a better solution for this 😃

---

<div class="post-metadata">

**Author:** ![paulcmal](https://yyz2.discourse-cdn.com/free1/user_avatar/zola.discourse.group/paulcmal/32/32_2.png) [@paulcmal](https://zola.discourse.group/u/paulcmal)\
**Post date:** [May 22, 2019, 4:08pm UTC](https://zola.discourse.group/t/multiple-rss-feeds/92/5 "2019-05-22T16:08:55Z")

</div>

> [@](#):
>
> haven’t gotten the `rss.xml` template to render the tag name

If i understood correctly, you would like to have taxonomy names inside the RSS title? That’s currently [unsupported](https://github.com/getzola/zola/blob/541df53a4d692c924c42006c149a4cb979ea39eb/components/templates/src/builtins/rss.xml#L3) but would not take a lot of work to make work i believe.
