More work on the text to sourceDoc transformation. Tested across all of the published mayoral pageants and spent a good amount of time re-working the pb/fw extraction code, which is convoluted but I think is now working well. There are also some issue with hi elements and line elements to do with styling, but those should be resolvable soon.
Spent today experimenting on a text to sourceDoc transformation for the new Mayoral pageant protocol. I wanted to see if it was feasible to take a mayoral text that is encoded in MoEML's current standards and transform it into a sourceDoc version. It's a tricky thing, since the hierarchies are radically different. That said, I think I have it working; the hardest, and most time consuming part, was getting it so it would break the a paragraph/div at a pb element. Tested on MONU1 and CHRU1--works okay, but still more to do.
Taking three days of vacation next week; that leaves 38 from what I carried over at the end of the year, plus 25 accruing over this year.
Bringing vacation days up to date: I had 13 days left from 2016 and 25 from 2017, so I have 38 days before the addition of this year's days.
Using 2 days of CTO for next week's vacation.
Today I replaced the Google Map with an OpenLayers map in the site pages. The map is based on KML rather than JSON, because that's what we have, but ultimately I'll probably switch it to JSON. It also needs functionality for showing the popup info about sources, and the OL KML parser currently fails to pick up the rose icon for points, but we'll get there on that one. I'm now a little less worried about being overtaken by the Google problem, but I'll need at least another couple of days to get everything properly shaken down to the point where we can publish.
I now have a fully working Agas Map based on Open Layers. There's more that could be done, and I will revisit the pan/zoom functionality later, but the next job is the urgent replacement of the Google Maps feature with OSM. I've successfully tested an implementation of an OL map using the KML that we're currently generating, and I think that will be the way to approach it. It'll take some work. At present, the Icon style setting doesn't appear to be supported, although it is being retrieved. I think we'll need to override the styles from the KML, which will actually be nice because OL gives us more flexibility there. The other thing not yet working is the annotation popups, and that may have to be done in a different way.
With JJ and EC. Very interesting indeed; different perspective from previous ones.
Further to my last post, I have now moved the regnal calendar out of the spreadsheet and into a TEI document; I just took the latest one built in the Jenkins build and went from there. It's should now be rendering properly on the Jenkins site; I had to change the structure of the document slightly, which caused a chain-reaction of errors throughout the static build, mostly to do with add events to the standalone header and with rendering the date popup. These should now be resolved.
The regnal calendar spreadsheet was modified so that it had an unexpected column on the left; this broke the regnal calendar processing, which relies heavily on the placement and order of the table rows and columns.