All phase 1 features now working

19/08/10

Permalink 03:35:44 pm, by mholmes, 277 words, 269 views   English (CA)
Categories: Activity log; Mins. worked: 210

All phase 1 features now working

I've now implemented all the features from our plan this morning:

  • The old pipeline for biblio.xml has now been generalized into a single pipeline for handling all non-document pages; this is based on a URL like this: page.htm?page=about, which causes a lookup in the database like this: collection(concat('/db/myndir/', $sitePage, '/'))//TEI[@xml:id=$sitePage], where $sitePage comes from the page URL parameter.
  • The keyword menu has now been fixed so that it works on all these pages.
  • The bibliography for individual documents is being correctly retrieved and rendered; to save space on the page, it's not displayed until you click on a button next to its caption.
  • There's an additional main menu in the page title box, which links to all the site pages.

Then went onto bug-fixing, and one obvious bug was in the popups, in which all the text appeared to be a link to something irrelevant. After an hour of trying to figure this out, I realized it was caused by there being an empty self-closed link in the keywords box; this turned out to be caused by the fact that PAB had invented a new class of thing called "nouns" in the names.xml file (which she let me know about back in May), and then commenced linking to them using the <term> element. My code knew nothing about either of these things, because I had neglected to implement the handling code, so the relevant "noun" was not being retrieved, hence there was no text to form the link in the keywords box. Fixed now, but mighty puzzling for a while.

Pingbacks:

No Pingbacks for this post yet...

MyNDIR

Reports

Categories

May 2013
Sun Mon Tue Wed Thu Fri Sat
 << <   > >>
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  

XML Feeds