From 3de4476a3f2b7c0db7bbcb8e7142308abdcb7ab1 Mon Sep 17 00:00:00 2001 From: Roan Horning Date: Sat, 8 Oct 2022 08:52:47 -0400 Subject: [PATCH] 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_ + + + +