From 12326d4d3d06714b5f85935d56b32aa10ea1319c Mon Sep 17 00:00:00 2001 From: Joshua Ramon Enslin Date: Wed, 31 May 2023 16:55:00 +0200 Subject: [PATCH 1/5] Cover object to object links in export selections --- src/selections/eodem-0.08.json | 1 + src/selections/lido-1.0.json | 1 + src/selections/lido-1.1.json | 1 + 3 files changed, 3 insertions(+) diff --git a/src/selections/eodem-0.08.json b/src/selections/eodem-0.08.json index 14c08aa..4a637db 100644 --- a/src/selections/eodem-0.08.json +++ b/src/selections/eodem-0.08.json @@ -9,6 +9,7 @@ "show_markings": true, "show_transcripts": true, "show_links": true, + "show_object_to_object_links": true, "show_images": true, "show_hidden_images": false, "show_objekt_inventarnr": true, diff --git a/src/selections/lido-1.0.json b/src/selections/lido-1.0.json index 80fed66..4354191 100644 --- a/src/selections/lido-1.0.json +++ b/src/selections/lido-1.0.json @@ -9,6 +9,7 @@ "show_markings": true, "show_transcripts": true, "show_links": true, + "show_object_to_object_links": true, "show_images": true, "show_hidden_images": false, "show_objekt_inventarnr": true, diff --git a/src/selections/lido-1.1.json b/src/selections/lido-1.1.json index fffe9c6..4324567 100644 --- a/src/selections/lido-1.1.json +++ b/src/selections/lido-1.1.json @@ -9,6 +9,7 @@ "show_markings": true, "show_transcripts": true, "show_links": true, + "show_object_to_object_links": true, "show_images": true, "show_hidden_images": false, "show_objekt_inventarnr": true, From f7245187f08f9c000d99076259428402a7675474 Mon Sep 17 00:00:00 2001 From: Joshua Ramon Enslin Date: Sat, 24 Jun 2023 01:37:00 +0200 Subject: [PATCH 2/5] Bump year in LICENSE --- LICENSE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index 4d20996..30f161c 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2022 +Copyright (c) 2022-2023 museum-digital Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal From 4ac221bee28de8f2122097d2cf9f80e191bc8323 Mon Sep 17 00:00:00 2001 From: Joshua Ramon Enslin Date: Sat, 24 Jun 2023 01:39:54 +0200 Subject: [PATCH 3/5] Update README to reflect LIDO 1.1. and EODEM support --- README.md | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3f4030f..d8e8002 100644 --- a/README.md +++ b/README.md @@ -3,14 +3,30 @@ ## Formats covered thus far - `LIDO 1.0` - (Primary exchange export format) + (Primary exchange export format). See +- LIDO 1.1 + Updated version of the LIDO standard, as of 2022. See +- EODEM + A LIDO profile (based on LIDO 1.1) specifically designed for the automation of the exchange of loan object information. Contrary to LIDO, it thus also covers some internal fields. See: ## Repository structure -### /src +### [/src](./src) Contains the relevant .xsl files used for converting md:xml to other formats. -### /sample +#### [/src/schemas](./src/schemas) + +This directory contains schemas for validating the different formats. + +#### [/src/selections](./src/selections) + +This directory contains JSON files listing which bits and pieces should be made available during an export from musdb when exporting to a given format. E.g., LIDO cannot represent internal information like insurance values. It thus does not make sense to export such information during the export to md:xml pre-transformation in the first place. + +### [/sample](./sample) Here you can find sample mx:xml files. + +## License + +This project is licensed under the MIT License. See the [LICENSE](./LICENSE) file for the full license text. From 2ff939c6db3bde46a57d175ef8be202bc0652bf9 Mon Sep 17 00:00:00 2001 From: Stefan Rohde-Enslin Date: Sun, 9 Jul 2023 22:18:25 +0200 Subject: [PATCH 4/5] Cover controlled terms for objectWorkType and material / tech in LIDO 1.0 exports --- src/lido-1.0.xsl | 158 ++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 129 insertions(+), 29 deletions(-) diff --git a/src/lido-1.0.xsl b/src/lido-1.0.xsl index c58fbbf..f753b72 100644 --- a/src/lido-1.0.xsl +++ b/src/lido-1.0.xsl @@ -96,7 +96,35 @@ - + + + + + + + + + + + uri + + + + + + + no + + + + + + + + + + + @@ -861,7 +889,44 @@ - + + + + + + + + + + + + + + uri + + + + + + + no + + + + + + + + + + + + + + + + + @@ -872,8 +937,42 @@ - - + + + + + + + + + + + + + + uri + + + + + + + no + + + + + + + + + + + + + + + @@ -1191,39 +1290,40 @@ - - - - - - - - - - uri - - - - - - - no - - - - - - - + + + + + + + + + + + uri + + + + + + + no + + + + + + + + - From c9c7b63434810e728e6f6185a71f6b46ead48dce Mon Sep 17 00:00:00 2001 From: Joshua Ramon Enslin Date: Thu, 3 Aug 2023 23:11:08 +0200 Subject: [PATCH 5/5] Display objectWorkType via tags in EODEM and LIDO 1.1 exports, and only that in case both object_type tags exist and an object type is present in md See #5 Background for the disabling of exports of the regular object type in case both exist: The German Digital Library (DDB) is unable to handle duplicate names in work types unless both contain different links to norm data repositories. This fix allows the DDB to more easily import while supposedly not losing meaningful data. --- src/eodem-0.08.xsl | 187 ++++++++++++++++++++++++++------------- src/lido-1.0.xsl | 213 ++++++++++++++++++++++++++------------------- src/lido-1.1.xsl | 187 ++++++++++++++++++++++++++------------- 3 files changed, 374 insertions(+), 213 deletions(-) diff --git a/src/eodem-0.08.xsl b/src/eodem-0.08.xsl index 6d1aabb..d08b190 100644 --- a/src/eodem-0.08.xsl +++ b/src/eodem-0.08.xsl @@ -34,70 +34,133 @@ - - - - gnd - uri - - - - - - grobsystematik - uri - - - - - - oberbegriffsdatei - uri - - - - - - aat - uri - - - - - - lcsh - uri - - - - - - md:term - uri - - - - - - - de - - - - - - - - - - - - - + + + + + + + + + + + + + + + uri + + + + + + + no + + + + + + + + + + - - + + + + + + + + gnd + uri + + + + + + grobsystematik + uri + + + + + + oberbegriffsdatei + uri + + + + + + aat + uri + + + + + + lcsh + uri + + + + + + md:term + uri + + + + + + + de + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/lido-1.0.xsl b/src/lido-1.0.xsl index f753b72..84b32f8 100644 --- a/src/lido-1.0.xsl +++ b/src/lido-1.0.xsl @@ -33,100 +33,135 @@ - - - - gnd - uri - - - - - - grobsystematik - uri - - - - - - oberbegriffsdatei - uri - - - - - - aat - uri - - - - - - lcsh - uri - - - - - - md:term - uri - - - - - - - de - - - - - - - - - - - - - + + + + + + + + + + + + + + + uri + + + + + + + no + + + + + + + + + + - - - - - - - - - - - - uri - - - + + + + + + + + gnd + uri + + - - - no - - - - - - - + + + grobsystematik + uri + + - - - + + + oberbegriffsdatei + uri + + + + + + aat + uri + + + + + + lcsh + uri + + + + + + md:term + uri + + + + + + + de + + + + + + + + + + + + + + + + + + + + + + - + Sammlung diff --git a/src/lido-1.1.xsl b/src/lido-1.1.xsl index f26abe9..28fe4ed 100644 --- a/src/lido-1.1.xsl +++ b/src/lido-1.1.xsl @@ -33,70 +33,133 @@ - - - - gnd - uri - - - - - - grobsystematik - uri - - - - - - oberbegriffsdatei - uri - - - - - - aat - uri - - - - - - lcsh - uri - - - - - - md:term - uri - - - - - - - de - - - - - - - - - - - - - + + + + + + + + + + + + + + + uri + + + + + + + no + + + + + + + + + + - - + + + + + + + + gnd + uri + + + + + + grobsystematik + uri + + + + + + oberbegriffsdatei + uri + + + + + + aat + uri + + + + + + lcsh + uri + + + + + + md:term + uri + + + + + + + de + + + + + + + + + + + + + + + + + + + + + +