2022-08-01 02:25:15 +00:00
<!-- % PROCESS 'shared - avatar.tpl.html' % -->
2022-08-02 00:19:44 +00:00
<!-- % PROCESS 'shared - utils.tpl.html' % -->
2022-09-18 20:23:35 +00:00
<!-- % PROCESS 'shared - listen - now.tpl.html' % -->
2023-02-24 23:58:56 +00:00
<!-- % PROCESS 'shared - show - transcript.tpl.html' % -->
2022-11-11 03:14:55 +00:00
<!-- % PROCESS 'shared - call_for_shows.tpl.html' % -->
2022-10-16 22:56:13 +00:00
<!-- % INCLUDE 'content - index - announcement.tpl.html' % -->
2022-11-27 18:54:14 +00:00
<!-- % PROCESS "queries - index - ${constants.database}.tpl.html" % -->
2023-03-19 11:51:21 +00:00
<!-- % MACRO tidy_notes(all_lines) BLOCK % -->
<!-- % lines = all_lines % -->
<!-- % after_html = all_lines % -->
<!-- % img_re = '(?six)^(.*?)\<img ([^\>]+\>)(.+)$' % -->
<!-- % lazy_re = '(?i)loading="lazy"' % -->
<!-- % WHILE (matches = lines.match(img_re)) % -->
2023-10-29 17:28:04 +00:00
<!-- % img_tag = matches.1 % -->
<!-- % after_html = matches.2 % -->
<!-- % matches.0 % -->
<!-- % IF (img_tag.search(lazy_re)) % -->
2023-03-19 11:51:21 +00:00
< img < ! -- % img_tag % -- >
2023-10-29 17:28:04 +00:00
<!-- % ELSE % -->
2023-03-19 11:51:21 +00:00
< img loading = "lazy" < ! -- % img_tag % -- >
2023-10-29 17:28:04 +00:00
<!-- % END % -->
<!-- % lines = after_html % -->
2023-03-19 11:51:21 +00:00
<!-- % END % -->
<!-- % after_html % -->
<!-- % END % -->
2022-07-02 02:07:06 +00:00
< hr >
< article >
< header >
2023-10-10 16:55:44 +00:00
< h3 > Welcome to HPR, the Community Podcast< / h3 >
2022-07-02 02:07:06 +00:00
< / header >
2022-09-06 00:26:12 +00:00
<!-- % days_till_next_episode = 0 % -->
<!-- % USE DBI(constants.driver, constants.user, constants.password) % -->
2023-10-29 17:28:04 +00:00
<!-- %# FOREACH next_available_episode_result IN DBI.query(query_next_available_episode) % -->
<!-- %# days_till_next_episode = next_available_episode_result.delta_days % -->
<!-- %# END % -->
2022-09-06 00:26:12 +00:00
<!-- % USE date % -->
<!-- % calc = date.calc % -->
2023-10-29 17:28:04 +00:00
<!-- % episodes = DBI.query("SELECT id, date FROM eps WHERE date >= date('now') ORDER BY id").get_all() % -->
<!-- % ind = episodes.0.id % -->
<!-- % FOREACH ep IN episodes % -->
<!-- % LAST IF ep.id != ind % -->
<!-- % last_date = ep.date.split(' - ') % -->
<!-- % ind = ind+1 % -->
<!-- % END % -->
<!-- % offset = (calc.Day_of_Week(last_date.0,last_date.1,last_date.2) == 5 ? 3 : 1) % -->
<!-- % slot_date = calc.Add_Delta_Days(last_date.0,last_date.1,last_date.2,offset) % -->
<!-- % now = calc.Today() % -->
<!-- % days_till_next_episode = calc.Delta_Days(now.0,now.1,now.2,slot_date.0,slot_date.1,slot_date.2) % -->
2022-07-18 22:25:25 +00:00
<!-- % delta = date.calc.N_Delta_YMD(2005,9,19, date.format(date.now, '%Y'),date.format(date.now, '%m'),date.format(date.now, '%d')) % -->
2023-10-29 17:28:04 +00:00
< p > We started producing shows as < a href = "<!--% absolute_path(baseurl) %-->eps/index.html#twat_episodes" > < 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" > topics< / 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_url(baseurl) %-->about.html#so_you_want_to_record_a_podcast" > record< / a > your show now it could be < a href = "<!--% hub_baseurl %-->calendar.php" > released< / a > in < strong > <!-- % days_till_next_episode % --> < / strong > days.< / p >
2022-11-11 03:14:55 +00:00
< / article >
<!-- % display_call_for_shows() % -->
2022-07-02 02:07:06 +00:00
< hr >
2022-08-01 03:09:00 +00:00
<!-- % PROCESS 'shared - episode - summary.tpl.html' % -->
2022-08-19 01:19:32 +00:00
< h1 > Latest Shows< / h1 >
2023-03-04 15:07:03 +00:00
<!-- % host_cnt = 0 % -->
2022-11-27 18:54:14 +00:00
<!-- % FOREACH latest_episodes IN DBI.query(query_latest_episodes)
2022-07-02 21:10:27 +00:00
%-->
2022-07-02 02:07:06 +00:00
< hr >
< article >
< header >
2022-08-05 21:50:03 +00: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-18 01:13:46 +00:00
< h3 > <!-- % latest_episodes.summary% --> < / h3 >
2023-03-14 03:15:46 +00:00
< p class = "meta" $ > <!-- % show_avatar(latest_episodes.hostid, latest_episodes.host, host_cnt) % -->
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 >
2023-10-10 16:55:44 +00:00
<!-- % display_tags(latest_episodes.tags) % -->
2023-04-02 12:50:04 +00:00
< span > <!-- % show_series(latest_episodes.series, latest_episodes.seriesid) % --> < / span >
< span > < label > Comments: < / label > <!-- % display_comments_tally(latest_episodes.id, latest_episodes.eps_tally) % --> < / span > < br >
2023-03-31 12:02:49 +00:00
<!-- % listen_now(latest_episodes, "hpr", baseurl, media_baseurl) % -->
2022-07-02 02:07:06 +00:00
< / p >
< / header >
2023-03-19 11:51:21 +00:00
<!-- % tidy_notes(latest_episodes.notes) % -->
2022-07-02 02:07:06 +00:00
< footer >
2023-02-24 23:58:56 +00:00
<!-- % show_transcript(latest_episodes, "hpr", baseurl, media_baseurl) % -->
2022-07-02 02:07:06 +00:00
< / footer >
< / article >
2023-03-04 15:07:03 +00:00
<!-- % host_cnt = host_cnt + 1 % -->
2022-07-02 02:07:06 +00:00
<!-- % END % -->
< article >
< header >
< hr >
< h1 > Previous five weeks< / h1 >
< / header >
2023-10-10 16:55:44 +00:00
<!-- % FOREACH last_5_weeks_episodes IN DBI.query(query_last_5_weeks_episodes)
2022-07-04 02:47:59 +00:00
%-->
2022-08-01 03:09:00 +00:00
<!-- % show_summary(last_5_weeks_episodes) % -->
2023-04-02 11:24:43 +00:00
< p class = "listen-in" > <!-- % display_listen_in(last_5_weeks_episodes.id) % --> < / p >
2022-07-04 02:47:59 +00:00
<!-- % END % -->
2022-07-02 02:07:06 +00:00
< / article >
< h1 > Older Shows< / h1 >
< p >
2022-08-05 21:50:03 +00:00
Get a < a href = "<!--% absolute_path(baseurl) %-->eps/index.html" > full list< / a > of all our shows.
2022-07-02 02:07:06 +00:00
< / p >