From af267eeb8f03b992ad3a4b0ff35aeb858bf11ed1 Mon Sep 17 00:00:00 2001 From: TobiasNx Date: Thu, 26 Oct 2023 16:05:00 +0200 Subject: [PATCH] Add variantName[] for f1nd (RPD-102) --- conf/output/test-output-rppd-lobid-12.json | 2 +- conf/output/test-output-rppd-lobid-20.json | 3 ++- conf/rppd-to-lobid.fix | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/conf/output/test-output-rppd-lobid-12.json b/conf/output/test-output-rppd-lobid-12.json index ab5ff6b7..a9a05037 100644 --- a/conf/output/test-output-rppd-lobid-12.json +++ b/conf/output/test-output-rppd-lobid-12.json @@ -2,5 +2,5 @@ "rppdId" : "pk00021", "id" : "https://lbz.rlp.de/rppd/pk00021", "preferredName" : "Anschuez, Carl / 1818-1870", - "variantName" : [ "Anschutz, Carl / 1818-1870" ] + "variantName" : [ "Anschutz, Carl / 1818-1870", "Anschütz, Karl Friedrich Nikolaus / 1818-1870" ] } diff --git a/conf/output/test-output-rppd-lobid-20.json b/conf/output/test-output-rppd-lobid-20.json index 91113cc9..daf01727 100644 --- a/conf/output/test-output-rppd-lobid-20.json +++ b/conf/output/test-output-rppd-lobid-20.json @@ -1,5 +1,6 @@ { "rppdId" : "pta1482", "id" : "https://lbz.rlp.de/rppd/pta1482", - "preferredName" : "Zenzen, Wilhelm / 1903-1963" + "preferredName" : "Zenzen, Wilhelm / 1903-1963", + "variantName" : [ "Zenzen, Eucharius ¬[Ordensname]¬" ] } diff --git a/conf/rppd-to-lobid.fix b/conf/rppd-to-lobid.fix index f285afaa..d0b7e9c3 100644 --- a/conf/rppd-to-lobid.fix +++ b/conf/rppd-to-lobid.fix @@ -24,12 +24,12 @@ copy_field("f1na", "preferredName") set_array("variantName[]") copy_field("f1nc[].*.f1nc", "variantName[].$append") +copy_field("f1nd[].*.f1nd", "variantName[].$append") -# f1nd[].*.f1nd # ------- -# #1ne (Bilddatei) -> image (neue Property?) +# #1ne (Bilddatei) -> depiction.id, oder url, der thumbnail (neue Property?) # Komentar Doku: vollständiger Dateiname ohne Pfadangaben, aber inkl. Endung; hinter dem Zeichen "@" kann man eine Quellenangabe einfügen; die zugehörige Datei wird an Herrn Dirx geschickt.; Beispiel: #1ne120251973_1.jpg@Mittelrhein-Museum Koblenz