2022-07-31 22:25:15 -04:00
<!--% PROCESS 'shared-avatar.tpl.html' %-->
2022-08-01 20:19:44 -04:00
<!--% PROCESS 'shared-utils.tpl.html' %-->
2022-07-01 22:07:06 -04:00
< hr >
< article >
< header >
2022-08-18 21:19:32 -04:00
< h3 > Welcome to HPR the Community Podcast</ h3 >
2022-07-01 22:07:06 -04:00
</ header >
2022-07-18 18:25:25 -04:00
<!--% USE date %-->
<!--% delta = date.calc.N_Delta_YMD(2005,9,19, date.format(date.now, '%Y'),date.format(date.now, '%m'),date.format(date.now, '%d')) %-->
2022-08-18 21:26:57 -04:00
< p > We started producing shows as < a href = "https://www.hackerpublicradio.org/twat.php" >< em > Today with a Techie</ em ></ a > on 2005-09-19, <!--% delta.0 %--> years, <!--% delta.1 %--> months, <!--% delta.2 %--> days ago. our shows are produced by < a href = "<!--% absolute_path(baseurl) %-->correspondents/index.html" > listeners</ a > like you and can be on any < a href = "<!--% absolute_path(baseurl) %-->eps/index.html" > topic</ a > that < strong > "are of interest to < a href = "https://en.wikipedia.org/wiki/hacker_(hobbyist)" > hackers</ a > "</ strong > . if you listen to HPR then please consider contributing one show a year. if you < a href = "<!--% absolute_path(baseurl) %-->contribute.html" > record</ a > your show now it could be < a href = "https://www.hackerpublicradio.org/calendar.php" > released</ a > in < strong > 13</ strong > days.</ p >
2022-08-18 21:19:32 -04:00
< h4 > Meet the team</ h4 >
2022-07-01 22:07:06 -04:00
< p >
< audio controls preload = "none" > ";
2022-08-18 21:26:57 -04:00
< source src = "<!--% absolute_path(baseurl) %-->media/promos/all-hpr-hosts.ogg" type = "audio/ogg" >
< source src = "<!--% absolute_path(baseurl) %-->media/promos/all-hpr-hosts.mp3" type = "audio/mpeg" >
2022-07-01 22:07:06 -04:00
</ audio >
</ p >
</ article >
< hr >
2022-07-31 23:09:00 -04:00
<!--% PROCESS 'shared-episode-summary.tpl.html' %-->
2022-08-18 21:19:32 -04:00
< h1 > Latest Shows</ h1 >
2022-07-01 22:07:06 -04:00
<!--% USE DBI(constants.driver, constants.user, constants.password) %-->
2022-07-02 17:10:27 -04:00
<!--% FOREACH latest_episodes IN DBI.query('
2022-08-31 20:43:43 -04:00
WITH comment_tallies AS (
SELECT
eps_id,
COUNT(eps_id) AS eps_tally
FROM comments
GROUP BY eps_id
)
2022-07-03 22:46:07 -04:00
SELECT
2022-08-31 20:43:43 -04:00
eps.id,
eps.explicit,
eps.date, eps.license, eps.duration,
eps.title, eps.summary, eps.tags,
eps.notes,
hosts.local_image,
hosts.hostid,
hosts.host, hosts.email,
miniseries.name AS series, miniseries.id AS seriesid,
COALESCE (comment_tallies.eps_tally, 0) AS eps_tally
2022-08-01 18:33:32 -04:00
FROM eps
INNER JOIN hosts ON eps.hostid = hosts.hostid
2022-08-31 20:43:43 -04:00
INNER JOIN miniseries ON eps.series = miniseries.id
LEFT JOIN comment_tallies ON eps.id = comment_tallies.eps_id
2022-08-01 18:33:32 -04:00
WHERE eps.date < date(\'now\', \'+1 days\')
ORDER BY date DESC
LIMIT 10
')
2022-07-02 17:10:27 -04:00
%-->
2022-07-01 22:07:06 -04:00
< hr >
< article >
< header >
2022-08-05 17:50:03 -04:00
< h1 >< a href = "<!--% absolute_path(baseurl) %-->eps/hpr<!--% zero_pad_left(latest_episodes.id) %-->/index.html" > hpr<!--% latest_episodes.id %--> :: <!--% latest_episodes.title %--> </ a ></ h1 >
2022-07-17 21:13:46 -04:00
< h3 > <!--% latest_episodes.summary%--> </ h3 >
2022-08-04 14:21:54 -04:00
< p class = "meta" $ > <!--% IF get_avatar(latest_episodes.hostid) != 'hpr_logo.png' %-->
2022-08-05 17:50:03 -04:00
< img src = "<!--% absolute_path(baseurl) %-->images/<!--% get_avatar(latest_episodes.hostid) %-->" height = "80" width = "80" alt = "" /></ a > <!--% END %-->
2022-08-07 20:04:20 -04:00
< br > Hosted by < a href = "<!--% absolute_path(baseurl) %-->correspondents/<!--% zero_pad_left(latest_episodes.hostid) %-->.html" > <!--% latest_episodes.host %--> </ a > on <!--% latest_episodes.date %--> is flagged as <!--% display_explicit(latest_episodes.explicit) %--> and released under a <!--% latest_episodes.license %--> license. < br >
2022-07-17 21:13:46 -04:00
< strong > Tags:</ strong > <!--% latest_episodes.tags %--> < em ></ em > .< br >
2022-08-06 10:01:30 -04:00
< small > listen in < a href = "local/hpr<!--% latest_episodes.id %-->.ogg" > ogg</ a > , < a href = "local/hpr<!--% latest_episodes.id %-->.spx" > spx</ a > , or < a href = "local/hpr<!--% latest_episodes.id %-->.mp3" > mp3</ a > format. <!--% show_series(latest_episodes.series, latest_episodes.seriesid) %-->
2022-08-31 20:43:43 -04:00
< a href = "<!--% absolute_path(baseurl) %-->eps/hpr<!--% zero_pad_left(latest_episodes.id) %-->/index.html#comments" > Comments (<!--% latest_episodes.eps_tally %--> )</ a > .</ small >
2022-07-01 22:07:06 -04:00
</ p >
</ header >
2022-07-17 21:13:46 -04:00
<!--% latest_episodes.notes %-->
2022-07-01 22:07:06 -04:00
< footer >
< h2 > listen now</ h2 >
2022-08-29 21:59:24 -04:00
< p > Duration: <!--% display_episode_duration(latest_episodes.duration) %--> </ p >
2022-07-01 22:07:06 -04:00
< audio controls preload = "none" >
2022-07-03 22:46:07 -04:00
< source src = "local/hpr<!--% latest_episodes.id %-->.ogg" type = "audio/ogg" >
< source src = "local/hpr<!--% latest_episodes.id %-->.mp3" type = "audio/mpeg" >
2022-07-01 22:07:06 -04:00
</ audio >
< ul >
2022-07-03 22:46:07 -04:00
< li > ogg: < a href = "local/hpr<!--% latest_episodes.id %-->.ogg" > /local/hpr<!--% latest_episodes.id %--> .ogg</ a ></ li >
< li > spx: < a href = "local/hpr<!--% latest_episodes.id %-->.spx" > /local/hpr<!--% latest_episodes.id %--> .spx</ a ></ li >
< li > mp3: < a href = "local/hpr<!--% latest_episodes.id %-->.mp3" > /local/hpr<!--% latest_episodes.id %--> .mp3</ a ></ li >
2022-07-01 22:07:06 -04:00
</ ul >
</ footer >
</ article >
<!--% END %-->
< article >
< header >
< hr >
< h1 > Previous five weeks</ h1 >
</ header >
2022-07-03 22:47:59 -04:00
<!--% FOREACH last_5_weeks_episodes IN DBI.query('
SELECT
2022-08-06 10:01:30 -04:00
eps.id,
2022-07-17 21:13:46 -04:00
CASE eps.explicit WHEN 1 THEN \'Explicit\' ELSE \'Clean\' END AS explicit ,
eps.date, eps.license, eps.title, eps.summary,
2022-08-01 18:33:32 -04:00
eps.duration, eps.notes, eps.tags,
2022-08-06 10:01:30 -04:00
hosts.hostid,
2022-08-01 18:33:32 -04:00
hosts.host, hosts.email, hosts.local_image,
2022-08-06 10:01:30 -04:00
miniseries.name AS series, miniseries.id AS seriesid
2022-08-01 18:33:32 -04:00
FROM eps
INNER JOIN hosts ON eps.hostid = hosts.hostid
INNER JOIN miniseries ON eps.series = miniseries.id
WHERE eps.date < date(\'now\', \'+1 days\')
2022-07-17 21:13:46 -04:00
ORDER BY date DESC
2022-08-01 18:33:32 -04:00
LIMIT 30 OFFSET 10
2022-07-03 22:47:59 -04:00
')
%-->
2022-07-31 23:09:00 -04:00
<!--% show_summary(last_5_weeks_episodes) %-->
2022-07-03 22:47:59 -04:00
<!--% END %-->
2022-07-01 22:07:06 -04:00
</ article >
< h1 > Older Shows</ h1 >
< p >
2022-08-05 17:50:03 -04:00
Get a < a href = "<!--% absolute_path(baseurl) %-->eps/index.html" > full list</ a > of all our shows.
2022-07-01 22:07:06 -04:00
</ p >