diff --git a/site.cfg b/site.cfg index 54fa421..3f71de9 100644 --- a/site.cfg +++ b/site.cfg @@ -1,10 +1,12 @@ # Configure the Perl DBI driver to allow the templates communicate # with the database. # dbi:: +# For more information on Perl Template Toolkit see: +# http://template-toolkit.org/docs/manual/index.html [DBI] # Configuration settings for SQLite -#database: sqlite -#driver: dbi:SQLite:hpr.db +database: sqlite +driver: dbi:SQLite:hpr.db #user: (not used - leave blank) #password: (not used - leave blank) # Configuration settings for MySQL @@ -25,9 +27,12 @@ output_path: ./public_html [root_template] content: page.tpl.html #baseurl: OPTIONAL [i.e. file://] -baseurl: file:///home/roan/Development/hpr/website/hpr_generator/public_html/ -hub_baseurl: http://hub.hackerpublicradio.com/ +#baseurl: file:///home/roan/Development/hpr/website/hpr_generator/public_html/ +baseurl: https://hackerpublicradio.org/ +hub_baseurl: https://hub.hackerpublicradio.org/ media_baseurl: https://archive.org/download/hpr$eps_id/ +generator_name: The HPR Robot +generator_email: robot.nospam@nospam.hackerpublicradio.org # Configure the navigation menu and the content templates for each page # of the site: @@ -166,43 +171,43 @@ content: content-mumble-howto.tpl.html navigation: navigation-about.tpl.html content: content-comments_viewer.tpl.html -[hpr_ogg] -root_template: rss.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.tpl.xml -filename: hpr_mp3.rss -media_file_extension: mp3 -audio_mime_type: mpeg - -[hpr_spx] -root_template: rss.tpl.xml -content: rss-hpr.tpl.xml -filename: hpr_spx.rss -media_file_extension: spx - -[hpr_total_ogg] -root_template: rss.tpl.xml -content: rss-hpr_total.tpl.xml -filename: hpr_total_ogg.rss -media_file_extension: ogg - -[hpr_total_mp3] -root_template: rss.tpl.xml -content: rss-hpr_total.tpl.xml -filename: hpr_total_mp3.rss -media_file_extension: mp3 -audio_mime_type: mpeg - -[hpr_total_spx] -root_template: rss.tpl.xml -content: rss-hpr_total.tpl.xml -filename: hpr_total_spx.rss -media_file_extension: spx +# [hpr_ogg] +# root_template: rss.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.tpl.xml +# filename: hpr_mp3.rss +# media_file_extension: mp3 +# audio_mime_type: mpeg +# +# [hpr_spx] +# root_template: rss.tpl.xml +# content: rss-hpr.tpl.xml +# filename: hpr_spx.rss +# media_file_extension: spx +# +# [hpr_total_ogg] +# root_template: rss.tpl.xml +# content: rss-hpr_total.tpl.xml +# filename: hpr_total_ogg.rss +# media_file_extension: ogg +# +# [hpr_total_mp3] +# root_template: rss.tpl.xml +# content: rss-hpr_total.tpl.xml +# filename: hpr_total_mp3.rss +# media_file_extension: mp3 +# audio_mime_type: mpeg +# +# [hpr_total_spx] +# 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 diff --git a/templates/content-episode.tpl.html b/templates/content-episode.tpl.html index cd46463..3689e13 100644 --- a/templates/content-episode.tpl.html +++ b/templates/content-episode.tpl.html @@ -68,7 +68,7 @@ Subscribe to the comments contribute.html">record a show about yourself, or your industry, or any other topic we may find interesting. We also check shows for spam :).

-
+
Provide feedback @@ -91,9 +91,9 @@ Subscribe to the comments - - - + + +
diff --git a/templates/content-index.tpl.html b/templates/content-index.tpl.html index 890c393..f10cbc0 100644 --- a/templates/content-index.tpl.html +++ b/templates/content-index.tpl.html @@ -41,15 +41,6 @@

We started producing shows as Today with a Techie on 2005-09-19, years, months, days ago. our shows are produced by listeners like you and can be on any topic that "are of interest to hackers". if you listen to HPR then please consider contributing one show a year. if you record your show now it could be released in days.

-
-

Meet the team

-

- -

-

Latest Shows

diff --git a/templates/content-syndication.tpl.html b/templates/content-syndication.tpl.html index a460f7e..5a9e977 100644 --- a/templates/content-syndication.tpl.html +++ b/templates/content-syndication.tpl.html @@ -21,9 +21,9 @@ Every month, the HPR Janitors put down their mops had have a chat about all the shows, and what else has been going on in the HPR community. This is a regular show scheduled for the first Monday of the month.

    -
  • ogg Larger file size higher quality feed.
  • -
  • mp3 Larger file size regular quality feed in a common format.
  • -
  • spx Small file size lower quality feed.
    Ideal for dial-up/mobile connections.
  • +
  • ogg Larger file size higher quality feed.
  • +
  • mp3 Larger file size regular quality feed in a common format.
  • +
  • spx Small file size lower quality feed.
    Ideal for dial-up/mobile connections.

We also maintain an Archive.org page where you can get the shows in even more formats. @@ -54,9 +54,9 @@ Use this feed to get the archived episodes. The feed themselves run over 15Mb in size and so use them to download the archived episodes and when you are up to date switch back to the Two Week Feeds listed above.

@@ -67,7 +67,7 @@ Use this feed to get the shows as they are posted. The shows will be posted out of order as they come in and may be replaced/reposted if errors are found. This is intended as a means to provide find issues with metadata or the audio quality of new shows before they hit the main feed.

diff --git a/templates/page.tpl.html b/templates/page.tpl.html index 2540015..b30f62d 100644 --- a/templates/page.tpl.html +++ b/templates/page.tpl.html @@ -23,10 +23,10 @@ } - - - - + + + + syndication.html">Radio

Your ideas, projects, opinions - podcasted.

-

New episodes every weekday Monday through Friday.
+

New episodes every weekday Monday through Friday.
This page was generated by at

+
diff --git a/templates/rss-comments.tpl.xml b/templates/rss-comments.tpl.xml index 362872a..a1c4798 100644 --- a/templates/rss-comments.tpl.xml +++ b/templates/rss-comments.tpl.xml @@ -1,59 +1,64 @@ - - + + - - 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 - - - - - + + 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) + https://repo.anhonesthost.net/rho_n/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
-
+ + <!--% 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_ -
- -
+ + eps/hpr/index.html#comment_ + + +
diff --git a/templates/shared-utils.tpl.html b/templates/shared-utils.tpl.html index 63fa696..f650106 100644 --- a/templates/shared-utils.tpl.html +++ b/templates/shared-utils.tpl.html @@ -40,6 +40,11 @@ + + + + + .//