# Help generating rss.xml for Podcast

**URL:** <https://discourse.gohugo.io/t/help-generating-rss-xml-for-podcast/18516>\
**Category:** support\
**Created:** [May 5, 2019, 10:12pm UTC](https://discourse.gohugo.io/t/help-generating-rss-xml-for-podcast/18516 "2019-05-05T22:12:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tehnerd](https://avatars.discourse-cdn.com/v4/letter/t/d78d45/32.png) [@tehnerd](https://discourse.gohugo.io/u/tehnerd)\
**Post date:** [May 5, 2019, 10:12pm UTC](https://discourse.gohugo.io/t/help-generating-rss-xml-for-podcast/18516/1 "2019-05-05T22:12:42Z")

</div>

Can someone help me with the rss feed generation?  
My site code is here (this is a theme I am building so feel free to grab the code).

> **[pantsignal/dontbemepodcast.com](https://github.com/pantsignal/dontbemepodcast.com)**
>
> Contribute to pantsignal/dontbemepodcast.com development by creating an account on GitHub.

  
I have created a dontbemepodcast.rss file that I copied from  

> <https://github.com/funkydan2/alpha-church/blob/master/layouts/sermons/sermons.rss.xml>

  
(thanks to funkydan2)

I don’t understand how to get it from the rss file to a fully complete xml file. What is the trigger that generates the xml file?

There are probably erroris in that rss file but I cannot learn and debug it yet as I don’t know how to make the .xml file.

Any help would be great as I’m stumped now.

I have uploaded the public folder to my server  
[https://dontbemepodcast.com/](https://dontbemepodcast.com/)

---

<div class="post-metadata">

**Author:** ![funkydan2](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/funkydan2/32/5636_2.png) [@funkydan2](https://discourse.gohugo.io/u/funkydan2)\
**Post date:** [May 5, 2019, 10:50pm UTC](https://discourse.gohugo.io/t/help-generating-rss-xml-for-podcast/18516/2 "2019-05-05T22:50:55Z")

</div>

A couple of things:

- Don’t put the `dontbemepodcast.rss` file in your `static` folder. Anything in that folder doesn’t get processed by Hugo - it just gets copies, as is, into the public folder. (It’s the right place to put images, files etc., but not things you want processed by hugo).
- I think you want to put the rss template into `themes/dontbeme/layouts` folder.
- You also need to give the file an appropriate name so Hugo knows what to do with it. Have a look [in the docs](https://gohugo.io/templates/rss/#rss-template-lookup-order) for ideas. But you probably want to name it `index.xml` (because on your site, the podcast feed is the only RSS feed you want to produce).

---

<div class="post-metadata">

**Author:** ![tehnerd](https://avatars.discourse-cdn.com/v4/letter/t/d78d45/32.png) [@tehnerd](https://discourse.gohugo.io/u/tehnerd)\
**Post date:** [May 6, 2019, 2:01am UTC](https://discourse.gohugo.io/t/help-generating-rss-xml-for-podcast/18516/3 "2019-05-06T02:01:40Z")

</div>

Thanks man, I now have a fully working RSS feed.  
Makes sense about the static folder, I totally wasn’t concentrating when I did that.
