[%# shownote_template7.tpl 2016-10-02 -%] [%# HTML snippet for insertion into the database -%] [%# This one uses the new format for the mailing list data, and partitions -%] [%# comments into past and current. It requires make_shownotes > V0.0.21 -%] [%- 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 -%]
[% IF hosts.size > 0 -%]
Welcome to our new host[%- hosts.size > 1 ? 's' : '' -%]:
[%- count = 0 %]
[%- FOREACH row IN hosts %]
[%- count = count + 1 %]
[%- hostname = (row.host.search(',') ? row.host.replace('^(.*)$','"$1"') : row.host) %]
[% hostname %]
[%- count < hosts.size ? ', ' : '.' %]
[%- END %]
[% ELSE -%]
There were no new hosts this month.
[% 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 %] |
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 in the archives run externally by Gmane (see below) and on the HPR server under Mailman.
Note: since the summer of 2016 Gmane has changed location and is currently being reestablished. At the moment the HPR archive is not available there.
The threaded discussions this month can be found here:
[% INCLUDE $includefile -%] [%- END %] [%# Skip comments if told to by the caller -%] [%- IF skip_comments == 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" -%] in total.
There [% past_count == 1 ? "is $past_count comment" : "are $past_count comments" %] on [% past.size %] previous [% past.size == 1 ? "show" : "shows" %]:
There [% cc == 1 ? "is $cc comment" : "are $cc comments" %] on [% current.size %] of this month's shows: