what I want to achive is to produce not just one rss feed for all funny / bad episodes but an rss feed for each file type.
Currently I use the taxonomie for categroies so I get two rss feeds one for funny one for bad episodes. Now I want to create a rss feed for each of the audioformats.
Is that possible?
what I currently get is the following output
Yep, just add audioformats as a taxonomy, and you are basically done (providing your theme and/or project uses a default RSS template for taxonomy terms…).
If you have a repo available, I can clone it and show you what I mean. Please see Requesting Help, and considering making a small project to share with the content you are talking about (include your front matter).
I am not certain what you mean, but all the taxonomies are “flat” in Hugo. To generate all those extra feeds you’ll have to do some extra work to associate terms to each other and then the templates for them all. Whereas if you include the following in your config, your audioformats should create the feeds you are looking for (presuming you are using YAML, please see configuring taxonomies):
taxonomies:
audioformat: audioformats
I suggest sharing your repo, so we can see what you’ve got going.
I have two problems:
first is that only the taxonomie term rss feesd are renderd but no categories. Why is that?
I would expect folders within the categories folder but there arent.
In addtion I don’t know how i can create in each of those subfolders (which are missing) e.g categroies/bad 4 rss feeds (one for each file type) thanks for your help
@sukramlitt it is easier for me to think about a problem if I understand the goal. Why do you want the feeds to be that specific? It doesn’t seem like it’s useful for a human, and there are better, easier ways to make it consumable for computers. What’s your use case?
Also, media attachements in RSS are a whole other thing, and I am pretty sure you can include all the files in a single node. So… I just don’t see how this example with audioformats actually works for users.
The goal is quite simple.
There is a pod cast. Pod casts can be subscribed via the rss feed. But most players can’t choose between available formats. The user can (if he wants to / and we have those in our case) subscribe to diffrent feeds so he gets the format he wants to consume. So I need one rss feed for each file type
imagine one user who wants to download low res files <20mb
and others which want to download vorbis >100mb
Are your categories “categories” of kinds of shows (funny or bad), or are they the names of shows?
I’d make a single podcast a section, and each episode would be a page bundle so I could put all the formats together with a show’s page. Then for that section I’d create custom outputs, one for each audio format.
No taxonomies at all!
Then, if I had a different show, I’d make a new section for it. My content would look like: