site-generator:
Added all the modules that the script and the templates use to make
it explicit what is required.
templates/shared-utils.tpl.html:
Added a new TT² macro called 'absolute_url' which takes two
arguments, the base and the path or relative URL. It's fairly
primitive but seems to work.
templates/content-about.tpl.html,
templates/content-recording.tpl.html,
templates/content-request_a_slot.tpl.html,
templates/content-requested_topics.tpl.html,
templates/page.tpl.html:
All calls to 'absolute_url' changed to use two arguments, and the
link definitions adjusted to match this change.
site-generator:
Cosmetic adjustments. Additions to the POD documentation.
Additions to module list.
Additions to work better with UTF-8.
Addition of functions 'parse_csv' and 'xml_entity'
templates/queries-episodes-sqlite.tpl.html:
templates/shared-utils.tpl.html:
Cosmetic changes
templates/rss-query-hpr-mysql.tpl.xml:
templates/rss-query-hpr-sqlite.tpl.xml:
templates/rss-query-hpr_total-mysql.tpl.xml:
templates/rss-query-hpr_total-sqlite.tpl.xml:
Enhancements to allow the query to collect the audio length from the
'assets' table. The audio file extension is passed as an argument to
the 'execute' statement.
templates/rss.tpl.xml:
Cosmetic changes
Changed one 'php' URL to 'html'.
templates/shared-episode-summary.tpl.html:
Change to 'display_tags' macro to turn the 'eps.tags' field into
a list of links. This works, but needs further development because
using the tag strings as anchor ids is not reliable.
templates/shared-item.tpl.xml:
Cosmetic changes.
Addition of filter 'HTML.strip' which is used as a means of removing
HTML tags from '<itunes:summary>' strings.
Using new filter 'xml_entity' which converts all non-ASCII
characters in the notes to numeric hexadecimal entities for
'<itunes:summary>'.
The '<enclosure>' tag now uses 'episode.length' rather than
'episode.duration' which has been extracted from the 'assets' table.
public_html/css/hpr.css: Commented out the 'font-size: 75%;' in the CSS
definition for '#maincontent footer p'. It was this that shrank the
lower "step navigation" list in comparison to the upper one. The
upper is in a '<header>' block and the lower in a '<footer>' block.
templates/content-episode.tpl.html: Fixed a typo.
templates/content-theme.tpl.html: Changed "This can be added" to "This
is automatically added"
templates/queries-episode-sqlite.tpl.html: Fixed a transcription error
from the 'mysql' version
templates/shared-utils.tpl.html: Modified the layout of the
'step_navigation' macro to remove tabs which are being copied to the
HTML. Just a minor cosmetic issue. Added a Vim modeline to the file
to help with this.
Prevent name collision with media_basepath root_template/page property
of same name. Also fix application of trailing forward slash to path
based on existence of baseurl property.