forked from rho_n/hpr_generator
Add dynamic generation of years, months, day since start of HPR
This commit is contained in:
parent
9a4e8b087f
commit
c1ac9f69a0
@ -13,6 +13,7 @@ Static web page generator for the Hacker Public Radio website.
|
|||||||
* Config::Std
|
* Config::Std
|
||||||
* Template
|
* Template
|
||||||
* DBI
|
* DBI
|
||||||
|
* Date::Calc
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
Generate two specific pages:
|
Generate two specific pages:
|
||||||
|
@ -41,6 +41,7 @@ This is a site generator for the Hacker Public Radio website based upon the Perl
|
|||||||
* Config::Std
|
* Config::Std
|
||||||
* Template
|
* Template
|
||||||
* DBI
|
* DBI
|
||||||
|
* Date::Calc
|
||||||
|
|
||||||
=head1 AUTHOR
|
=head1 AUTHOR
|
||||||
|
|
||||||
|
@ -3,8 +3,9 @@
|
|||||||
<header>
|
<header>
|
||||||
<h3>welcome to hpr the community podcast</h3>
|
<h3>welcome to hpr the community podcast</h3>
|
||||||
</header>
|
</header>
|
||||||
<p>
|
<!--% USE date %-->
|
||||||
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>
|
<!--% 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>
|
<h4>meet the team</h4>
|
||||||
<p>
|
<p>
|
||||||
<audio controls preload="none">";
|
<audio controls preload="none">";
|
||||||
|
Loading…
Reference in New Issue
Block a user