Concordance checker web interface for imports to museum-digital

This repository contains a very small web app enabling users to upload a list of terms (separated by a newline) and compare them to the concordance lists used during imports to md. Entries that are not yet matched to any value of md's controlled lists can henceforth be matched using the web UI. The tool will finally generate the necessary lines of code to register the relevant terms in the concordance lists.

Good to know

Handling table-based imports

If all entries of a given type are currently in a table column

  • e.g. of a CSV file - just open the file in a spreadsheet editor and select the column contents to copy and paste them over to the text area of the concordance checker.

XML-based imports

Here, XPath may be helpful. Different programs support the use of XPath from the command line. A useful one-liner to select the value of all elements of the name OkuFunktionS using xmlstarlet and filter out duplicate entries is, e.g.:

xmlstarlet sel -t -v "//OkuFunktionS" Obj_Kuenstler.xml   | sort | awk '!seen[$0]++'

See also

TO-DO

  • Provide API description
Description
Concordance checker for preparing imports to md
Readme MIT 4 MiB
Languages
JavaScript 92.7%
SCSS 3.6%
PHP 1.4%
HTML 1%
CSS 0.9%
Other 0.3%