Plan for the litref page
Posted by mholmes on 18 Oct 2011 in Activity log
One feature of the existing site is a page which shows all the literary reference fragments (nested text elements from documents inside the /data/litref subcollection) which reference a particular location. This should be straightforward to do. We could catch URLs like this:
litref_BLAH.htm
and redirect them to litref.xql, passing the second component of the URL as a parameter. The XQuery would then construct a simple page showing the references concerned.
In addition, the main page-rendering index.xql would have to check, for any given data page, whether its id is linked from any of the litref documents; if so, a Literary References link would be added to its More Info box.