# Multiple RSS feed for single section

**URL:** <https://discourse.gohugo.io/t/multiple-rss-feed-for-single-section/21341>\
**Category:** support\
**Created:** [October 19, 2019, 9:34pm UTC](https://discourse.gohugo.io/t/multiple-rss-feed-for-single-section/21341 "2019-10-19T21:34:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![robert-jelenic](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/robert-jelenic/32/9793_2.png) [@robert-jelenic](https://discourse.gohugo.io/u/robert-jelenic)\
**Post date:** [October 19, 2019, 9:34pm UTC](https://discourse.gohugo.io/t/multiple-rss-feed-for-single-section/21341/1 "2019-10-19T21:34:51Z")

</div>

Hey all?  
I’d like to create multiple RSS feeds for a podcast because I’d like to customize each one for a series of distribution platforms (eg Spotify, iTunes, Stitcher, etc…) Some platforms have unique fields and we’d like to use some fields in different ways in different platforms.

Is there any way to create multiple customized xml files for the same section? I’m not seeing it but I may be missing something. Thanks!

---

<div class="post-metadata">

**Author:** ![maiki](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/maiki/32/16384_2.png) [@maiki](https://discourse.gohugo.io/u/maiki)\
**Post date:** [October 19, 2019, 11:09pm UTC](https://discourse.gohugo.io/t/multiple-rss-feed-for-single-section/21341/2 "2019-10-19T23:09:57Z")

</div>

> [@robert-jelenic](#):
>
> Is there any way to create multiple customized xml files for the same section?

Via [Custom output formats | Hugo](https://gohugo.io/templates/output-formats/).

---

<div class="post-metadata">

**Author:** ![ju52](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/ju52/32/6749_2.png) [@ju52](https://discourse.gohugo.io/u/ju52)\
**Post date:** [October 20, 2019, 7:10am UTC](https://discourse.gohugo.io/t/multiple-rss-feed-for-single-section/21341/3 "2019-10-20T07:10:46Z")

</div>

### example for an custom RSS feed

```
[outputFormats.FEED]
    MediaType = "application/rss+xml"
    BaseName = "feed"
    IsHTML = false
    IsPlainText = true
    noUgly = true
    Rel = "alternate"

[outputs]
    home = ["HTML", "ATOM", "JSON", "FEED"]

```

template name is **home.feed.rss**

I’ve done this, bc. my own RSS feed collided with the buildin.

---

<div class="post-metadata">

**Author:** ![robert-jelenic](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/robert-jelenic/32/9793_2.png) [@robert-jelenic](https://discourse.gohugo.io/u/robert-jelenic)\
**Post date:** [October 22, 2019, 11:30am UTC](https://discourse.gohugo.io/t/multiple-rss-feed-for-single-section/21341/4 "2019-10-22T11:30:41Z")

</div>

Hi @maiki, @ju52, are the solutions you’re mentioning above applicable if I want lots of the same type for a single page. eg:

For a single page at `https://www.example.com`, I want:

- `https://www.example.com/index-1.xml` (type: application/rss+xml)
- `https://www.example.com/index-2.xml` (type: application/rss+xml)
- `https://www.example.com/index-3.xml` (type: application/rss+xml)

They’d all be fed from the **same list items** on `https://www.example.com` but I’d create individual xml files, each of which I’ve configured with different parameters.

Thanks! 😀

---

<div class="post-metadata">

**Author:** ![antoinentl](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/antoinentl/32/12914_2.png) [@antoinentl](https://discourse.gohugo.io/u/antoinentl)\
**Post date:** [July 1, 2022, 5:51pm UTC](https://discourse.gohugo.io/t/multiple-rss-feed-for-single-section/21341/5 "2022-07-01T17:51:56Z")

</div>

Few years later I comment this topic because I have exactly the same question and I found a way for producing multiple RSS feeds with custom names/URLs:

## Use case

I want to produce a custom RSS for a big part of my posts (range in different sections), his name is `atom.xml`.  
I also want to produce another custom RSS for a particular section (`now` section), his name is `now.xml`.

The result I want:

```auto
├── now
│ └── ...
├── now.xml
└── atom.xml

```

## Outputs

I have to describe which outputs I want:

```auto
[outputs]
  home = ["HTML", "atom"]
  section = ["HTML", "now"]

```

## Output Formats

And these are the custom output formats:

```auto
[outputFormats]
  [outputFormats.atom]
    mediatype = "application/rss"
    rel = "atom"
    baseName = "atom"
  [outputFormats.now]
    mediatype = "application/rss"
    rel = "now"
    baseName = "now"

```

## Templates

I need two templates:

- for `atom.xml`: `/layouts/_default/index.atom.xml`
- for `now.xml`: '/layouts/section/now.now.xml`

It works for me, I hope this can help someone!
