6 Commits

Author SHA1 Message Date
ad21bb045c Handle all future ordinal years for New Year show 2025-12-17 22:22:26 -05:00
1cc9211e95 Automatically show the New Year Show announcement
Insert the New Year Show announcement on the front page
from Dec 1st through Jan 1st.
2025-12-16 19:01:33 -05:00
fc12c7ae5c Add MACRO to get ordinal year of the new year show
Calculate the ordinal value of difference between the current year
and 2011 (the first year of the New Year Show)
2025-12-16 19:01:33 -05:00
6a64ebd95e Fix grammer 2025-12-16 19:01:33 -05:00
c349abfded Calculate the start and end dates for the New Year show 2025-12-16 19:01:33 -05:00
30e4f6a4d8 Update templates/content-new_year.tpl.html
Changes so the live links are not visable
2025-12-16 11:55:32 +00:00
4 changed files with 77 additions and 83 deletions

View File

@@ -1,22 +1,4 @@
<!--% PROCESS 'shared-utils.tpl.html' %--> <!--% PROCESS 'shared-utils.tpl.html' %-->
<div class="lane stack"> <!--% IF date.format(date.now, '%m') == 12 || date.format(date.now, '%j') == 1 %-->
<article> <!--% PROCESS 'content-new_year_show_announcement.tpl.html' %-->
<header> <!--% END %-->
<h2 class="title"><a href="<!--% absolute_path(baseurl) %-->new_year.html">The Fourteenth Annual 26 Hour New Year's Eve Show</a></h2>
</header>
<h3>Welcome every <a href="https://www.timeanddate.com/counters/multicountdown.html">TimeZone</a>!</h3>
<p>
<em>If you keep talking, we'll keep recording.</em>
</p>
<p>For those who don't know, on New Year's Eve 2025-12-31 10:00 UTC (5:00 AM EST), we will have a recording going on the HPR Mumble server for anyone to come on and say "Happy New Year" and talk about whatever they want.
We will leave the recording going until at least 2026-01-01 12:00 UTC (7:00 AM EST), and keep recording until the conversation stops.</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>
<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>
</article>
</div>

View File

@@ -1,45 +1,16 @@
<!--% PROCESS 'shared-utils.tpl.html' %--> <!--% PROCESS 'shared-utils.tpl.html' %-->
<h1><u>The Fourteenth Annual 26 Hour New Years Eve Show</u></h1> <h1><u>The <!--% get_new_year_show_ordinal_year %--> Annual 26 Hour New Year's Eve Show</u></h1>
<h2>Welcome every <a href="https://www.timeanddate.com/counters/multicountdown.html">TimeZone</a>!</h2> <h2>Welcome every <a href="https://www.timeanddate.com/counters/multicountdown.html">TimeZone</a>!</h2>
<p> <p>
<em>If you keep talking, we'll keep recording.</em> <em>If you keep talking, we'll keep recording.</em>
</p> </p>
<p>For those who don't know, on New Years Eve 2025-12-31 10:00 UTC (5:00 AM EST), we will have a recording going on the HPR Mumble server for anyone to come on and say "Happy New Years" and talk about whatever they want. <p>For those who don't know, on New Year's Eve <!--% get_new_year_show_start() %-->, we will have a recording going on the HPR Mumble server for anyone to come on and say "Happy New Year" and talk about whatever they want.
We will leave the recording going until at least 2026-01-01 12:00 UTC (7:00 AM EST), 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 />
</p> </p>
<h2>Listen to the live stream</h2>
<p>
<img src="<!--% absolute_path(baseurl) %-->images/livestream.png" /><br />
<audio controls autoplay>
<source src="https://media.shownotes.ooguy.com/stream" type="audio/mpeg" >
</audio> <br />
<a href="https://media.shownotes.ooguy.com/stream">https://media.shownotes.ooguy.com/stream</a><br />
<a href="https://hackerpublicradio.org/live">https://hackerpublicradio.org/live</a><br />
</p>
<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 />
Please make sure your mic is muted
</p>
https://hackerpublicradio.org/NYE-show-promo.ogg
<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> <h2>History</h2>
<p>Suggested by <a href="https://hackerpublicradio.org/correspondents/0128.html">pokey</a> in 2011. <p>Suggested by <a href="https://hackerpublicradio.org/correspondents/0128.html">pokey</a> in 2011.
@@ -51,36 +22,6 @@ The show was extended to welcome ever time zone to the New Year, which actually
Some years the after show has been even longer than the show itself. 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> 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>Join the conversation on Mumble</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>
<h2>Spread the Word </h2>
<p>
If you are a podcaster please spread the word by including either the <a href="https://hackerpublicradio.org/promote/new-year-show-promo.ogg">ogg</a>,
<a href="https://hackerpublicradio.org/promote/new-year-show-promo.mp3">mp3</a>,
or <a href="https://hackerpublicradio.org/promote/new-year-show-promo.wav">wav</a> in your show !
<br />
<audio controls="controls" preload="none">"; </audio></p>
<p>If you prefer to just listen to the show and not participate using Mumble, use the link below for the live audio stream using your web browser or favourite audio application such as VLC, or live in your web browser.<br />
<strong>Link to follow</strong>
</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>

View File

@@ -0,0 +1,22 @@
<!--% PROCESS 'shared-utils.tpl.html' %-->
<div class="lane stack">
<article>
<header>
<h2 class="title"><a href="<!--% absolute_path(baseurl) %-->new_year.html">The <!--% get_new_year_show_ordinal_year %--> Annual 26 Hour New Year's Eve Show</a></h2>
</header>
<h3>Welcome every <a href="https://www.timeanddate.com/counters/multicountdown.html">TimeZone</a>!</h3>
<p>
<em>If you keep talking, we'll keep recording.</em>
</p>
<p>For those who don't know, on New Year's Eve <!--% get_new_year_show_start() %-->, we will have a recording going on the HPR Mumble server for anyone to come on and say "Happy New Year" and talk about whatever they want.
We will leave the recording going until at least <!--% get_new_year_show_end() %-->, and keep recording until the conversation stops.</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>
<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>
</article>
</div>

View File

@@ -134,3 +134,52 @@
<!--% END %--> <!--% END %-->
<span><a href="<!--% absolute_path(baseurl) %-->eps/<!--% folder %--><!--% zero_pad_left(links.latest) %-->/index.html" rel="last" aria-label="latest episode">Latest<span class="no-css"> &gt;&gt;</span><!--% INSERT $arrow_last %--></a></span></nav> <span><a href="<!--% absolute_path(baseurl) %-->eps/<!--% folder %--><!--% zero_pad_left(links.latest) %-->/index.html" rel="last" aria-label="latest episode">Latest<span class="no-css"> &gt;&gt;</span><!--% INSERT $arrow_last %--></a></span></nav>
<!--% END %--> <!--% END %-->
<!--% MACRO get_new_year_show_start BLOCK %-->
<!--% start_year = date.format(date.now, '%Y') %-->
<!--% IF date.format(date.now, '%m') != 12 || date.format(date.now, '%j') == 1 %-->
<!--% start_year = start_year - 1 %-->
<!--% END %-->
<time datetime="<!--% start_year %-->-12-31T10:00Z"><!--% start_year %-->-12-31 10:00 UTC (5:00 AM EST)</time>
<!--% END %-->
<!--% MACRO get_new_year_show_end BLOCK %-->
<!--% end_year = date.format(date.now, '%Y') %-->
<!--% IF date.format(date.now, '%m') == 12 || date.format(date.now, '%j') == 1 %-->
<!--% end_year = end_year + 1 %-->
<!--% END %-->
<time datetime="<!--% end_year %-->-01-01T12:00Z"><!--% end_year %-->-01-01 12:00 UTC (7:00 AM EST)</time>
<!--% END %-->
<!--% MACRO get_new_year_show_ordinal_year BLOCK %-->
<!--% ordinal_year = date.format(date.now, '%Y') - 2011 %-->
<!--% IF date.format(date.now, '%m') != 12 || date.format(date.now, '%j') == 1 %-->
<!--% ordinal_year = ordinal_year - 1 %-->
<!--% END %-->
<!--% years.0 = 'th'
years.1 = 'st'
years.2 = 'nd'
years.3 = 'rd'
years.4 = 'th'
years.5 = 'th'
years.6 = 'th'
years.7 = 'th'
years.8 = 'th'
years.9 = 'th'
years.14 = 'Fourteenth'
years.15 = 'Fifteenth'
years.16 = 'Sixteenth'
years.17 = 'Seventeenth'
years.18 = 'Eighteenth'
years.19 = 'Nineteenth'
years.20 = 'Twentieth'
years.30 = 'Thirtieth'
years.40 = 'Fortieth'
years.50 = 'Fiftieth' %-->
<!--% index = ordinal_year % 10 %-->
<!--% IF ordinal_year < 21 || (index == 0 && ordinal_year < 51) %-->
<!--% years.$ordinal_year %-->
<!--% ELSE %-->
<!--% ordinal_year %--><sup><!--% years.$index %--></sup>
<!--% END %-->
<!--% END %-->