Meeting and many changes to code
Posted by mholmes on 20 May 2010 in Activity log
Met with PAB and made the following immediate changes:
- Keywords are now drawn from the
names.xml
file, and where there are multiple items in a keyword with@n
attributes, all are listed in the keyword list; otherwise the first element is taken. - Keyword searching now works by passing a
kwId
parameter containing the@xml:id
of the item from thenames.xml
file. - Related item display has been tweaked to show the
@xml:id
of the item rather than the title, because titles are often duplicated. - A handler has been added to the XSLT for
<ref>
elements which will be used for external links.
Also firmed up the plans for the Search system and the menu:
- Search will now be a complete search: first it will do a text search of
names.xml
, for a list ofxml:id
s, and get a list of documents which have those ids in keywords; then it will do a text search of the documents themselves, looking for the search term. It will combine the results into a single list. - The menu will be sorted using a custom Java library I'll write (as I did for Moses and Mariage). The menu will be populated with all the terms in
names.xml
which have@n
attributes.