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

@@ -1,5 +1,5 @@
<!--% PROCESS 'shared-item.tpl.xml' %-->
<!--% PROCESS 'rss-query-hpr.tpl.xml' %-->
<!--% FOREACH episode IN feed_result %-->
<!--% display_item(episode, 'mp3', 'mpeg') %-->
<!--% display_item(episode, media_file_extension, audio_mime_type) %-->
<!--% END %-->

View File

@@ -1,5 +0,0 @@
<!--% PROCESS 'shared-item.tpl.xml' %-->
<!--% PROCESS 'rss-query-hpr.tpl.xml' %-->
<!--% FOREACH episode IN feed_result %-->
<!--% display_item(episode, 'ogg') %-->
<!--% END %-->

View File

@@ -1,5 +0,0 @@
<!--% PROCESS 'shared-item.tpl.xml' %-->
<!--% PROCESS 'rss-query-hpr.tpl.xml' %-->
<!--% FOREACH episode IN feed_result %-->
<!--% display_item(episode, 'spx') %-->
<!--% END %-->