17 Commits

Author SHA1 Message Date
292e501f69 Merge pull request 'Add missing small HPR logo file for RSS feeds' (#326) from i323_HPR-podcast-feeds-missing-microphone-logo into main
Reviewed-on: #326
2025-12-13 23:11:58 +00:00
824c2d77c7 Add missing small HPR logo file for RSS feeds 2025-12-13 18:08:37 -05:00
5464725b7d Merge pull request 'Add 2025 New Year's Eve announcement' (#325) from i324_New-Year_Show into main
Reviewed-on: #325
2025-12-13 22:15:17 +00:00
f61fe7c6c8 Add 2025 New Year's Eve announcement 2025-12-13 17:08:53 -05:00
611a022aab Merge pull request 'Use case insensitive sort for host names' (#322) from i318_Sort-hosts-page-by-lowercase-host-name into main
Reviewed-on: #322
2025-12-07 03:41:52 +00:00
9ecb30f51f Use case insensitive sort for host names 2025-12-06 22:37:49 -05:00
e885c78fb5 Merge pull request 'Add links to comment viewer and full list of episodes' (#320) from i316_Have-link-to-All-shows into main
Reviewed-on: #320
2025-12-03 03:52:05 +00:00
0a5dea473b Add links to comment viewer and full list of episodes 2025-12-02 22:48:52 -05:00
de316e7f6b Merge pull request 'Fix path issue when generating link to about.html' (#319) from i315_link-path-issues into main
Reviewed-on: #319
2025-12-03 03:19:33 +00:00
7161b99eb0 Fix path issue when generating link to about.html 2025-11-26 15:43:14 -05:00
84e89a53ad Merge pull request 'Rename Today with a technie table and references' (#313) from i312_Rename-Today-with-a-Techie-episode-table-to-twt_eps into main
Reviewed-on: #313
2025-11-23 14:38:27 +00:00
5004f4fe88 Add table rename sql statement 2025-11-23 09:21:48 -05:00
6520bdac8b Rename Today with a technie table and references 2025-11-22 19:30:53 -05:00
2eece012fa Merge pull request 'Modify tags query to return shows upto current date' (#311) from i242_Prevent-future-shows-from-being-included-in-the-Tag-index into main
Reviewed-on: #311
2025-11-22 23:41:30 +00:00
3d74b6f084 Modify tags query to return shows upto current date 2025-11-22 18:38:38 -05:00
24f2b5f9ee Merge pull request 'Fix column layout of correspondent's page' (#310) from i309_Fix-big-screen-layout-on-individual-host-page into main
Reviewed-on: #310
2025-11-22 23:15:09 +00:00
020d6395c1 Fix column layout of correspondent's page 2025-11-22 17:55:54 -05:00
12 changed files with 37 additions and 15 deletions

View File

@@ -0,0 +1 @@
ALTER TABLE twat_eps RENAME TO twt_eps;

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

View File

@@ -31,7 +31,8 @@
<p><label>episodes:</label> <strong><!--% hpr_show_count + twt_show_count %--></strong></p>
<p><a href="<!--% absolute_url(baseurl,'//correspondents') %-->/<!--% zero_pad_left(this_host.hostid) %-->/playlist.m3u8">Download the M3U playlist</a>.</p>
</div>
<div class="lane stack">
</div>
<div id="episodes" class="lane stack">
<!--% FOREACH hpr_show IN hpr_shows; %-->
<article>
<!--% show_summary(hpr_show, 'hide_host') %-->

View File

@@ -18,7 +18,7 @@
from hosts as h
inner join (select hostid, max(date) as date from eps group by hostid) as e
on h.hostid = e.hostid
order by h.host'
order by h.host COLLATE NOCASE asc'
) %-->
<tr class="lane">
<td><!--% get_avatar(host.hostid, host.host, host_cnt > 8) %--></td>

View File

@@ -61,11 +61,11 @@ Subscribe to the comments <a href="<!--% absolute_path(baseurl) %-->comments.rss
<h2>Leave Comment</h2>
<p>
<strong>Note to Verbose Commenters</strong><br />
If you can't fit everything you want to say in the comment below then you really should <a href="<!--% absolute_url(baseurl) %-->about.html#so_you_want_to_record_a_podcast">record</a> a response show instead.
If you can't fit everything you want to say in the comment below then you really should <a href="<!--% absolute_url(baseurl) %-->../../about.html#so_you_want_to_record_a_podcast">record</a> a response show instead.
</p>
<p>
<strong>Note to Spammers</strong><br />
All comments are moderated. All links are checked by humans. We strip out all html. Feel free to <a href="<!--% absolute_url(baseurl) %-->about.html#so_you_want_to_record_a_podcast">record</a> a show about yourself, or your industry, or any other topic we may find interesting. <em>We also check shows for spam :)</em>.
All comments are moderated. All links are checked by humans. We strip out all html. Feel free to <a href="<!--% absolute_url(baseurl) %-->../../about.html#so_you_want_to_record_a_podcast">record</a> a show about yourself, or your industry, or any other topic we may find interesting. <em>We also check shows for spam :)</em>.
</p>
<form method="POST" action="<!--% hub_baseurl %-->comment_confirm.php">
<fieldset>

View File

@@ -29,7 +29,7 @@
hosts.hostid,
hosts.host, hosts.email, hosts.local_image,
miniseries.name AS series, miniseries.id AS seriesid
FROM twat_eps as eps
FROM twt_eps as eps
INNER JOIN hosts ON eps.hostid = hosts.hostid
INNER JOIN miniseries ON eps.series = miniseries.id
ORDER BY eps.id DESC

View File

@@ -1 +1,19 @@
<!--% PROCESS 'shared-utils.tpl.html' %-->
<div class="lane stack">
<article>
<header>
<h2 class="title"><a href="/eps/hpr3246/index.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>
<a href="https://hackerpublicradio.org/eps/hpr3246/index.html">More Information…</a>
</p>
</article>
</div>

View File

@@ -3,7 +3,6 @@
<!--% PROCESS 'shared-listen-now.tpl.html' %-->
<!--% PROCESS 'shared-show-transcript.tpl.html' %-->
<!--% PROCESS 'shared-call_for_shows.tpl.html' %-->
<!--% INCLUDE 'content-index-announcement.tpl.html' %-->
<!--% PROCESS "queries-index.tpl.html" %-->
<!--% MACRO tidy_notes(all_lines) BLOCK %-->
<!--% lines = all_lines %-->
@@ -37,6 +36,7 @@
<!--% delta = date.calc.N_Delta_YMD(2005,9,19, date.format(date.now, '%Y'),date.format(date.now, '%m'),date.format(date.now, '%d')) %-->
<section id="welcome">
<p>Hacker Public Radio is a technology focused podcast that releases shows every weekday Monday to Friday. Our shows are produced by listeners like you and can be on any topic that is of interest to hackers, makers, hobbyists, etc. We are a welcoming community that offers positive feedback and encourages respectful debate.</p>
<!--% INCLUDE 'content-index-announcement.tpl.html' %-->
<div id="call_for_shows">
<!--% display_call_for_shows() %-->
</div>
@@ -104,6 +104,7 @@
<!--% host_cnt = host_cnt + 1 %-->
<!--% END %-->
</dl>
<p><a href="<!--% absolute_path(baseurl) %-->eps/index.html">More Episodes…</a></p>
</section>
<section id="latest_comments">
<header><h2>Latest Comments</h2></header>
@@ -138,5 +139,6 @@
<dd>on hpr<!--% item.eps_id %--> (<!--% item.episode_date %-->) "<!--% item.episode_title %-->" by <!--% item.host %--></dd>
<!--% END %-->
</dl>
<p><a href="<!--% absolute_path(baseurl) %-->comments_viewer.html">More Comments…</a></p>
</section>
</section>

View File

@@ -6,23 +6,23 @@
<!--% query_episodes = DBI.prepare('
WITH episode_maxmin AS (
SELECT MAX(id) AS \'latest\', MIN(id) AS \'earliest\', ? AS \'id\'
FROM twat_eps AS eps
FROM twt_eps AS eps
),
episode_date AS (
SELECT eps.date
FROM twat_eps AS eps
FROM twt_eps AS eps
WHERE eps.id = ?
),
episode_previous AS (
SELECT MAX(id) AS \'previous\', ? AS \'id\'
FROM twat_eps AS eps
FROM twt_eps AS eps
INNER JOIN episode_date
ON eps.date < episode_date.date
WHERE eps.id > 1
),
episode_next AS (
SELECT MIN(id) AS \'next\', ? AS \'id\'
FROM twat_eps AS eps
FROM twt_eps AS eps
INNER JOIN episode_date
ON eps.date > episode_date.date
)
@@ -34,7 +34,7 @@
hosts.hostid, hosts.host,
miniseries.name AS \'series\', miniseries.id AS \'seriesid\',
miniseries.description AS \'series_description\'
FROM twat_eps AS eps
FROM twt_eps AS eps
INNER JOIN hosts ON eps.hostid = hosts.hostid
INNER JOIN miniseries ON eps.series = miniseries.id
INNER JOIN episode_maxmin ON eps.id = episode_maxmin.id

View File

@@ -1,6 +1,6 @@
<!--% USE DBI(constants.driver) %-->
<!--% FOREACH episode IN DBI.query(
'select eps.id from twat_eps AS eps'
'select eps.id from twt_eps AS eps'
) %-->
,<!--% episode.id %-->
<!--% END %-->

View File

@@ -33,7 +33,7 @@
%-->
<!--% query_twt_show_count = '
SELECT COUNT(id) as Tally
FROM twat_eps AS eps
FROM twt_eps AS eps
WHERE eps.hostid = ?
'
%-->
@@ -48,7 +48,7 @@
hosts.hostid,
hosts.host, hosts.email, hosts.profile,
miniseries.name AS series, miniseries.id AS seriesid
FROM twat_eps AS eps
FROM twt_eps AS eps
INNER JOIN hosts ON eps.hostid = hosts.hostid
INNER JOIN miniseries ON eps.series = miniseries.id
WHERE hosts.hostid = ?

View File

@@ -1 +1 @@
<!--% query_tags = 'SELECT id, tags FROM eps' %-->
<!--% query_tags = 'SELECT id, tags FROM eps WHERE eps.date <= date(\'now\')' %-->