Add dynamic generation of years, months, day since start of HPR

This commit is contained in:
Roan Horning 2022-07-18 18:25:25 -04:00
parent 9a4e8b087f
commit c1ac9f69a0
Signed by untrusted user: rho_n
GPG Key ID: 234AEF20B72D5769
3 changed files with 5 additions and 2 deletions

View File

@ -13,6 +13,7 @@ Static web page generator for the Hacker Public Radio website.
* Config::Std
* Template
* DBI
* Date::Calc
## Usage
Generate two specific pages:

View File

@ -41,6 +41,7 @@ This is a site generator for the Hacker Public Radio website based upon the Perl
* Config::Std
* Template
* DBI
* Date::Calc
=head1 AUTHOR

View File

@ -3,8 +3,9 @@
<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>
<!--% 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')) %-->
<p>we started producing shows as <a href="/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="/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">";