[%# shownote_template6.tpl 2016-08-17 -%] [%# HTML snippet for insertion into the database -%] [%# This one uses the new format for the mailing list data -%] [%- USE date -%] [%- prefix = "http://hackerpublicradio.org" correspondents = "$prefix/correspondents.php" mailthreads = "$prefix/pipermail/hpr_hackerpublicradio.org/$review_year-$review_month/thread.html" -%] [%- DEFAULT skip_comments = 0 -%] [%# For the '-mailnotes' option without a file we generate our own inclusion. -%] [%# We pretend 'default_mail' is a filename in the calling script. Messy. -%] [% BLOCK default_mail -%] [% mailthreads %] [% END -%]

New hosts

[% IF hosts.size > 0 -%] Welcome to our new host[%- hosts.size > 1 ? 's' : '' -%]:
[%- count = 0 %] [%- FOREACH row IN hosts %] [%- count = count + 1 %] [% row.host %] [%- count < hosts.size ? ', ' : '.' %] [%- END %] [% ELSE -%] There were no new hosts this month. [% END -%]

Last Month's Shows

[%# The 'summary' attribute is deprecated in HTML5 but is included here to -%] [%# prevent errors being reported in the note checker -%] [%- FOREACH row IN shows %] [%- END %]
Id Day Date Title Host
[% row.eps_id %] [% date.format(row.date,'%a') %] [% date.format(row.date,'%Y-%m-%d') %] [% row.title %] [% row.ho_host FILTER html_entity %]
[%- IF includefile.defined -%]

Mailing List discussions

Policy decisions surrounding HPR are taken by the community as a whole. This discussion takes place on the Mail List which is open to all HPR listeners and contributors. The discussions are open and available on the Gmane archive and the Mailman archive.

The threaded discussions this month can be found here:

[% INCLUDE $includefile -%] [%- END %] [%# Skip comments if told to by the caller -%] [%- IF skip_comments == 0 -%]

Comments this month

[% IF comment_count > 0 -%]

These are comments which have been made during the past month, either to shows released during the month or to past shows.

There [%- comment_count == 1 ? "is $comment_count comment" : "are $comment_count comments" -%]:


[%= END %]
  • [% row.past ? "[hpr$row.episode]" : "hpr$row.episode" %] ([% row.date %]) "[% row.title %]" by [% row.host %].
  • [%- ELSE %] There were no comments this month. [%- END %] [%- END %] [%# # vim: syntax=tt2:ts=8:sw=4:ai:et:tw=78:fo=tcrqn21 -%]