We had a file called "autum.mp3", for shame, so links to it weren't working. Now fixed. I've also added blockquote styles (grey background, rounded corners) to initiate a discussion about how to handle the larger ones.
M is back working, and needed a little help with images; KB stopped by to get assistance with some svn and linking issues. All solved, site rebuilt and uploaded.
The code for vihistory used "<?" to open all the php blocks. Newer versions of php and our server infrastructure require "<?php", so I've replaced all the instances that needed to be changed. Also made changes in protocol from "http" to "https". NB for both of those, there are a small number of instances (e.g. <?xml and http used in headers) that must remain as they were, so a simple global search and replace is not possible. Site seems to work at e.g. webserver2.hcmc.uvic.ca/~taprhist/search/searchcensus.php and hcmc.uvic.ca/~taprhist/search/searchcensus.php
No code committed yet because it will break stuff -- I should be working in a branch but I'm not. But I'm trying an append function that would add a new GeoJSON feature collection to the existing one. If this isn't practical, an alternative approach will be to combine two GeoJSONs in JS before reading them, but that's probably no simpler.
MM has joined the team and will start tomorrow. I also fixed some CSS issues (adding handling for nested quotes), and updated the documentation.
Fixed a couple of bugs from tickets, did some CSS work to clean up the Team page, fixed a bunch of badly-linked and badly-named images there, and checked and cleared a bunch of older GitHub ticket.
I've now added the new check to the diagnostics for incomplete sequences of images. In addition to poems which have no images at all, there are also a few poems which are listed in the diagnostics output like this:
Poem #9095 Book VI (Blackwood's Edinburgh Magazine) (expected page count: 5; actual images: 4.)
This check can't really take account of the relatively small number of cases where page numbers are not pure numbers; for instance, if the page-range is specified as:
354a-354b
or
xx-iv
it's not practical to try to figure out how many pages should be in there.
I've normalized all instances of abbreviated pages so that e.g. 227-28 becomes 227-228. But again, I can't easily do that with non-numeric pages, so there may be examples like xx-iv where only a human could really deduce that it should be xx-xxiv.
AC wants all page-ranges to be shown in their entirety, so I ran some XQuery to generate fixes for the abbreviated ones:
let $commands := for $p in //table_data[@name='poems']/row return let $pages := $p/field[@name='po_pages']/text(), $id := $p/field[@name='po_id']/text() return if (matches($pages, '^\d\d\d-\d\d$')) then concat('UPDATE `poems` set `po_pages` = "', substring($pages, 1, 4), substring($pages, 1, 1), substring($pages, 5), '" WHERE `po_id` = "', $id, '";') else if (matches($pages, '^\d\d-\d$')) then concat('UPDATE `poems` set `po_pages` = "', substring($pages, 1, 3), substring($pages, 1, 1), substring($pages, 4), '" WHERE `po_id` = "', $id, '";') else () return string-join($commands, ' ')
then ran the commands (after testing in dev) to fix the existing problems. Added a new test to the diagnostics for this.
I was asked to open up access to the multimedia IPA chart. In order to do that I had to change some of the landing pages to redirects in to the app directory. I also changed the name of the sowl content directory to sowl.