diff --git a/conf/output/test-output-0.json b/conf/output/test-output-0.json index 0976b361..9d2b684b 100644 --- a/conf/output/test-output-0.json +++ b/conf/output/test-output-0.json @@ -73,5 +73,9 @@ }, "type" : [ "Contribution" ] } ], - "bibliographicCitation" : "Bertius, Petrus : P. Bertii Tabularum geographicarum contractarum libri septem; 380" + "bibliographicCitation" : "Bertius, Petrus : P. Bertii Tabularum geographicarum contractarum libri septem; 380", + "fulltextOnline" : [ { + "id" : "https://nbn-resolving.org/urn:nbn:de:hbz:061:1-70507", + "label" : "urn:nbn:de:hbz:061:1-70507" + } ] } diff --git a/conf/output/test-output-1.json b/conf/output/test-output-1.json index 25414bcf..bdd87e5b 100644 --- a/conf/output/test-output-1.json +++ b/conf/output/test-output-1.json @@ -73,5 +73,9 @@ }, "type" : [ "Contribution" ] } ], - "bibliographicCitation" : "Bertius, Petrus : P. Bertii Tabularum geographicarum contractarum libri septem; 378" + "bibliographicCitation" : "Bertius, Petrus : P. Bertii Tabularum geographicarum contractarum libri septem; 378", + "fulltextOnline" : [ { + "id" : "https://nbn-resolving.org/urn:nbn:de:hbz:061:1-70495", + "label" : "urn:nbn:de:hbz:061:1-70495" + } ] } diff --git a/conf/output/test-output-2.json b/conf/output/test-output-2.json index 3be256b6..ac4ca0a3 100644 --- a/conf/output/test-output-2.json +++ b/conf/output/test-output-2.json @@ -106,5 +106,9 @@ "label" : "Sonstige" }, "type" : [ "Contribution" ] + } ], + "fulltextOnline" : [ { + "id" : "https://nbn-resolving.org/urn:nbn:de:hbz:061:2-24485", + "label" : "urn:nbn:de:hbz:061:2-24485" } ] } diff --git a/conf/output/test-output-3.json b/conf/output/test-output-3.json index 1f1c621a..e81f91a2 100644 --- a/conf/output/test-output-3.json +++ b/conf/output/test-output-3.json @@ -99,5 +99,9 @@ "label" : "Sonstige" }, "type" : [ "Contribution" ] + } ], + "fulltextOnline" : [ { + "id" : "https://nbn-resolving.org/urn:nbn:de:hbz:061:2-1643", + "label" : "urn:nbn:de:hbz:061:2-1643" } ] } diff --git a/conf/output/test-output-4.json b/conf/output/test-output-4.json index 8a28d4a0..805120d6 100644 --- a/conf/output/test-output-4.json +++ b/conf/output/test-output-4.json @@ -98,5 +98,9 @@ "label" : "Illustrator" }, "type" : [ "Contribution" ] + } ], + "fulltextOnline" : [ { + "id" : "https://nbn-resolving.org/urn:nbn:de:hbz:061:2-1616", + "label" : "urn:nbn:de:hbz:061:2-1616" } ] } diff --git a/conf/output/test-output-57.json b/conf/output/test-output-57.json index 0ca3f0b4..e2c204a2 100644 --- a/conf/output/test-output-57.json +++ b/conf/output/test-output-57.json @@ -152,5 +152,9 @@ "label" : "Sonstige" }, "type" : [ "Contribution" ] + } ], + "fulltextOnline" : [ { + "id" : "https://nbn-resolving.org/urn:nbn:de:hbz:061:1-42026", + "label" : "urn:nbn:de:hbz:061:1-42026" } ] } diff --git a/conf/output/test-output-6.json b/conf/output/test-output-6.json index 8cc9b047..5db6558a 100644 --- a/conf/output/test-output-6.json +++ b/conf/output/test-output-6.json @@ -106,5 +106,9 @@ "label" : "Autor/in" }, "type" : [ "Contribution" ] + } ], + "fulltextOnline" : [ { + "id" : "https://nbn-resolving.org/urn:nbn:de:hbz:061:2-536", + "label" : "urn:nbn:de:hbz:061:2-536" } ] } diff --git a/conf/output/test-output-7.json b/conf/output/test-output-7.json index 5f197461..77faa073 100644 --- a/conf/output/test-output-7.json +++ b/conf/output/test-output-7.json @@ -106,5 +106,9 @@ "label" : "Autor/in" }, "type" : [ "Contribution" ] + } ], + "fulltextOnline" : [ { + "id" : "https://nbn-resolving.org/urn:nbn:de:hbz:061:2-1456", + "label" : "urn:nbn:de:hbz:061:2-1456" } ] } diff --git a/conf/output/test-output-8.json b/conf/output/test-output-8.json index 84f5cc17..67600d52 100644 --- a/conf/output/test-output-8.json +++ b/conf/output/test-output-8.json @@ -98,5 +98,9 @@ "label" : "Illustrator" }, "type" : [ "Contribution" ] + } ], + "fulltextOnline" : [ { + "id" : "https://nbn-resolving.org/urn:nbn:de:hbz:061:2-1602", + "label" : "urn:nbn:de:hbz:061:2-1602" } ] } diff --git a/conf/rpb-titel-to-lobid.fix b/conf/rpb-titel-to-lobid.fix index f0457e67..5377ff9f 100644 --- a/conf/rpb-titel-to-lobid.fix +++ b/conf/rpb-titel-to-lobid.fix @@ -296,6 +296,17 @@ elsif exists ("f709") end replace_all("bibliographicCitation","¬","") -retain( "type[]", "contribution[]", "extent", "hasItem[]", "responsibilityStatement[]", "language[]", "medium[]", "subject[]", "title", "hbzId", "oclcNumber[]", "otherTitleInformation[]", "natureOfContent[]", "publication[]", "sameAs[]", "describedBy", "@context", "id", "zdbId", "spatial[]", "inCollection[]", "rpbId", "schoeneNummer", "bibliographicCitation", "isPartOf[]", "note[]") +# fulltextOnline + +do list(path:"f90[]", "var": "$i") + if all_equal("$i.n90", "Volltext") + set_array("fulltextOnline[]") + copy_field("$i.f90_", "fulltextOnline[].$append.id") + copy_field("$i.f90_", "fulltextOnline[].$last.label") + replace_all("fulltextOnline[].$last.label", "https://nbn-resolving.org/", "") + end +end + +retain( "type[]", "contribution[]", "extent", "hasItem[]", "responsibilityStatement[]", "language[]", "medium[]", "subject[]", "title", "hbzId", "oclcNumber[]", "otherTitleInformation[]", "natureOfContent[]", "publication[]", "sameAs[]", "describedBy", "@context", "id", "zdbId", "spatial[]", "inCollection[]", "rpbId", "schoeneNummer", "bibliographicCitation", "isPartOf[]", "note[]", "fulltextOnline[]") vacuum()