From e4463dc5ba8907bd2cea738fbd51c26870a89905 Mon Sep 17 00:00:00 2001 From: Roan Horning Date: Sat, 8 Oct 2022 08:44:47 -0400 Subject: [PATCH 1/3] Zero pad the day's date --- templates/shared-utils.tpl.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/shared-utils.tpl.html b/templates/shared-utils.tpl.html index 3eaecae..3caf07c 100644 --- a/templates/shared-utils.tpl.html +++ b/templates/shared-utils.tpl.html @@ -36,7 +36,7 @@ - + From 4984ac3383110c3838f7cafb160e8aa56ef03173 Mon Sep 17 00:00:00 2001 From: Roan Horning Date: Sat, 8 Oct 2022 08:48:42 -0400 Subject: [PATCH 2/3] Add MACRO rss_show_series --- templates/shared-episode-summary.tpl.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/templates/shared-episode-summary.tpl.html b/templates/shared-episode-summary.tpl.html index fda30b1..7ac1b84 100644 --- a/templates/shared-episode-summary.tpl.html +++ b/templates/shared-episode-summary.tpl.html @@ -1,5 +1,9 @@ + +from the series . + + @@ -13,7 +17,7 @@ -Listen in + Listen in ogg, spx, From 3de4476a3f2b7c0db7bbcb8e7142308abdcb7ab1 Mon Sep 17 00:00:00 2001 From: Roan Horning Date: Sat, 8 Oct 2022 08:52:47 -0400 Subject: [PATCH 3/3] Add comments feed template --- site.cfg | 4 +++ templates/content-episode.tpl.html | 3 +- templates/rss-comments.tpl.xml | 58 ++++++++++++++++++++++++++++++ 3 files changed, 64 insertions(+), 1 deletion(-) create mode 100644 templates/rss-comments.tpl.xml diff --git a/site.cfg b/site.cfg index 9ad7cc4..40242a7 100644 --- a/site.cfg +++ b/site.cfg @@ -175,3 +175,7 @@ root_template: rss.tpl.xml content: rss-hpr_total.tpl.xml filename: hpr_total_spx.rss media_file_extension: spx + +[comments] +root_template: rss-comments.tpl.xml +filename: comments.rss diff --git a/templates/content-episode.tpl.html b/templates/content-episode.tpl.html index 0ad89a1..741ce47 100644 --- a/templates/content-episode.tpl.html +++ b/templates/content-episode.tpl.html @@ -88,6 +88,7 @@ Subscribe to the comments -
Comment # posted on by
+
Comment # posted on by

diff --git a/templates/rss-comments.tpl.xml b/templates/rss-comments.tpl.xml new file mode 100644 index 0000000..3813b71 --- /dev/null +++ b/templates/rss-comments.tpl.xml @@ -0,0 +1,58 @@ + + + + + + Hacker Public Radio ~ Comment Feed + about.html + Comments Feed: Hacker Public Radio is an podcast that releases shows every weekday Monday through Friday. Our shows are produced by the community (you) and can be on any topic that are of interest to hackers and hobbyists. + en-us + Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) License + feedback.nospam@nospam.hackerpublicradio.org (HPR Feedback) + admin.nospam@nospam.hackerpublicradio.org (HPR Webmaster) + hpr_generator + http://www.rssboard.org/rss-specification + 600 + + images/hpr_feed_small.png + Hacker Public Radio ~ Comment Feed + about.html + The Hacker Public Radio Old Microphone Logo + 164 + 144 + + + + + + + + <!--% item.comment_author_name %--> says: <!--% item.comment_title %--> + feedback.nospam@nospam.hackerpublicradio.org () + eps/hpr/index.html#comments + RE: hpr:: by

+
+]]> + + eps/hpr/index.html#comment_ + + + +