Skip to content

Commit

Permalink
uriNormRules.json: more specific rule should come first
Browse files Browse the repository at this point in the history
  • Loading branch information
zozlak authored Sep 18, 2024
1 parent b361fa7 commit cf582ae
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions AcdhArcheAssets/uriNormRules.json
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,13 @@
"resolve" : "https://doi.org/\\1",
"format" : "text/turtle"
},
{
"name" : "acdh-iso6393",
"match" : "^https?://vocabs.acdh.oeaw.ac.at/iso6393/(.*)$",
"replace" : "https://vocabs.acdh.oeaw.ac.at/iso6393/\\1",
"resolve" : "https://vocabs.acdh.oeaw.ac.at/iso6393/data?format=application%2Frdf%2Bxml&uri=https%3A%2F%2Fvocabs.acdh.oeaw.ac.at%2Fiso6393%2F\\1",
"format" : "application/rdf+xml"
},
{
"name" : "acdh-vocabs",
"match" : "^https?://vocabs.acdh.oeaw.ac.at/(.*)$",
Expand All @@ -173,12 +180,5 @@
"replace" : "\\1/\\2",
"resolve" : "\\1/\\2",
"format" : "text/turtle"
},
{
"name" : "acdh-iso6393",
"match" : "^https?://vocabs.acdh.oeaw.ac.at/iso6393/(.*)$",
"replace" : "https://vocabs.acdh.oeaw.ac.at/iso6393/\\1",
"resolve" : "https://vocabs.acdh.oeaw.ac.at/iso6393/data?format=application%2Frdf%2Bxml&uri=https%3A%2F%2Fvocabs.acdh.oeaw.ac.at%2Fiso6393%2F\\1",
"format" : "application/rdf+xml"
}
]

0 comments on commit cf582ae

Please sign in to comment.