From d9b66a0c6b1f1166063dc4f7cf08315abd35a3b9 Mon Sep 17 00:00:00 2001 From: Fabian Steeg Date: Tue, 19 Nov 2024 15:41:06 +0100 Subject: [PATCH 1/5] Add `alternativeTitle` from `f23?`, include in index & UI (RPB-114) --- app/views/tags/result_doc.scala.html | 1 + conf/output/test-output-33.json | 1 + conf/output/test-output-37.json | 1 + conf/output/test-output-58.json | 1 + conf/output/test-output-59.json | 1 + conf/output/test-output-63.json | 1 + conf/output/test-output-64.json | 1 + conf/output/test-output-66.json | 1 + conf/output/test-output-67.json | 1 + conf/output/test-output-69.json | 1 + conf/output/test-output-71.json | 1 + conf/output/test-output-87.json | 1 + conf/output/test-output-strapi.json | 4 ++-- conf/rpb-titel-to-lobid.fix | 5 ++++- conf/rpb-titel-to-strapi.fix | 2 +- 15 files changed, 19 insertions(+), 4 deletions(-) diff --git a/app/views/tags/result_doc.scala.html b/app/views/tags/result_doc.scala.html index f97cd0e4..0162f4e5 100644 --- a/app/views/tags/result_doc.scala.html +++ b/app/views/tags/result_doc.scala.html @@ -243,6 +243,7 @@ @table(){ Titel@((doc \ "title").asOpt[String].getOrElse("")) + @result_field("Alternativer Titel", "alternativeTitle", doc, TableRow.VALUES) @for(x <- (doc \ "otherTitleInformation").asOpt[Seq[JsValue]]) { Titelzusatz@x.head.asOpt[String].getOrElse("") } diff --git a/conf/output/test-output-33.json b/conf/output/test-output-33.json index 7b3ae7b5..3387228f 100644 --- a/conf/output/test-output-33.json +++ b/conf/output/test-output-33.json @@ -9,6 +9,7 @@ "label" : "Rheinland-Pfälzische Bibliographie" } ], "title" : "SWR-3-Clubmagazin", + "alternativeTitle" : [ "SWR-Drei-Clubmagazin", "SWR-3-Clubmagazin" ], "note" : [ "Vorgänger u.d.T.: On" ], "publication" : [ { "location" : [ "Baden-Baden" ], diff --git a/conf/output/test-output-37.json b/conf/output/test-output-37.json index a377ff79..0b0ec957 100644 --- a/conf/output/test-output-37.json +++ b/conf/output/test-output-37.json @@ -9,6 +9,7 @@ "label" : "Rheinland-Pfälzische Bibliographie" } ], "title" : "Die Zeitschrift : der Südwestrundfunk und seine Programme. Rheinland-Pfalz", + "alternativeTitle" : [ "SWR - Die Zeitschrift", "Südwestfunk : Südwestfunk-Journal" ], "note" : [ "Vorgänger u.d.T.: Südwestfunk : Südwestfunk-Journal" ], "publication" : [ { "location" : [ "Stuttgart" ], diff --git a/conf/output/test-output-58.json b/conf/output/test-output-58.json index 5f46ecc1..f694302d 100644 --- a/conf/output/test-output-58.json +++ b/conf/output/test-output-58.json @@ -10,6 +10,7 @@ "label" : "Rheinland-Pfälzische Bibliographie" } ], "title" : "Charte vom Laufe des Rheins von Coblenz bis Wesel [Elektronische Ressource] : das Herzogthum Berg, die Grafschaften Wied, Nieder-Isenburg und andere Länder vorstellend : mit röm. kaiserl. allergnaed. Freyheit", + "alternativeTitle" : [ "Charte vom Laufe des Rheins von Koblenz bis Wesel [Elektronische Ressource] : das Herzogthum Berg, die Grafschaften Wied, Nieder-Isenburg und andere Länder vorstellend : mit röm. kaiserl. allergnaed. Freyheit" ], "extent" : "1 Kt. : Kupferst. ; 57 x 41 cm", "note" : [ "Nebenkarte oben rechts: \"Charte den Lauf des Rheins von Coblenz bis Unkel nebst den anliegenden Ländern enthaltend\" (16 x 23 cm). - Nullmeridian: Ferro - Maßstab in graph,. Form (Deutsche Meilen) - Titelkartusche unten links" ], "responsibilityStatement" : [ "entworfen von F. L. Güssefeld ; [Stecher:] I. Rausch" ], diff --git a/conf/output/test-output-59.json b/conf/output/test-output-59.json index 4a17d5fa..c24658a2 100644 --- a/conf/output/test-output-59.json +++ b/conf/output/test-output-59.json @@ -10,6 +10,7 @@ "label" : "Rheinland-Pfälzische Bibliographie" } ], "title" : "Rhein-Zeitung : unabhängige Tageszeitung", + "alternativeTitle" : [ "Ausg. C, Andernach/Mayen" ], "note" : [ "Vorg. u.d.T.: Rhein-Zeitung / CA. - Vorg. u.d.T.: Rhein-Zeitung / CM" ], "publication" : [ { "location" : [ "Koblenz" ], diff --git a/conf/output/test-output-63.json b/conf/output/test-output-63.json index 2809e64e..ca6cc6dc 100644 --- a/conf/output/test-output-63.json +++ b/conf/output/test-output-63.json @@ -9,6 +9,7 @@ "label" : "Rheinland-Pfälzische Bibliographie" } ], "title" : "Ausstellung \"Auf den Spuren Mozarts\" [Elektronische Ressource]", + "alternativeTitle" : [ "Auf den Spuren Mozarts" ], "publication" : [ { "location" : [ "Waldbreitbach" ], "startDate" : "2007", diff --git a/conf/output/test-output-64.json b/conf/output/test-output-64.json index e5982ee4..458975f6 100644 --- a/conf/output/test-output-64.json +++ b/conf/output/test-output-64.json @@ -9,6 +9,7 @@ "label" : "Rheinland-Pfälzische Bibliographie" } ], "title" : "Bilderausstellung \"Von der Wied an den Rhein\" - Dr. Heiner Kussmaul, Yvonne Kussmaul [Elektronische Ressource]", + "alternativeTitle" : [ "Von der Wied an den Rhein" ], "publication" : [ { "location" : [ "Waldbreitbach" ], "startDate" : "2007", diff --git a/conf/output/test-output-66.json b/conf/output/test-output-66.json index a386c43b..4b285df8 100644 --- a/conf/output/test-output-66.json +++ b/conf/output/test-output-66.json @@ -9,6 +9,7 @@ "label" : "Rheinland-Pfälzische Bibliographie" } ], "title" : "100 Jahre St. Barbara in Koblenz : 1908 - 2008", + "alternativeTitle" : [ "Hundert Jahre St. Barbara in Koblenz" ], "extent" : "99 S. : zahlr. Ill.", "responsibilityStatement" : [ "Alten- und Pflegeheim St. Barbara Koblenz. [Autoren: Ulrich Keller ... ]" ], "publication" : [ { diff --git a/conf/output/test-output-67.json b/conf/output/test-output-67.json index 90522fac..f98d9fab 100644 --- a/conf/output/test-output-67.json +++ b/conf/output/test-output-67.json @@ -9,6 +9,7 @@ "label" : "Rheinland-Pfälzische Bibliographie" } ], "title" : "100 Jahre Kirner Volksbank : Chronik 1908 - 2008", + "alternativeTitle" : [ "Hundert Jahre Kirner Volksbank" ], "extent" : "[12] S. : zahlr. Ill.", "publication" : [ { "location" : [ "Kirn" ], diff --git a/conf/output/test-output-69.json b/conf/output/test-output-69.json index 8b846e47..04875b08 100644 --- a/conf/output/test-output-69.json +++ b/conf/output/test-output-69.json @@ -9,6 +9,7 @@ "label" : "Rheinland-Pfälzische Bibliographie" } ], "title" : "Festschrift des DRK-Ortsverein Adenau e.V. [Elektronische Ressource]", + "alternativeTitle" : [ "\"Helfen, ohne zu fragen wem!\"" ], "publication" : [ { "location" : [ "Adenau" ], "type" : [ "PublicationEvent" ] diff --git a/conf/output/test-output-71.json b/conf/output/test-output-71.json index e2eab672..06ea314e 100644 --- a/conf/output/test-output-71.json +++ b/conf/output/test-output-71.json @@ -14,6 +14,7 @@ "label" : "BiblioVino" } ], "title" : "Weinkulturlandschaft Mosel : Dornen statt Reben", + "alternativeTitle" : [ "Dornen statt Reben" ], "extent" : "Ill.", "responsibilityStatement" : [ "Rolfjosef Hamacher und Ulrich Stein" ], "publication" : [ { diff --git a/conf/output/test-output-87.json b/conf/output/test-output-87.json index 78059ced..adbd9a8e 100644 --- a/conf/output/test-output-87.json +++ b/conf/output/test-output-87.json @@ -9,6 +9,7 @@ "label" : "Rheinland-Pfälzische Bibliographie" } ], "title" : "2000 Jahre Meilbrück : vom römischen Tempelbezirk zur modernen Raststätte; Von den Anfängen bis zum Ende der Römerherrschaft", + "alternativeTitle" : [ "Zweitausend Jahre Meilbrück" ], "extent" : "Ill.", "publication" : [ { "startDate" : "1990", diff --git a/conf/output/test-output-strapi.json b/conf/output/test-output-strapi.json index cfb4ad02..1d3a8ba1 100644 --- a/conf/output/test-output-strapi.json +++ b/conf/output/test-output-strapi.json @@ -35,7 +35,7 @@ {"rpbId":"107t982373b1","numbering":"1998,1(Sept.) -","title":"SWR-3-Clubmagazin : 1998,1(Sept.) -","type":"Band","isPartOf":[{"value":"SWR-3-Clubmagazin"}],"publicationDate":"s. Zählung in numbering","publicationYear":"s. Zählung in numbering","item":[{"value":"Per. 15621/1998-","type":"SP"}],"inCollection":"nur RPB","volumeIn":{"numbering":"1998,1(Sept.) -","sortBy":"1998","value":"https://lobid.org/resources/107t982373"}} {"f35_":"_r01_ ; _sn882040_","f36a":"z","f37_":"_sn882040_ ; _r01_","f96_":"20120221/12:54:31\u001FSP","f97x":"per","f36t":"MultiVolumeBook","rpbId":"107t982374","title":"On : SWF 3, das Magazin","type":"Mehrt. Mono (ÜO)","publicationLocation":"Rastatt","publishedBy":"Pabel-Moewig","publicationDate":"1992","publicationYear":"1992","note":[{"value":"Ersch. früher in: Offenburg : Opal-Verl. [1995,2]"}],"created":"19990702/16:44:27\u001FSP","subject":[{"value":"http://purl.org/lobid/rpb#n882040"}],"spatial":[{"value":"https://rpb.lobid.org/spatial#n01"}],"subjectComponentList":[{"subjectComponent":[{"value":"https://d-nb.info/gnd/4264102-0"},{"value":"http://rpb.lobid.org/sw/z64"},{"value":"https://d-nb.info/gnd/4067488-5"}]}],"responsibilityStatement":"hrsg. von: SWF 3, Der Club","item":[{"value":"Per. 14726","type":"SP"}],"corporateBody":[{"value":"https://d-nb.info/gnd/5166552-9","type":"Herausgebendes Organ"}],"inCollection":"nur RPB"} {"rpbId":"107t982374b1","numbering":"1992 - 1998,2","title":"On : SWF 3, das Magazin : 1992 - 1998,2","type":"Band","note":[{"value":"Damit Erscheinen eingest. - Forts. u.d.T.: SWR-3-Clubmagazin"}],"isPartOf":[{"value":"On : SWF 3, das Magazin"}],"publicationDate":"s. Zählung in numbering","publicationYear":"s. Zählung in numbering","item":[{"value":"Per. 14726/1995-1998,2","type":"SP"}],"inCollection":"nur RPB","volumeIn":{"numbering":"1992 - 1998,2","sortBy":"1998","value":"https://lobid.org/resources/107t982374"}} -{"f19_":"Die Zeitschrift / Rheinland-Pfalz","f23_":"SWR - Die Zeitschrift","f35_":"_r01_ ; _sn882030_","f36a":"z","f37_":"_sn882030_ ; _r01_","f96_":"20120221/13:09:28\u001FSP","f97x":"per","f36t":"MultiVolumeBook","rpbId":"107t982375","title":"Die Zeitschrift : der Südwestrundfunk und seine Programme. Rheinland-Pfalz","alternativeTitle":[{"value":"Südwestfunk : Südwestfunk-Journal"}],"type":"Mehrt. Mono (ÜO)","publicationLocation":"Stuttgart","publishedBy":"SWR","publicationDate":"1998","publicationYear":"1998","note":[{"value":"Vorgänger u.d.T.: Südwestfunk : Südwestfunk-Journal"}],"created":"19990803/15:52:59\u001FSP","subject":[{"value":"http://purl.org/lobid/rpb#n882030"}],"spatial":[{"value":"https://rpb.lobid.org/spatial#n01"}],"subjectComponentList":[{"subjectComponent":[{"value":"https://d-nb.info/gnd/5295938-7"},{"value":"https://d-nb.info/gnd/4067488-5"}]}],"item":[{"value":"Per. 15620","type":"SP"}],"corporateBody":[{"value":"https://d-nb.info/gnd/5295938-7","type":"Geistiger Schöpfer"}],"inCollection":"nur RPB"} +{"f19_":"Die Zeitschrift / Rheinland-Pfalz","f35_":"_r01_ ; _sn882030_","f36a":"z","f37_":"_sn882030_ ; _r01_","f96_":"20120221/13:09:28\u001FSP","f97x":"per","f36t":"MultiVolumeBook","rpbId":"107t982375","title":"Die Zeitschrift : der Südwestrundfunk und seine Programme. Rheinland-Pfalz","alternativeTitle":[{"value":"SWR - Die Zeitschrift"},{"value":"Südwestfunk : Südwestfunk-Journal"}],"type":"Mehrt. Mono (ÜO)","publicationLocation":"Stuttgart","publishedBy":"SWR","publicationDate":"1998","publicationYear":"1998","note":[{"value":"Vorgänger u.d.T.: Südwestfunk : Südwestfunk-Journal"}],"created":"19990803/15:52:59\u001FSP","subject":[{"value":"http://purl.org/lobid/rpb#n882030"}],"spatial":[{"value":"https://rpb.lobid.org/spatial#n01"}],"subjectComponentList":[{"subjectComponent":[{"value":"https://d-nb.info/gnd/5295938-7"},{"value":"https://d-nb.info/gnd/4067488-5"}]}],"item":[{"value":"Per. 15620","type":"SP"}],"corporateBody":[{"value":"https://d-nb.info/gnd/5295938-7","type":"Geistiger Schöpfer"}],"inCollection":"nur RPB"} {"rpbId":"107t982375b1","numbering":"1998,1(Sept.) - 2001,9(Sept.)","title":"Die Zeitschrift : der Südwestrundfunk und seine Programme. Rheinland-Pfalz : 1998,1(Sept.) - 2001,9(Sept.)","type":"Band","note":[{"value":"Forts. u.d.T.: Doppelpfeil"}],"isPartOf":[{"value":"Die Zeitschrift : der Südwestrundfunk und seine Programme. Rheinland-Pfalz"}],"publicationDate":"s. Zählung in numbering","publicationYear":"s. Zählung in numbering","item":[{"value":"Per. 15620/1998,1-2001,9","type":"SP"}],"inCollection":"nur RPB","volumeIn":{"numbering":"1998,1(Sept.) - 2001,9(Sept.)","sortBy":"2001","value":"https://lobid.org/resources/107t982375"}} {"f35_":"_r01_ ; _sn163080_","f35a":"_r01_ ; _sn584060_","f36a":"z","f37_":"_sn163080_ ; _r01_","f37a":"_sn584060_ ; _r01_","f96_":"20120221/13:09:28\u001FSP","f97x":"per","f36t":"MultiVolumeBook","rpbId":"107t982376","title":"Flieg und flatter : Aktuelles aus der Vogelschutzwarte","type":"Mehrt. Mono (ÜO)","publicationLocation":"Frankfurt/Main","publicationDate":"1997","publicationYear":"1997","created":"19990702/17:27:17\u001FSP","subject":[{"value":"http://purl.org/lobid/rpb#n163080"},{"value":"http://purl.org/lobid/rpb#n584060"}],"spatial":[{"value":"https://rpb.lobid.org/spatial#n01"}],"subjectComponentList":[{"subjectComponent":[{"value":"http://rpb.lobid.org/sw/z64"},{"value":"https://d-nb.info/gnd/4067488-5"}]}],"responsibilityStatement":"Institut für Angewandte Vogelkunde, Staatliche Vogelschutzwarte für Hessen, Rheinland-Pfalz und Saarland","item":[{"value":"Per. 15655","type":"SP"}],"corporateBody":[{"value":"https://d-nb.info/gnd/1033772-6","type":"Herausgebendes Organ"}],"inCollection":"nur RPB"} {"rpbId":"107t982376b1","numbering":"Ausg. 1.1997(Dez.) -","title":"Flieg und flatter : Aktuelles aus der Vogelschutzwarte : Ausg. 1.1997(Dez.) -","type":"Band","isPartOf":[{"value":"Flieg und flatter : Aktuelles aus der Vogelschutzwarte"}],"publicationDate":"s. Zählung in numbering","publicationYear":"s. Zählung in numbering","item":[{"value":"Per. 15655/1.1997-","type":"SP"}],"inCollection":"nur RPB","volumeIn":{"numbering":"Ausg. 1.1997(Dez.) -","sortBy":"1997","value":"https://lobid.org/resources/107t982376"}} @@ -57,7 +57,7 @@ {"f35_":"_r99_ _o13209039_ ; _sn611070_","f37_":"_sn611070_ ; _r99_ _o13209039_","f70t":"Rhein-Zeitung, Ausg. H","f70y":"Rhein-Zeitung, Ausg. H. - 66 (2011), 126 vom 31.05., S. 24","f88_":"2522761-0","f96_":"20120809/16:13:40\u001FZR","rpbId":"929t112197","title":"Seit 1911 weht im Vinzenzhaus der Geist der Nächstenliebe : 100-Jahr-Feier in Gebhardshain ; vom Konvent zum Seniorenheim","type":"u","bibliographicCitation":[{"value":"In: Rhein-Zeitung, Ausg. H. - 66 (2011), 126 vom 31.05., Seite 24. -","volume":"66","issue":"126 vom 31.05.","year":"2011","pages":"24"}],"publicationDate":"2011","publicationYear":"2011","extent":"Ill.","created":"20110601/09:14:31\u001FKO","subject":[{"value":"http://purl.org/lobid/rpb#n611070"}],"spatial":[{"value":"https://rpb.lobid.org/spatial#n13209039"}],"subjectComponentList":[{"subjectComponent":[{"value":"https://d-nb.info/gnd/16326855-1"},{"value":"http://rpb.lobid.org/sw/00Sn10s3817103a"}]}],"item":[{"value":"ZB 151:2011;MZ 52:2011","type":"KO"}],"person":[{"value":"http://rpb.lobid.org/sw/929n991002","type":"Verfasser/in"}],"inCollection":"nur RPB"} {"f35_":"_r99_ _o13203050_ ; _sn848000_","f37_":"_sn848000_ ; _r99_ _o13203050_","f83_":"Sander, August / 1876-1964","f87_":"3-8031-1114-5","f871":"978-3-8031-1114-2","f96_":"20110601/09:44:37\u001FKO","rpbId":"929t112198","title":"Das Leben der Bilder oder die Kunst des Sehens","type":"Monografie","edition":"11. Aufl.","publicationLocation":"Berlin","publishedBy":"Wagenbach","publicationDate":"2009","publicationYear":"2009","extent":"141 S. : Ill.","note":[{"value":"Aus dem Engl. übers."}],"created":"20110601/09:39:26\u001FHBZ","hbzId":"HT015954631","subject":[{"value":"http://purl.org/lobid/rpb#n848000"}],"spatial":[{"value":"https://rpb.lobid.org/spatial#n13203050"}],"subjectComponentList":[{"subjectComponent":[{"value":"https://d-nb.info/gnd/4114333-4"},{"value":"https://d-nb.info/gnd/4143413-4"}]},{"subjectComponent":[{"value":"https://d-nb.info/gnd/118605364"}]}],"inSeries":[{"value":"Salto ; [13]"}],"responsibilityStatement":"John Berger","item":[{"value":"2011/1822","type":"KO"}],"person":[{"value":"http://rpb.lobid.org/sw/00Pn11k2198999a","type":"Verfasser/in"}],"inCollection":"nur RPB","isbn":[{"value":"3-8031-1114-5","valid":true},{"value":"978-3-8031-1114-2","valid":true}]} {"f35_":"_r22_ ; _sn126000_","f37_":"_sn126000_ ; _r22_","f96_":"20110601/09:51:55\u001FKO","rpbId":"929t112199","title":"Charte vom Laufe des Rheins von Coblenz bis Wesel [Elektronische Ressource] : das Herzogthum Berg, die Grafschaften Wied, Nieder-Isenburg und andere Länder vorstellend : mit röm. kaiserl. allergnaed. Freyheit","alternativeTitle":[{"value":"Charte vom Laufe des Rheins von Koblenz bis Wesel [Elektronische Ressource] : das Herzogthum Berg, die Grafschaften Wied, Nieder-Isenburg und andere Länder vorstellend : mit röm. kaiserl. allergnaed. Freyheit"}],"type":"Monografie","publicationLocation":"Nürnberg","publishedBy":"Homännische Erben","publicationDate":"1797","publicationYear":"1797","extent":"1 Kt. : Kupferst. ; 57 x 41 cm","note":[{"value":"Nebenkarte oben rechts: \"Charte den Lauf des Rheins von Coblenz bis Unkel nebst den anliegenden Ländern enthaltend\" (16 x 23 cm). - Nullmeridian: Ferro - Maßstab in graph,. Form (Deutsche Meilen) - Titelkartusche unten links"}],"created":"20110601/09:46:34\u001FHBZ","hbzId":"CT003007380","subject":[{"value":"http://purl.org/lobid/rpb#n126000"}],"spatial":[{"value":"https://rpb.lobid.org/spatial#n22"}],"subjectComponentList":[{"subjectComponent":[{"value":"https://d-nb.info/gnd/4074902-2"},{"value":"https://d-nb.info/gnd/4611904-8"},{"value":"https://d-nb.info/gnd/4511937-5"}]},{"subjectComponent":[{"value":"https://d-nb.info/gnd/4042224-0"},{"value":"https://d-nb.info/gnd/4611904-8"},{"value":"https://d-nb.info/gnd/4511937-5"}]},{"subjectComponent":[{"value":"https://d-nb.info/gnd/4005659-4"},{"value":"https://d-nb.info/gnd/4611904-8"},{"value":"https://d-nb.info/gnd/4511937-5"}]}],"responsibilityStatement":"entworfen von F. L. Güssefeld ; [Stecher:] I. Rausch","url":[{"value":"https://nbn-resolving.org/urn:nbn:de:hbz:061:1-42026","type":"Volltext"}],"person":[{"value":"http://rpb.lobid.org/sw/00Gn11k2199217a","type":"Mitwirkung"},{"value":"https://d-nb.info/gnd/178964131","type":"Sonstige"},{"value":"http://rpb.lobid.org/sw/00Pn01k23917383a","type":"Sonstige"},{"value":"http://rpb.lobid.org/sw/00Pn01t22981785a","type":"Sonstige"}],"inCollection":"nur RPB"} -{"f19_":"Rhein-Zeitung / C","f23_":"Ausg. C, Andernach/Mayen","f35_":"_r99_ _o137_ ; _sn882026_","f37_":"_sn882026_ ; _r99_ _o137_","f88_":"2602949-2","f96_":"20110503/13:09:46\u001FZR","f97x":"per","f36t":"Periodical","rpbId":"929t111801","title":"Rhein-Zeitung : unabhängige Tageszeitung","type":"Mehrt. Mono (ÜO)","publicationLocation":"Koblenz","publishedBy":"Mittelrhein-Verl.","publicationDate":"2011","publicationYear":"2011","note":[{"value":"Vorg. u.d.T.: Rhein-Zeitung / CA. - Vorg. u.d.T.: Rhein-Zeitung / CM"}],"created":"20110503/12:48:18\u001FHBZ","hbzId":"HT016782154","subject":[{"value":"http://purl.org/lobid/rpb#n882026"}],"spatial":[{"value":"https://rpb.lobid.org/spatial#n137"}],"subjectComponentList":[{"subjectComponent":[{"value":"https://d-nb.info/gnd/4038117-1"},{"value":"https://d-nb.info/gnd/4067510-5"}]}],"item":[{"value":"ZB 32 MAG","type":"KO"}],"inCollection":"nur RPB"} +{"f19_":"Rhein-Zeitung / C","f35_":"_r99_ _o137_ ; _sn882026_","f37_":"_sn882026_ ; _r99_ _o137_","f88_":"2602949-2","f96_":"20110503/13:09:46\u001FZR","f97x":"per","f36t":"Periodical","rpbId":"929t111801","title":"Rhein-Zeitung : unabhängige Tageszeitung","alternativeTitle":[{"value":"Ausg. C, Andernach/Mayen"}],"type":"Mehrt. Mono (ÜO)","publicationLocation":"Koblenz","publishedBy":"Mittelrhein-Verl.","publicationDate":"2011","publicationYear":"2011","note":[{"value":"Vorg. u.d.T.: Rhein-Zeitung / CA. - Vorg. u.d.T.: Rhein-Zeitung / CM"}],"created":"20110503/12:48:18\u001FHBZ","hbzId":"HT016782154","subject":[{"value":"http://purl.org/lobid/rpb#n882026"}],"spatial":[{"value":"https://rpb.lobid.org/spatial#n137"}],"subjectComponentList":[{"subjectComponent":[{"value":"https://d-nb.info/gnd/4038117-1"},{"value":"https://d-nb.info/gnd/4067510-5"}]}],"item":[{"value":"ZB 32 MAG","type":"KO"}],"inCollection":"nur RPB"} {"rpbId":"929t111801b1","numbering":"66.2011,77(1.Apr.) -","title":"Rhein-Zeitung : unabhängige Tageszeitung : 66.2011,77(1.Apr.) -","type":"Band","isPartOf":[{"value":"Rhein-Zeitung : unabhängige Tageszeitung"}],"publicationDate":"s. Zählung in numbering","publicationYear":"s. Zählung in numbering","inCollection":"nur RPB","volumeIn":{"numbering":"66.2011,77(1.Apr.) -","sortBy":"2011","value":"https://lobid.org/resources/929t111801"}} {"f35_":"_r28_ ; _sn802040_","f37_":"_sn802040_ ; _r28_","f96_":"20081111/10:41:33\u001FKO","rpbId":"929t084656","title":"Weinteufel [Elektronische Ressource]","type":"Monografie","publicationLocation":"[Ahrweiler]","publishedBy":"Ahrtal-Video Faupel","publicationDate":"2006","publicationYear":"2006","created":"20081111/10:40:14\u001FHBZ","subject":[{"value":"http://purl.org/lobid/rpb#n802040"}],"spatial":[{"value":"https://rpb.lobid.org/spatial#n28"}],"subjectComponentList":[{"subjectComponent":[{"value":"https://d-nb.info/gnd/4084812-7"},{"value":"https://d-nb.info/gnd/4031952-0"},{"value":"https://d-nb.info/gnd/4585131-1"}]}],"responsibilityStatement":"nach der Operette von Michael Thelen, Text. Musik Hans Wolf. Regie u. Bearb.: Gisbert Stenz","item":[{"value":"T 2539","type":"KO"}],"person":[{"value":"http://rpb.lobid.org/sw/00Pn08k4656727a","type":"Sonstige"},{"value":"http://rpb.lobid.org/sw/00Pn95s0673b","type":"Sonstige"}],"inCollection":"nur RPB"} {"f35_":"_r99_ _o13807019_ ; _sn784041_","f37_":"_sn784041_ ; _r99_ _o13807019_","f96_":"20081111/10:43:28\u001FKO","rpbId":"929t084657","title":"Fit zur WM 2006 [Elektronische Ressource]","type":"Monografie","publicationLocation":"Erpel","publicationDate":"2006","publicationYear":"2006","created":"20081111/10:42:38\u001FHBZ","subject":[{"value":"http://purl.org/lobid/rpb#n784041"}],"spatial":[{"value":"https://rpb.lobid.org/spatial#n13807019"}],"subjectComponentList":[{"subjectComponent":[{"value":"https://d-nb.info/gnd/4839067-7"},{"value":"https://d-nb.info/gnd/4510321-5"},{"value":"https://d-nb.info/gnd/4585131-1"}]}],"responsibilityStatement":"Grundschule St. Johannes","item":[{"value":"T 2478","type":"KO"}],"corporateBody":[{"value":"https://d-nb.info/gnd/10120647-1","type":"Herausgebendes Organ"}],"inCollection":"nur RPB"} diff --git a/conf/rpb-titel-to-lobid.fix b/conf/rpb-titel-to-lobid.fix index c64ef5b8..5f993f79 100644 --- a/conf/rpb-titel-to-lobid.fix +++ b/conf/rpb-titel-to-lobid.fix @@ -103,6 +103,9 @@ if is_array("title") end replace_all("title", "\\s\\+", "") +move_field("alternativeTitle[]", "alternativeTitleObjects[]") +copy_field("alternativeTitleObjects[].*.value", "alternativeTitle[]") + # ------- "extent" ------- call_macro("move_here", field: "extent") @@ -362,6 +365,6 @@ end move_field("edition", "edition[]") -retain( "type[]", "contribution[]", "edition[]", "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[]", "description[]", "isbn[]", "containedIn[]") +retain( "type[]", "contribution[]", "edition[]", "extent", "hasItem[]", "responsibilityStatement[]", "language[]", "medium[]", "subject[]", "title", "hbzId", "oclcNumber[]", "otherTitleInformation[]", "alternativeTitle[]", "natureOfContent[]", "publication[]", "sameAs[]", "describedBy", "@context", "id", "zdbId", "spatial[]", "inCollection[]", "rpbId", "schoeneNummer", "bibliographicCitation", "isPartOf[]", "note[]", "fulltextOnline[]", "description[]", "isbn[]", "containedIn[]") vacuum() diff --git a/conf/rpb-titel-to-strapi.fix b/conf/rpb-titel-to-strapi.fix index 21cafd05..710a5866 100644 --- a/conf/rpb-titel-to-strapi.fix +++ b/conf/rpb-titel-to-strapi.fix @@ -80,7 +80,7 @@ move_field("f20_", "title") join_field("title", "; ") move_field("f21_", "preferredTitle") call_macro("move_all", from: "f24?", to: "parallelTitle") -call_macro("move_all", from: "f27?", to: "alternativeTitle") +call_macro("move_all", from: "f2[37]?", to: "alternativeTitle") move_field("f28_", "alternativeSpelling") move_field("f36_", "type") if is_array("type") From 5749097669b4e7c33e40099a7ef01d1cd122a318 Mon Sep 17 00:00:00 2001 From: Fabian Steeg Date: Thu, 21 Nov 2024 16:04:46 +0100 Subject: [PATCH 2/5] Tweak search result list layout (space, footer position) --- app/views/tags/facets.scala.html | 1 - public/stylesheets/nwbib.css | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app/views/tags/facets.scala.html b/app/views/tags/facets.scala.html index 1d6428e9..8fe2a3e4 100644 --- a/app/views/tags/facets.scala.html +++ b/app/views/tags/facets.scala.html @@ -145,4 +145,3 @@
@facets("Bestand in Bibliotheken", Application.ITEM_FIELD, owner, "dropup")
*@
- diff --git a/public/stylesheets/nwbib.css b/public/stylesheets/nwbib.css index 8e5eb217..a701e453 100644 --- a/public/stylesheets/nwbib.css +++ b/public/stylesheets/nwbib.css @@ -12,7 +12,7 @@ dd { } #nwbib-form { - padding-bottom: 0em; + padding-bottom: 1em; } input#owner { From c562904ad81a7a14b9e9e4978b5257a06ced5b2e Mon Sep 17 00:00:00 2001 From: Fabian Steeg Date: Wed, 27 Nov 2024 13:13:20 +0100 Subject: [PATCH 3/5] Add missing transformation and display for title fields (RPB-114) Add `alternativeSpelling` to `alternativeTitle`, `parallelTitle` to `otherTitleInformation`, display all `otherTitleInformation` values in details view, don't sort values. --- app/views/tags/result_doc.scala.html | 4 +--- app/views/tags/result_field.scala.html | 2 +- conf/output/test-output-5.json | 1 + conf/output/test-output-74.json | 1 + conf/rpb-titel-to-lobid.fix | 11 ++++++++++- 5 files changed, 14 insertions(+), 5 deletions(-) diff --git a/app/views/tags/result_doc.scala.html b/app/views/tags/result_doc.scala.html index 0162f4e5..49ae24b7 100644 --- a/app/views/tags/result_doc.scala.html +++ b/app/views/tags/result_doc.scala.html @@ -243,10 +243,8 @@ @table(){ Titel@((doc \ "title").asOpt[String].getOrElse("")) + @result_field("Titelzusatz", "otherTitleInformation", doc, TableRow.VALUES) @result_field("Alternativer Titel", "alternativeTitle", doc, TableRow.VALUES) - @for(x <- (doc \ "otherTitleInformation").asOpt[Seq[JsValue]]) { - Titelzusatz@x.head.asOpt[String].getOrElse("") - } @result_field("Unterreihe", "titleOfSubSeries", doc, TableRow.VALUES) @result_field("Verantwortlich", "responsibilityStatement", doc, TableRow.VALUES) @contributions((doc \ "contribution").asOpt[Seq[JsValue]].getOrElse(Seq())) diff --git a/app/views/tags/result_field.scala.html b/app/views/tags/result_field.scala.html index 52b0a481..0dc87ef8 100644 --- a/app/views/tags/result_field.scala.html +++ b/app/views/tags/result_field.scala.html @@ -27,5 +27,5 @@ property, param, label, - multiSingleOrEmptySeq(jsonVal(property)).map(_.asOpt[String].getOrElse("--")).sorted(Ordering[String].reverse), + multiSingleOrEmptySeq(jsonVal(property)).map(_.asOpt[String].getOrElse("--")), if(valueLabel.isEmpty){ Optional.empty() } else { Optional.of(valueLabel.get) })) diff --git a/conf/output/test-output-5.json b/conf/output/test-output-5.json index 55dcf5fe..42a149a1 100644 --- a/conf/output/test-output-5.json +++ b/conf/output/test-output-5.json @@ -10,6 +10,7 @@ "label" : "Rheinland-Pfälzische Bibliographie" } ], "title" : "Sagas légendes des bords du Rhin [Elektronische Ressource] : orné de 8 gravures sur acier", + "alternativeTitle" : [ "Düsseldorf" ], "extent" : "[1] Bl., VIII, 299 S., [7] Bl. : Ill.", "note" : [ "HT003558438 Dt. Ausg. u.d.T.: Rheinlands Sagen, Geschichten und Legenden" ], "responsibilityStatement" : [ "[Alfred von Reumont]. D'après les dessins des peintres de l' Ecole de Dusseldorf [Kretschmer del. ; Plüddemann del. ; Alfred Rethel del. ; Sonderland del.]" ], diff --git a/conf/output/test-output-74.json b/conf/output/test-output-74.json index 43e9b6bb..fbc91af7 100644 --- a/conf/output/test-output-74.json +++ b/conf/output/test-output-74.json @@ -9,6 +9,7 @@ "label" : "Rheinland-Pfälzische Bibliographie" } ], "title" : "Piffche-Bahnfahrt durch Rheinhessen", + "otherTitleInformation" : [ "= Piffsche-Bahnfahrd dorsch Rhoihesse" ], "note" : [ "Text teilweise Hochdeutsch, teilweise in rheinhessischem Dialekt" ], "responsibilityStatement" : [ "Hartmut Keil" ], "publication" : [ { diff --git a/conf/rpb-titel-to-lobid.fix b/conf/rpb-titel-to-lobid.fix index 5f993f79..b4a41cce 100644 --- a/conf/rpb-titel-to-lobid.fix +++ b/conf/rpb-titel-to-lobid.fix @@ -103,8 +103,17 @@ if is_array("title") end replace_all("title", "\\s\\+", "") +# ------- "otherTitleInformation" ------- +set_array("otherTitleInformation[]") +copy_field("otherTitleInformation", "otherTitleInformation[].$append") +prepend("parallelTitle[].*.value", "= ") +copy_field("parallelTitle[].*.value", "otherTitleInformation[].$append") + +# ------- "alternativeTitle" ------- move_field("alternativeTitle[]", "alternativeTitleObjects[]") -copy_field("alternativeTitleObjects[].*.value", "alternativeTitle[]") +set_array("alternativeTitle[]") +copy_field("alternativeSpelling", "alternativeTitle[].$append") +copy_field("alternativeTitleObjects[].*.value", "alternativeTitle[].$append") # ------- "extent" ------- From 7ea887cbdb180eaea8bd391d8f72356933995377 Mon Sep 17 00:00:00 2001 From: Fabian Steeg Date: Wed, 27 Nov 2024 13:52:59 +0100 Subject: [PATCH 4/5] =?UTF-8?q?Filter=20'Systematik'=20subjects=20for=20'S?= =?UTF-8?q?chlagw=C3=B6rter'=20display?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/tags/result_doc.scala.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/tags/result_doc.scala.html b/app/views/tags/result_doc.scala.html index 49ae24b7..e20af8e1 100644 --- a/app/views/tags/result_doc.scala.html +++ b/app/views/tags/result_doc.scala.html @@ -273,7 +273,7 @@ @raumsystematik("https://rpb.lobid.org/spatial") @sachsystematik("http://purl.org/lobid/rpb") - @subjects((doc \ "subject").asOpt[Seq[JsValue]].getOrElse(Seq())) + @subjects((doc \ "subject").asOpt[Seq[JsValue]].getOrElse(Seq()).filter(v => !(v \ "source").toString.contains("Systematik"))) @result_field("Schlagwortfolge", "subjectChain", doc, TableRow.VALUES, valueLabel = Option(Seq())) From 0e4696bb3c052dfdf893fb07015e6afcd4b61dcd Mon Sep 17 00:00:00 2001 From: Fabian Steeg Date: Thu, 28 Nov 2024 11:12:53 +0100 Subject: [PATCH 5/5] Transform `alternativeSpelling` to `titleKeyword` (RPB-114) To hide field in details view, but keep it searchable --- conf/output/test-output-5.json | 2 +- conf/rpb-titel-to-lobid.fix | 10 ++++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/conf/output/test-output-5.json b/conf/output/test-output-5.json index 42a149a1..de7c8281 100644 --- a/conf/output/test-output-5.json +++ b/conf/output/test-output-5.json @@ -10,7 +10,7 @@ "label" : "Rheinland-Pfälzische Bibliographie" } ], "title" : "Sagas légendes des bords du Rhin [Elektronische Ressource] : orné de 8 gravures sur acier", - "alternativeTitle" : [ "Düsseldorf" ], + "titleKeyword" : [ "Düsseldorf" ], "extent" : "[1] Bl., VIII, 299 S., [7] Bl. : Ill.", "note" : [ "HT003558438 Dt. Ausg. u.d.T.: Rheinlands Sagen, Geschichten und Legenden" ], "responsibilityStatement" : [ "[Alfred von Reumont]. D'après les dessins des peintres de l' Ecole de Dusseldorf [Kretschmer del. ; Plüddemann del. ; Alfred Rethel del. ; Sonderland del.]" ], diff --git a/conf/rpb-titel-to-lobid.fix b/conf/rpb-titel-to-lobid.fix index b4a41cce..dadd2006 100644 --- a/conf/rpb-titel-to-lobid.fix +++ b/conf/rpb-titel-to-lobid.fix @@ -111,9 +111,11 @@ copy_field("parallelTitle[].*.value", "otherTitleInformation[].$append") # ------- "alternativeTitle" ------- move_field("alternativeTitle[]", "alternativeTitleObjects[]") -set_array("alternativeTitle[]") -copy_field("alternativeSpelling", "alternativeTitle[].$append") -copy_field("alternativeTitleObjects[].*.value", "alternativeTitle[].$append") +copy_field("alternativeTitleObjects[].*.value", "alternativeTitle[]") + +# ------- "titleKeyword" ------- +set_array("titleKeyword[]") +copy_field("alternativeSpelling", "titleKeyword[].$append") # ------- "extent" ------- @@ -374,6 +376,6 @@ end move_field("edition", "edition[]") -retain( "type[]", "contribution[]", "edition[]", "extent", "hasItem[]", "responsibilityStatement[]", "language[]", "medium[]", "subject[]", "title", "hbzId", "oclcNumber[]", "otherTitleInformation[]", "alternativeTitle[]", "natureOfContent[]", "publication[]", "sameAs[]", "describedBy", "@context", "id", "zdbId", "spatial[]", "inCollection[]", "rpbId", "schoeneNummer", "bibliographicCitation", "isPartOf[]", "note[]", "fulltextOnline[]", "description[]", "isbn[]", "containedIn[]") +retain( "type[]", "contribution[]", "edition[]", "extent", "hasItem[]", "responsibilityStatement[]", "language[]", "medium[]", "subject[]", "title", "hbzId", "oclcNumber[]", "otherTitleInformation[]", "alternativeTitle[]", "titleKeyword[]", "natureOfContent[]", "publication[]", "sameAs[]", "describedBy", "@context", "id", "zdbId", "spatial[]", "inCollection[]", "rpbId", "schoeneNummer", "bibliographicCitation", "isPartOf[]", "note[]", "fulltextOnline[]", "description[]", "isbn[]", "containedIn[]") vacuum()