kb-dk / MerMEId

Tool for editing MEI header data
Apache License 2.0
20 stars 14 forks source link

offer alternative instrumentation codes #103

Closed axgeertinger closed 6 years ago

axgeertinger commented 6 years ago

the MARC list of instruments at http://www.loc.gov/marc/bibliographic/bd048.html allows only a very rough description of the instrumentation. A much more fine-grained list is the one for UniMARC field 146 defined by IAML. The list is available at http://www.urfm.braidense.it/risorse/searchmedium_en.php. Offering this list for the instrument codes would be an improvement, but it remains to be clarified how the two lists can be made available in the editor simultaneously.

rettinghaus commented 6 years ago

This has been discussed in Mainz, and we agreed on using the IAML values, as the MARC list is basically a subset (using the first two chars). So why should both lists be available at the same time? That would case confusion (and maybe trouble) in MerMEId. You could package both and perhaps have a flag somewhere (in eXist) to switch between them.

axgeertinger commented 6 years ago

I would definitely prefer to get rid of the MARC list entirely. One problem I see is what to do with existing data. Suggestion: We will leave existing instrumentations as they are, but no longer make the MARC list available. As MerMEId currently does not add authority file information to the instrumentation, I will provide a XSLT style sheet to add @authority and @authURI pointing at the MARC list to all <perfRes> elements currently having a @codedval value (transformations can be done from within MerMEId now, BTW). Another problem - or rather, challenge - is how to handle the new list. It comprises 800+ instruments, so I guess it would need some kind of pop-up menu with a drop-down lists for each instrument group (alphabetically ordered). Currently the editor inserts the abbreviated name if no instrument name has been entered yet. Since many of the IAML instruments do not have standardized abbreviations, also this behaviour needs to be changed. I'll try this: MerMEId will insert the abbreviation if it is available; otherwise use the full (english) name. I am probably not going to make it multilingual at this point, even if Italian and German names are provided by IAML for many of the instruments. After all, this functionality is just a shortcut for putting some suggested values into an open input field.