Skip to content

Commit

Permalink
Merge #1926 from branch '1925-onlyCreateDOIsFromTrueDOIResolverLinks'…
Browse files Browse the repository at this point in the history
  • Loading branch information
dr0i committed Oct 19, 2023
2 parents 7809673 + c6d336e commit 8b3ade4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/main/resources/alma/fix/identifiers.fix
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@ end
# 856 - Electronic Location and Access (R) - Subfield: $u (R) $3 (NR)
# 1. Indicator: 4 = HTTP
do list(path:"8564?", "var":"$i")
if all_match("$i.u", ".*(10\\.(\\d)+/(\\S)+).*") # Volltext
if all_match("$i.u", ".*doi.org.*(10\\.(\\d)+/(\\S)+).*") # Volltext
copy_field("$i.u", "doi[].$append")
replace_all("doi[].$last", ".*(10\\.(\\d)+/(\\S)+).*", "$1")
replace_all("doi[].$last", ".*doi.org.*(10\\.(\\d)+/(\\S)+).*", "$1")
end
end
uniq("doi[]")
Expand Down
8 changes: 0 additions & 8 deletions src/test/resources/alma-fix/991002103529706485.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"@context" : "http://lobid.org/resources/context.jsonld",
"almaMmsId" : "991002103529706485",
"isbn" : [ "9783838557823", "3838557824" ],
"doi" : [ "10.36198/9783838557823" ],
"oclcNumber" : [ "1277506540" ],
"title" : "Grundkurs Kinder- und Jugendhilferecht für die Soziale Arbeit",
"otherTitleInformation" : [ "mit 62 Übersichten, 3 Tabellen, 14 Fallbeispielen und Musterlösungen" ],
Expand Down Expand Up @@ -60,9 +59,6 @@
"sameAs" : [ {
"id" : "http://worldcat.org/oclc/1277506540",
"label" : "OCLC Ressource"
}, {
"id" : "https://doi.org/10.36198/9783838557823",
"label" : "9783838557823"
} ],
"isPartOf" : [ {
"type" : [ "IsPartOfRelation" ],
Expand All @@ -71,10 +67,6 @@
} ],
"numbering" : "2878 ;Soziale Arbeit"
} ],
"fulltextOnline" : [ {
"id" : "https://doi.org/10.36198/9783838557823",
"label" : "DOI-Link"
} ],
"related" : [ {
"note" : [ "Erscheint auch als: Druck-Ausgabe" ],
"isbn" : [ "9783825257828", "3825257827" ]
Expand Down

0 comments on commit 8b3ade4

Please sign in to comment.