Set up file, added metadata, encoded abstract, included commented biblio elements and marked up one in each list (there are two, the second being a filmography), and finally made some convenience changes to the source wp document, such as moving endnotes inline.
A productive week. I managed to optimize the remaining images in the 1851-1852 folder, which are bundled together in the microfilm images. So, that makes roughly 1,200 separate images for the years stated. As for Friday, I have been catching up on editing and writing placename entries with speedy results. The aim is to keep them short, but as well-researched as possible, and cited fully along the way. Thanks the gods for Andrew Scott's recent book, The Encyclopedia of Raincoast Placenames.
I am told that we should have a new RA's labour to add to the fray in the next week or so. This will help speed of the mechanics of the machine to great effect!
Logging the time I'll be at this afternoon's search committee meeting.
I've found no good existing regexp-based code for syntax-highlighting XML (although this looks helpful), so I'm starting in on my own, by adapting the QT example app which highlights C++. I've changed library and class names, and made one change to highlight XML comments.
MB has created a package and instructions for creating self-correcting paleography exercises for students using the IMT. I've posted her materials and instructions on the site, so others can use them. The instructions are more complicated than they need to be because of a deficiency in IMT 1.x: the fact that you can't easily specify a different location for web view template files. That will be fixed in IMT 2.
Posting time spent on preparation for this afternoon's meeting.
First day back -- lots of catching up to do, and I'm determined to press forward a little with QT every day, so I stayed a bit late.
I think the next phase of the project should be to write an editor widget that does XML syntax highlighting. QT has the QSyntaxHighlighter class which can do this, based on regular expressions matching each of the items that needs to be highlighted. I've spent a good while looking for an existing implementation of regular expressions to match XML elements, attributes etc., and the nearest thing I've found is this. It's enough to get us started, but I think we'll need more.
There's a good example using C++ in the QT examples folder, and the idea looks fairly straightforward, but one problem is going to be the greediness of matching, which may result in matches for opening tags which include all the way to the final closing tag. We should also think about whether we want to check the correctness of e.g. element names; W3C XML Schema Regular Expressions has support for this, and QTSyntaxHighlighter can apparently have its patternSyntax set to W3CXmlSchema11, but the effect of this is not really well documented. We'll have to proceed by trial and error.