Skip to content

Commit

Permalink
Delete - from isbn/issn in related #1828
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasNx committed Jul 25, 2023
1 parent df2e9e9 commit 297c1c9
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 11 deletions.
3 changes: 2 additions & 1 deletion src/main/resources/alma/fix/relatedRessourcesAndLinks.fix
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,8 @@ end

replace_all("related[].*.id", "^\\(DE-605\\)(.*)$", "http://lobid.org/resources/$1#!")
replace_all("related[].*.id", "^\\(DE-600\\)(.*)$", "http://lobid.org/resources/ZDB-$1#!")

replace_all("related[].*.issn", "-","")
replace_all("related[].*.isbn", "-","")

set_array("inCollection[]")

Expand Down
10 changes: 5 additions & 5 deletions src/test/resources/alma-fix/990015940770206447.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,27 +79,27 @@
"id" : "http://lobid.org/resources/HT014526291#!",
"note" : [ "Digital. Ausg." ],
"label" : "Zentralblatt für Mathematik und ihre Grenzgebiete",
"issn" : "0044-4235"
"issn" : "00444235"
}, {
"id" : "http://lobid.org/resources/HT002213262#!",
"note" : [ "Druckausg. bis 900.1999" ],
"label" : "Zentralblatt für Mathematik und ihre Grenzgebiete",
"issn" : "0044-4235"
"issn" : "00444235"
}, {
"id" : "http://lobid.org/resources/HT009822135#!",
"note" : [ "Druckausg. 901.1999 - 1174.2009" ],
"label" : "Zentralblatt MATH",
"issn" : "1436-3356"
"issn" : "14363356"
}, {
"id" : "http://lobid.org/resources/HT010080623#!",
"note" : [ "CD-ROM-Ausg." ],
"label" : "Zentralblatt MATH",
"issn" : "0938-3174"
"issn" : "09383174"
}, {
"id" : "http://lobid.org/resources/HT004168632#!",
"note" : [ "CD-ROM-Ausg." ],
"label" : "CompactMATH",
"issn" : "0938-3174"
"issn" : "09383174"
}, {
"id" : "http://lobid.org/resources/HT015801472#!",
"note" : [ "Online-Ausg. eines enthaltenen Werkes" ],
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/alma-fix/990108873860206441.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"id" : "http://lobid.org/resources/ZDB-1027374-8#!",
"note" : [ "Druckausg." ],
"label" : "Behavioural pharmacology",
"issn" : "0955-8810"
"issn" : "09558810"
} ],
"inCollection" : [ {
"id" : "http://lobid.org/organisations/DE-655#!",
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/alma-fix/991005935279706485.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
"related" : [ {
"note" : [ "Online-Ausg." ],
"label" : "Wirtschaft und Erziehung.",
"issn" : "0174-6170"
"issn" : "01746170"
} ],
"inCollection" : [ {
"id" : "http://lobid.org/resources/HT014846970#!",
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/alma-fix/99370678063606441.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"label" : "ZDB-Ressource"
} ],
"related" : [ {
"issn" : "0720-6763"
"issn" : "07206763"
} ],
"inCollection" : [ {
"id" : "http://lobid.org/resources/HT014846970#!",
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/alma-fix/99370699582506441.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"label" : "DNB-Ressource"
} ],
"related" : [ {
"issn" : "2190-0574"
"issn" : "21900574"
} ],
"inCollection" : [ {
"id" : "http://lobid.org/resources/HT014846970#!",
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/alma-fix/99371107766906441.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"label" : "OCLC Ressource"
} ],
"related" : [ {
"issn" : "2471-5506"
"issn" : "24715506"
} ],
"language" : [ {
"id" : "http://id.loc.gov/vocabulary/iso639-2/eng",
Expand Down

0 comments on commit 297c1c9

Please sign in to comment.