Archived
4
2
This repository has been archived on 2024-09-28. You can view files and clone it, but cannot push or open issues or pull requests.
hpr_generator/templates/content-index.tpl.html

90 lines
4.9 KiB
HTML
Raw Normal View History

2022-07-02 02:07:06 +00:00
<hr>
<article>
<header>
<h3>welcome to hpr the community podcast</h3>
</header>
<p>
we started producing shows as <a href="/twat.php"><em>today with a techie</em></a> on 2005-09-19, 16 years, 9 months, 17 days ago. our shows are produced by <a href="/correspondents.php">listeners</a> like you and can be on any <a href="/index_full.php">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="/contribute.php">record</a> your show now it could be <a href="/calendar.php">released</a> in <strong>13</strong> days.</p>
<h4>meet the team</h4>
<p>
<audio controls preload="none">";
<source src="../media/promos/all-hpr-hosts.ogg" type="audio/ogg" >
<source src="../media/promos/all-hpr-hosts.mp3" type="audio/mpeg" >
</audio>
</p>
<p>
please help out <a href="/report_missing_tags.php">tagging</a> older shows !
</p>
</article>
<hr>
<h1>latest shows</h1>
<!--% USE DBI(constants.driver, constants.user, constants.password) %-->
<!--% FOREACH latest_episodes IN DBI.query('
SELECT
substr(\'0000\' || Episodes.id, -4, 4) AS [id],
CASE Episodes.is_explicit WHEN 1 THEN \'Explicit\' ELSE \'Clean\' END AS is_explicit ,
Episodes.published, Episodes.license, Episodes.title, Episodes.summary, Episodes.series, Episodes.show_notes,
substr(\'0000\' || Contributors.id, -4, 4) AS [host_id],
Contributors.handle, Contributors.email, Contributors.avatar
FROM Episodes INNER JOIN Contributors ON Episodes.correspondent_id = Contributors.id
WHERE Episodes.published BETWEEN date(\'now\', \'-7 days\') AND date(\'now\')
ORDER BY published DESC
')
%-->
2022-07-02 02:07:06 +00:00
<hr>
<article>
<header>
<h1><a href="episodes/hpr<!--% latest_episodes.id %-->.html">hpr<!--% latest_episodes.id %--> :: <!--% latest_episodes.title %--></a></h1>
<h3><!--% latest_episodes.description %--></h3>
<p class="meta"$>hosted by <a href="correspondents/host<!--% latest_episodes.host_id %-->.html"><!--% latest_episodes.handle %--></a> on <!--% latest_episodes.published %--> is flagged as <!--% latest_episodes.is_explicit %--> and released under a <!--% latest_episodes.license %--> license. <br>
2022-07-02 02:07:06 +00:00
<strong>tags:</strong> <em>computer,mobile,bms,power</em>.<br>
<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.
2022-07-02 02:07:06 +00:00
<a href="eps.php?id=3628#comments">comments (0)</a></small>
</p>
</header>
<!--% latest_episodes.show_notes %-->
2022-07-02 02:07:06 +00:00
<footer>
<h2>listen now</h2>
<p>duration: 00:20:35</p>
<audio controls preload="none">
<source src="local/hpr<!--% latest_episodes.id %-->.ogg" type="audio/ogg" >
<source src="local/hpr<!--% latest_episodes.id %-->.mp3" type="audio/mpeg" >
2022-07-02 02:07:06 +00:00
</audio>
<ul>
<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-02 02:07:06 +00:00
</ul>
</footer>
</article>
<!--% END %-->
<article>
<header>
<hr>
<h1>Previous five weeks</h1>
</header>
<!--% FOREACH last_5_weeks_episodes IN DBI.query('
SELECT
substr(\'0000\' || Episodes.id, -4, 4) AS [id],
CASE Episodes.is_explicit WHEN 1 THEN \'Explicit\' ELSE \'Clean\' END AS is_explicit ,
Episodes.published, Episodes.license, Episodes.title, Episodes.summary, Episodes.series, Episodes.show_notes,
substr(\'0000\' || Contributors.id, -4, 4) AS [host_id],
Contributors.handle, Contributors.email, Contributors.avatar
FROM Episodes INNER JOIN Contributors ON Episodes.correspondent_id = Contributors.id
WHERE Episodes.published BETWEEN date(\'now\', \'-35 days\') AND date(\'now\', \'-8 days\')
ORDER BY published DESC
')
%-->
<h3 class="title"><a href="episodes/hpr<!--% last_5_weeks_episodes.id %-->.html">hpr<!--% last_5_weeks_episodes.id %--> :: <!--% last_5_weeks_episodes.title %--></a> hosted by <a href="correspondents/host<!--% last_5_weeks_episodes.id %-->.html"><!--% last_5_weeks_episodes.handle %--></a>
2022-07-02 02:07:06 +00:00
</h3>
<p class="meta"><strong>Released:</strong> <!--% last_5_weeks_episodes.published %-->. <strong>Duration:</strong> 00:07:14. <strong>Flag:</strong> <!--% last_5_weeks_episodes.is_explicit %-->. <strong>Series:</strong> <a href="series.php?id=11"><!--% last_5_weeks_episodes.series %--></a>. <br>
2022-07-02 02:07:06 +00:00
<strong>Tags:</strong> <em>nnn, file manager, lightweight apps, vim, zathura, calibre</em>.<br>
<!--% last_5_weeks_episodes.summary %-->
2022-07-02 02:07:06 +00:00
</p>
<!--% END %-->
2022-07-02 02:07:06 +00:00
</article>
<h1>Older Shows</h1>
<p>
Get a <a href="../index_full.php">full list</a> of all our shows.
</p>