1
0
forked from HPR/hpr_generator

Refactor main feed to need fewer templates

Add configuration properties to minimize the number of templates
needed to generate the different audio format feeds.
This commit is contained in:
2022-08-17 22:32:32 -04:00
parent 17ef26642a
commit 6d4f5f28c9
4 changed files with 9 additions and 14 deletions

View File

@@ -134,15 +134,20 @@ content: content-sitemap.tpl.html
[hpr_ogg]
root_template: rss.tpl.xml
content: rss-hpr_ogg.tpl.xml
content: rss-hpr.tpl.xml
filename: hpr_ogg.rss
media_file_extension: ogg
[hpr_mp3]
root_template: rss.tpl.xml
content: rss-hpr_mp3.tpl.xml
content: rss-hpr.tpl.xml
filename: hpr_mp3.rss
media_file_extension: mp3
audio_mime_type: mpeg
[hpr_spx]
root_template: rss.tpl.xml
content: rss-hpr_spx.tpl.xml
content: rss-hpr.tpl.xml
filename: hpr_spx.rss
media_file_extension: spx