GN and I worked out a basic process for building a test map which initially shows the cleaned-up Margary sheets, each as a separate layer, on top of the main map. I've generated the Zoomify tiles, and I'll start work on the test code tomorrow.
I've started writing a converter for TEI Simple output, as part of testing for TEI Simple, but also as part of the prep for my DH paper on Interchange. The interesting bits are likely to be the CSS conversions to simple:whatever @rendition values, but for that I can leverage some of the code I've already written for Mariage.
On our map, we need to mark polygons, points and lines. The TEI <zone>
element is officially defined as marking an area:
"defines any two-dimensional area within a surface element"
which is arguably a polygon only. I've been dealing with points by creating tiny one-pixel zones using the old attributes designed for rectangles (@ulx, @uly, @lrx, @lry), but we've been rather abusing the @points attribute intended for polygons to handle lines (paths), with a convention that if a list of points does not repeat its initial point, it's not closed, and is therefore a path. I tried to get that officially sanctioned and change the definition of <zone>
and @points, but was not successful (https://sourceforge.net/p/tei/feature-requests/541/), and they've asked me to prepare a feature request for a <path>
element instead, which I fear will not be successful (the feeling is that this crosses too far into SVG territory).
So we are now officially engaged in some mild tag-abuse. The suggested fix was that instead of a series of coordinates creating a line, we should have a one-pixel-wide shape instead; that would be functionally identical to a line, but would really be a zone and would therefore be OK. So I'm now providing this in the XML we serve up (the "Standard" and "Standalone" variants) by expanding the attributes on the fly, so that we're providing good TEI to anyone who wants it, but we're not making our lives needlessly complicated for the sake of purity.
With JJ's approval, migrated the CSS changes for off-page links from dev to live.
A bug was caused by link-generating markup in titleStmt/title, so I've removed that from Stow (the only place it was), and added it to Schematron, as well as some other minor Schematron additions suggested by JT.
Investigating oddities in the rendering of the historical personography, I found a bunch of typos, some of which look like they might have resulted from automated markup processes. Wrote to TL to see if there's anything in the spreadsheet code that might account for them. Fixed a bunch, but there will be more.
JT found a bug: when you click on a name in the name list in the gazetteer, it retrieved all mentions of that place, not all mentions of that place with the spelling you chose. That's now fixed, tested in dev and ported to live. Just a typo in XQuery.
With the team's approval, I've ported the print stylesheet stuff I wrote last night on dev to live. I've also implemented most of what needs to be done for internal bibl refs (ref @type=mol:bibl); remaining: no links for unpublished docs, and warning of that status, and probably some re-formatting of the date.
Updated my Windows 10 VM (painful) and tested the map with the Spartan browser. All OK as far as we can tell.
Fixed some nasty bugs in the current video handling for embedded YouTube videos. Also began work on standard ways to handle non-YouTube content, such as CBC, but that's not working properly yet.