12 Commits

Author SHA1 Message Date
a9b757232f Add an individual html title to various pages 2026-01-31 14:16:44 -05:00
ef4302f8d4 Allow html title to be set dynamically
Each page content template can set a page_title variable.
2026-01-31 14:13:29 -05:00
079b4be448 revert 988c6f8593
revert Update templates/content-index.tpl.html

Try and hack in the new year show
2026-01-02 10:05:40 +00:00
988c6f8593 Update templates/content-index.tpl.html
Try and hack in the new year show
2026-01-01 10:28:56 +00:00
b1da08572f revert dca0945932
revert Update templates/content-index.tpl.html

The new year show is missing
2026-01-01 10:28:03 +00:00
dca0945932 Update templates/content-index.tpl.html
The new year show is missing
2026-01-01 10:21:49 +00:00
63c25d2f19 Update templates/content-new_year.tpl.html
More fixes
2025-12-30 12:35:48 +00:00
c2ad703409 Update templates/content-new_year.tpl.html
Ground rules are important
2025-12-30 12:28:59 +00:00
b1f0420526 Update templates/content-new_year_show_announcement.tpl.html
remove the prom
2025-12-30 12:25:35 +00:00
175bf2dd57 Update templates/content-new_year_show_announcement.tpl.html
Changes as we go live for nye show
2025-12-30 12:19:32 +00:00
fbff5bc6a1 Update templates/content-new_year.tpl.html
Updates to support new urls as we go live
2025-12-30 12:18:30 +00:00
ea85c3de61 Merge pull request '[i324] New Year Show automated announcement' (#328) from i324_New-Year_Show into main
Reviewed-on: #328
2025-12-26 16:22:21 +00:00
18 changed files with 1937 additions and 16 deletions

View File

@@ -1,3 +1,4 @@
<!--% page_title = "HPR ~ About this community podcast" %-->
<h1 id="welcome">Welcome to HPR<a href="<!--% absolute_url(baseurl,'about.html#about') %-->">.</a></h1> <h1 id="welcome">Welcome to HPR<a href="<!--% absolute_url(baseurl,'about.html#about') %-->">.</a></h1>
<ul> <ul>

File diff suppressed because it is too large Load Diff

View File

@@ -3,7 +3,7 @@
<!--% PROCESS 'shared-listen-now.tpl.html' %--> <!--% PROCESS 'shared-listen-now.tpl.html' %-->
<!--% PROCESS "queries-episode.tpl.html" %--> <!--% PROCESS "queries-episode.tpl.html" %-->
<!--% USE DBI(constants.driver) %--> <!--% USE DBI(constants.driver) %-->
<!--% page_title = "HPR ~ Current comments on the shows" %-->
<h2>Comment Viewer</h2> <h2>Comment Viewer</h2>
<p>Because of the spammers we have had to turn on comment moderation. Sorry about the delay this will cause.</p> <p>Because of the spammers we have had to turn on comment moderation. Sorry about the delay this will cause.</p>
<p><a href="<!--% absolute_path(baseurl) %-->comments.rss">Subscribe</a> to the comment feed.</p> <p><a href="<!--% absolute_path(baseurl) %-->comments.rss">Subscribe</a> to the comment feed.</p>

View File

@@ -1,3 +1,4 @@
<!--% page_title = "HPR ~ Contact the Community" %-->
<article> <article>
<header> <header>
<h1>Contact</h1> <h1>Contact</h1>

View File

@@ -18,6 +18,7 @@
<!--% hosts = DBI.tie('hosts', 'hostid') %--> <!--% hosts = DBI.tie('hosts', 'hostid') %-->
<!--% this_host = hosts.$id %--> <!--% this_host = hosts.$id %-->
<!--% page_title = "HPR ~ Host: " _ this_host.host %-->
<h2 class="title">Correspondent</h2> <h2 class="title">Correspondent</h2>
<div id="host" class="lane"> <div id="host" class="lane">
<div id="host_id"> <div id="host_id">

View File

@@ -1,5 +1,6 @@
<!--% PROCESS 'shared-utils.tpl.html' %--> <!--% PROCESS 'shared-utils.tpl.html' %-->
<!--% PROCESS 'shared-avatar.tpl.html' %--> <!--% PROCESS 'shared-avatar.tpl.html' %-->
<!--% page_title = "HPR ~ Hosts/Correspondents" %-->
<h2 class="title">Correspondents</h2> <h2 class="title">Correspondents</h2>
<p>For more information on how to become a Correspondent see our <a href="<!--% absolute_url(baseurl) %-->../about.html#so_you_want_to_record_a_podcast">contribute</a></center> page. To add a logo here, either email one to admin at hpr or setup your email on <a href="https://en.gravatar.com/">Gravatar</a>. To protect your browsing privacy we gather the images every hour and serve them directly from HPR.<p /> <p>For more information on how to become a Correspondent see our <a href="<!--% absolute_url(baseurl) %-->../about.html#so_you_want_to_record_a_podcast">contribute</a></center> page. To add a logo here, either email one to admin at hpr or setup your email on <a href="https://en.gravatar.com/">Gravatar</a>. To protect your browsing privacy we gather the images every hour and serve them directly from HPR.<p />
<!--% USE DBI(constants.driver) %--> <!--% USE DBI(constants.driver) %-->

View File

@@ -1,3 +1,4 @@
<!--% page_title = "HPR ~ Download all the episodes" %-->
<article> <article>
<header> <header>
<h1>Download Archive</h1> <h1>Download Archive</h1>

View File

@@ -10,6 +10,7 @@
<!--% FOREACH episode IN episode_result %--> <!--% FOREACH episode IN episode_result %-->
<!--% in_window = ( episode.id > episode.latest || episode.id < ( episode.latest - 20 ) ? 0 : 1 ) %--> <!--% in_window = ( episode.id > episode.latest || episode.id < ( episode.latest - 20 ) ? 0 : 1 ) %-->
<!--% episode_navigation = step_navigation(baseurl,episode) %--> <!--% episode_navigation = step_navigation(baseurl,episode) %-->
<!--% page_title = "HPR" _ zero_pad_left(episode.id) _ "::" _ episode.title %-->
<article> <article>
<header> <header>
<h1>hpr<!--% zero_pad_left(episode.id) %--> :: <!--% episode.title %--></h1> <h1>hpr<!--% zero_pad_left(episode.id) %--> :: <!--% episode.title %--></h1>

View File

@@ -1,5 +1,6 @@
<!--% PROCESS 'shared-episode-summary.tpl.html' %--> <!--% PROCESS 'shared-episode-summary.tpl.html' %-->
<!--% PROCESS "queries-episodes.tpl.html" %--> <!--% PROCESS "queries-episodes.tpl.html" %-->
<!--% page_title = "HPR ~ All the shows" %-->
<h1>Complete Archive of Shows.</h1> <h1>Complete Archive of Shows.</h1>
<p> <p>
All this information is available to the public. Scrape if you wish but if we can format the data for you then we're happy to help. All this information is available to the public. Scrape if you wish but if we can format the data for you then we're happy to help.

View File

@@ -11,16 +11,18 @@ We will leave the recording going until at least <!--% get_new_year_show_end() %
So please stop in. Say "Hi" and maybe join in the conversation with other HPR listeners and contributors. It's always a good time!!<br /> So please stop in. Say "Hi" and maybe join in the conversation with other HPR listeners and contributors. It's always a good time!!<br />
</p> </p>
<h2>History</h2> <h1>Listen to the live stream</h1>
<p>Suggested by <a href="https://hackerpublicradio.org/correspondents/0128.html">pokey</a> in 2011. <p>
As podcasting tends to be a one way conversation, he thought it would be nice to get all the FLOSS, Linux, Free Culture, podcasters and Listeners in one place to get together and chat in person. <img src="images/livestream.png" /><br />
Initially it was planned to be just a few hours, but we kept missing members from other parts of the world. <audio controls autoplay>
The show was extended to welcome ever time zone to the New Year, which actually turns out to be <a href="https://en.wikipedia.org/wiki/List_of_UTC_offsets">38 Timezones</a>, over 26 Hours.</p> <source src="https://files.shownotes.ooguy.com/stream" type="audio/mpeg" >
</audio> <br />
<a href="https://files.shownotes.ooguy.com/stream">https://files.shownotes.ooguy.com/stream</a><br />
<a href="https://hackerpublicradio.org/live">https://hackerpublicradio.org/live</a><br />
</p>
<p>So we will record for at least 26 Hours, but will keep the recording going for an "After Show". <h1>Join the conversation on Mumble</h1>
Some years the after show has been even longer than the show itself.
While this is on the HPR Site, it is entirely a community initiative which is supported heavily by the fine folks over at the <a href="https://linuxlugcast.com/">LinuxLugCast</a>, with the Mumble Server been provided by <a href="https://hackerpublicradio.org/correspondents/0228.html">Delwin</a>.</p>
<h2>Ground Rules</h2> <h2>Ground Rules</h2>
<h3>Use Push to Talk, and a Headset</h3> <h3>Use Push to Talk, and a Headset</h3>
@@ -61,4 +63,44 @@ Before the recording is posted as a podcast the <a href="https://manual.audacity
<p>The recording will be released as a podcast on HPR under a <a rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/"> Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)</a> license. <p>The recording will be released as a podcast on HPR under a <a rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/"> Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)</a> license.
The recordings will be released mid year, when there is a lull in submissions.</p> The recordings will be released mid year, when there is a lull in submissions.</p>
<h2>Mumble Setup</h2>
<p>Already have Mumble installed, then <a href="mumble://chatter.skyehaven.net:64738/Hacker%20Public%20Radio?version=1.2.0">this link will bring you to the HPR Room</a>.</p>
<p>Get the PC Client <a href="https://wiki.mumble.info/wiki/Main_Page">https://wiki.mumble.info/wiki/Main_Page</a><br />
<p>Get the Android Client Mumla <a href="https://f-droid.org/packages/se.lublin.mumla">https://f-droid.org/packages/se.lublin.mumla</a></p>
<p>Then join the Server: <strong>chatter.skyehaven.net</strong><br />
Port: <strong>64738</strong><br />
Channel: <strong>HPR</strong></p>
<p><strong>Use Push to Talk</strong>. With so many people hands free is not an option.</p>
<p>For those who have never used Mumble before, see this <a href="https://hackerpublicradio.org/mumble-howto">how-to explaining the setup of the desktop Mumble client</a>,
or listen to <a href="https://hackerpublicradio.org/eps.php?id=3503">hpr3503 :: Configuring Mumble</a>.</p>
<h3>Video Only (no audio) server</h3>
<p>
For those who wish to see the video of some of the participants we have a jitsi server.<br />
<a href="https://jitsi.minnix.dev/hprnye">https://jitsi.minnix.dev/hprnye</a><br />
<strong>Please make sure your mic is muted!</strong>
</p>
<h3>Add to the Show-notes</h2>
<p>
<strong>Please help fill out the show notes</strong><br />
<a href="https://shownotes.lugcast.mywire.org/p/hpr-nye-2026">https://shownotes.lugcast.mywire.org/p/hpr-nye-2026</a><br />
We are using Etherpad for people to share links and info to things they are discussing.
The Etherpad will be used for the HPR audio shownotes so please feel free to add to it.
The entire event will be broken into 2 to 3 hour segments and made available as HPR episodes.<br/>
<em>This really, really helps us out to post the show faster !</em>
</p>
<h2>History</h2>
<p>Suggested by <a href="https://hackerpublicradio.org/correspondents/0128.html">pokey</a> in 2011.
As podcasting tends to be a one way conversation, he thought it would be nice to get all the FLOSS, Linux, Free Culture, podcasters and Listeners in one place to get together and chat in person.
Initially it was planned to be just a few hours, but we kept missing members from other parts of the world.
The show was extended to welcome ever time zone to the New Year, which actually turns out to be <a href="https://en.wikipedia.org/wiki/List_of_UTC_offsets">38 Timezones</a>, over 26 Hours.</p>
<p>So we will record for at least 26 Hours, but will keep the recording going for an "After Show".
Some years the after show has been even longer than the show itself.
While this is on the HPR Site, it is entirely a community initiative which is supported heavily by the fine folks over at the <a href="https://linuxlugcast.com/">LinuxLugCast</a>, with the Mumble Server been provided by <a href="https://hackerpublicradio.org/correspondents/0228.html">Delwin</a>.</p>

View File

@@ -12,11 +12,18 @@
We will leave the recording going until at least <!--% get_new_year_show_end() %-->, and keep recording until the conversation stops.</p> We will leave the recording going until at least <!--% get_new_year_show_end() %-->, and keep recording until the conversation stops.</p>
<p> <p>
So please stop in. Say "Hi" and maybe join in the conversation with other HPR listeners and contributors. It's always a good time!!<br> So please stop in. Say "Hi" and maybe join in the conversation with other HPR listeners and contributors. It's always a good time!!<br>
<audio controls preload="none">
<source src="<!--% absolute_path(baseurl) %-->promos/hpr-nye-promo.ogg" type="audio/ogg">
</audio>
</p>
<p><a href="<!--% absolute_path(baseurl) %-->new_year.html">More information…</a></p>
<h2>Listen to the live stream</h2>
<p>
<img src="images/livestream.png" /><br />
<audio controls autoplay>
<source src="https://files.shownotes.ooguy.com/stream" type="audio/mpeg" >
</audio> <br />
<a href="https://files.shownotes.ooguy.com/stream">https://files.shownotes.ooguy.com/stream</a><br />
<a href="https://hackerpublicradio.org/live">https://hackerpublicradio.org/live</a><br />
</p>
<p><a href="<!--% absolute_path(baseurl) %-->new_year.html">More information…</a></p>
</article> </article>
</div> </div>

View File

@@ -1,3 +1,4 @@
<!--% page_title = "HPR ~ Find a show" %-->
<section id="search"> <section id="search">
<header> <header>
<h1>Search HPR.</h1> <h1>Search HPR.</h1>

View File

@@ -1,6 +1,7 @@
<!--% PROCESS 'shared-utils.tpl.html' %--> <!--% PROCESS 'shared-utils.tpl.html' %-->
<!--% PROCESS "queries-series.tpl.html" %--> <!--% PROCESS "queries-series.tpl.html" %-->
<!--% USE DBI(constants.driver) %--> <!--% USE DBI(constants.driver) %-->
<!--% page_title = "HPR ~ Show series" %-->
<h1 class="title">In-Depth Series</h1> <h1 class="title">In-Depth Series</h1>
<div class="lane stack"> <div class="lane stack">
<!--% FOREACH series IN DBI.query(query_episodes) %--> <!--% FOREACH series IN DBI.query(query_episodes) %-->

View File

@@ -6,6 +6,7 @@
%--> %-->
<!--% series_result = query_series.execute(id) %--> <!--% series_result = query_series.execute(id) %-->
<!--% FOREACH series IN series_result %--> <!--% FOREACH series IN series_result %-->
<!--% page_title = "HPR ~ Series: " _ series.name %-->
<h1 class="title">In-Depth Series: <!--% series.name %--></h1> <h1 class="title">In-Depth Series: <!--% series.name %--></h1>
<ul> <ul>
<li>Number of episodes: <!--% series.number_of_episodes %--></li> <li>Number of episodes: <!--% series.number_of_episodes %--></li>

View File

@@ -1,4 +1,5 @@
<!--% PROCESS 'shared-utils.tpl.html' %--> <!--% PROCESS 'shared-utils.tpl.html' %-->
<!--% page_title = "HPR ~ Sitemap" %-->
<h1>Sitemap</h1> <h1>Sitemap</h1>
<ul> <ul>
<li><a href="<!--% hub_baseurl %-->calendar.php"><strong>⇧Upload⇧</strong></a> ← Upload Your Show</li> <li><a href="<!--% hub_baseurl %-->calendar.php"><strong>⇧Upload⇧</strong></a> ← Upload Your Show</li>

View File

@@ -1,3 +1,4 @@
<!--% page_title = "HPR ~ Subscribe to our feeds" %-->
<h1>RSS Syndication</h1> <h1>RSS Syndication</h1>
<h2>Subscribe to our Feeds</h2> <h2>Subscribe to our Feeds</h2>
<p> <p>

View File

@@ -46,6 +46,7 @@
<!--% episode_result = query_episodes.execute(id, id, id, id, id) %--> <!--% episode_result = query_episodes.execute(id, id, id, id, id) %-->
<!--% FOREACH episode IN episode_result %--> <!--% FOREACH episode IN episode_result %-->
<!--% episode_navigation = step_navigation(baseurl,episode,"twt") %--> <!--% episode_navigation = step_navigation(baseurl,episode,"twt") %-->
<!--% page_title = "TWT" _ episode.id _ "::" _ episode.title %-->
<article> <article>
<header> <header>
<h1><!--% episode.id %--> :: <!--% episode.title %--></h1> <h1><!--% episode.id %--> :: <!--% episode.title %--></h1>

View File

@@ -1,9 +1,18 @@
<!--% PROCESS 'shared-utils.tpl.html' %--> <!--% PROCESS 'shared-utils.tpl.html' %-->
<!--% USE date %--> <!--% USE date %-->
<!--% page_title = "Hacker Public Radio (HPR) ~ The Technology Community Podcast" %-->
<!--% WRAPPER page
# The default page_title variable set above can be overridden
# in each individual $content template (i.e. templates/conten-<template name>.tpl.html)
# processed below.
%-->
<!--% PROCESS $content %-->
<!--% END %-->
<!--% BLOCK page %-->
<!DOCTYPE HTML> <!DOCTYPE HTML>
<html lang="en"> <html lang="en">
<head> <head>
<title>Hacker Public Radio ~ The Technology Community Podcast</title> <title><!--% page_title %--></title>
<!--% IF baseurl %--> <!--% IF baseurl %-->
<base href="<!--% baseurl %-->"> <base href="<!--% baseurl %-->">
<!--% END %--> <!--% END %-->
@@ -54,7 +63,8 @@
</div> </div>
</header> </header>
<main id="main_content" role="main"> <main id="main_content" role="main">
<!--% INCLUDE $content %--> <!--% content %-->
<!--% page_title = "acck" %-->
</main> </main>
<footer role="contentinfo"> <footer role="contentinfo">
<hr class="no-css"> <hr class="no-css">
@@ -70,3 +80,4 @@
</footer> </footer>
</body> </body>
</html> </html>
<!--% END %-->