diff --git a/src/main/resources/alma/fix/relatedRessourcesAndLinks.fix b/src/main/resources/alma/fix/relatedRessourcesAndLinks.fix index 6134c34ae..a4f4a5c29 100644 --- a/src/main/resources/alma/fix/relatedRessourcesAndLinks.fix +++ b/src/main/resources/alma/fix/relatedRessourcesAndLinks.fix @@ -59,6 +59,7 @@ end replace_all("supplement[].*.id","^\\(DE-605\\)(.*)$","http://lobid.org/resources/$1#!") replace_all("supplement[].*.id","^\\(DE-600\\)(.*)$","http://lobid.org/resources/ZDB-$1#!") +replace_all("supplement[].*.label","<<|>>","") # isPartOf # it describes the relation between a published ressource and its superordinate series or collection. diff --git a/src/test/resources/alma-fix/990054089950206441.json b/src/test/resources/alma-fix/990054089950206441.json index 75b93dd30..006010f51 100644 --- a/src/test/resources/alma-fix/990054089950206441.json +++ b/src/test/resources/alma-fix/990054089950206441.json @@ -98,7 +98,7 @@ } ], "supplement" : [ { "note" : [ "Supplement" ], - "label" : "<> Spiegel. Buchmarkt ...", + "label" : "Der Spiegel. Buchmarkt ...", "id" : "http://lobid.org/resources/ZDB-2901050-0#!" }, { "note" : [ "Beil.:" ], @@ -106,11 +106,11 @@ "id" : "http://lobid.org/resources/ZDB-1478534-1#!" }, { "note" : [ "Supplement" ], - "label" : "<> Spiegel / Chronik .... Chronik ...", + "label" : "Der Spiegel / Chronik .... Chronik ...", "id" : "http://lobid.org/resources/ZDB-2693519-3#!" }, { "note" : [ "Supplement" ], - "label" : "<> Spiegel / Job. Job", + "label" : "Der Spiegel / Job. Job", "id" : "http://lobid.org/resources/ZDB-2716809-8#!" }, { "note" : [ "Supplement" ], @@ -122,7 +122,7 @@ "id" : "http://lobid.org/resources/ZDB-2841326-X#!" }, { "note" : [ "Supplement" ], - "label" : "<> Spiegel. Biografie", + "label" : "Der Spiegel. Biografie", "id" : "http://lobid.org/resources/ZDB-2840235-2#!" }, { "note" : [ "Supplement" ], @@ -138,7 +138,7 @@ "id" : "http://lobid.org/resources/ZDB-3049164-2#!" }, { "note" : [ "Supplement" ], - "label" : "<> Spiegel", + "label" : "Der Spiegel", "id" : "http://lobid.org/resources/ZDB-2857424-2#!" }, { "note" : [ "Supplement" ], @@ -150,15 +150,15 @@ "id" : "http://lobid.org/resources/ZDB-2910739-8#!" }, { "note" : [ "Supplement" ], - "label" : "<> Spiegel. Wissen. Extra", + "label" : "Der Spiegel. Wissen. Extra", "id" : "http://lobid.org/resources/ZDB-2927774-7#!" }, { "note" : [ "Supplement" ], - "label" : "<> Spiegel. Futura", + "label" : "Der Spiegel. Futura", "id" : "http://lobid.org/resources/ZDB-2946278-2#!" }, { "note" : [ "Supplement" ], - "label" : "<> Spiegel. Coaching", + "label" : "Der Spiegel. Coaching", "id" : "http://lobid.org/resources/ZDB-2936210-6#!" }, { "note" : [ "Supplement" ],