Initials for editorial notes
Posted by mholmes on 15 Jan 2014 in Activity log
We've been working on a way of showing initials for people responsible for editorial notes, and I now have it working on the dev version of the site. This is how it works:
- Every person who contributes editorial notes needs to supply their preferred initials. For testing purposes, I've added my own (MDH) and Janelle's (JJ) to PERS1.xml. You add the initials like this:
<person xml:id="JENS1" sex="2"> <persName type="cont"> <reg>Jenstad, Janelle</reg> <forename>Janelle</forename> <surname>Jenstad</surname> <abbr>JJ</abbr> <---- THIS LINE </persName> [...] </person>
i.e. in an<abbr>
element inside the<persName>
. - You use @resp on <note type="editorial"> like this:
<note type="editorial" resp="mol:JENS1">
You can have multiple people if you want:<note type="editorial" resp="mol:JENS1 mol:HOLM3">
- You get results as shown on e.g. TRAN2 on the dev site.
If the person has no initials, or there is no @resp, then nothing appears. I think we probably want to enforce the presence of @resp, though, for all editorial notes.