Diverted majorly by the Coldesp launch work recently, I had to put in some extra time to make progress with MyNDIR, and to keep up the ScanCan markup. Also Mariage needs steady tending, so there's some time every day going into that.
This is the plan that's emerging for handling the keywords:
- Keywords will be supplied without content, simply with a pointer to elements in the names.xml file.
- For display on the page, the system will look up the item in names.xml, and if it finds a child element with an attribute value
n="1", it will use that item for display in the keyword box on the page. If it doesn't find an @n attribute, it will use the first child element in the linked item. - Clicking on the keyword in the page should submit a different kind of search parameter, kwId, to the search page; this can be used to search very efficiently in the keywords for any instances of the item.
- The question remains as to how the text search engine is supposed to work. If searches are based on keywords, and keywords are essentially just xml:id attributes, then how can a user conduct a search? This needs some feedback from PAB.
I've hooked up all the various types of list that are retrieved from the names.xml file to the tags that link to them in the documents, and the majority of the popups are now working. Since some tags are not yet finished (e.g. <placeName> elements don't yet seem to have an xml:id, and many elements have ids that don't point to anything yet, or point to the wrong thing, so I've added some traps that help to point that out by highlighting the problems.
We have a genuine need for the "cluster of one" server that Mustard is to become, to provide an Apache front-end to the Tomcats on Pear, so we're checking through one last time to see if there are any running projects on Mustard. Today I added manual redirects, through meta tags in the HTML pages, from all the ACH/ALLC 2005 conference site pages on unix.uvic.ca (in lang01), so that they redirect right over to Pear. That should be sufficient for the moment; once we have addresses on port 80, we can change those over.
Today:
- Integrated retrieval of reference information into
search.xq(which is used to create the index page, and which may have a document id specified for display). Previously I had only got this working initem.xq, which is used for AJAX retrieval of a document for insertion into the existing page. The two XQuery files draw on the same core code inmdhUtils.xqm, but they construct their documents slightly differently. - Added processing for all elements that can contain @ref attributes pointing to reference information, so that they turn into spans with dotted underlines, and clicking on them calls a
showReferenceJS function. - Added a reference popup (HTML in the XSLT, JS and CSS to match), added to the bottom of the page, modelled on the Mariage popup (but simpler because it never retrieves info by AJAX; all info is already in the page, added through XQuery).
- Added rudimentary processing for some of the back matter references, in particular
<listPerson>/<person>, to test the popup. It's working.
Next I need to add handlers for all the other kinds of lists that are being retrieved, and also some processing for basic TEI tags to improve the display of the popup.
Fixed a couple of broken links to biblio items and documents in the articles. Also added a title attribute to biblio items which shows the xml:id of the item, to make it easier for encoders to link to a biblio item without having to read the XML of the biblio file.
A handful of queries are outstanding with JT, and some images may need cropping, but other than that it's done. One more article is outstanding for the film edition, but JT doesn't have a complete version yet.
AM has updated his Shingle Cloud code and very kindly added a command-line interface I can use to compare SC to the USM. I've downloaded and tried out the new SC version, and I'm now puzzling out the command-line switches, and trying to figure out what would actually be analogous to a straightforward USM score (between 0 and 1) from SC.
JL has provided a lengthy description of the project, from which I'm trying to harvest the key points and turn them into the meat of the automatic presentation, illustrating it with images wherever possible. I'm probably about a third into it by this point, still working on the best ways to handle the requirement to display on a variety of screen and font sizes. I've settled on positioning and sizing in percents, on the basis that I can then adjust font sizes through the browser to get the best use of screen space (= largest display text that will fit).
It's still pretty spartan, but once the content is done I can start tarting it up a bit.