limit OAI import urn resolver try for Deutsche National Library

The resolver service of National Library uses name space nbn, limit use of nbn-resolving.de accordingly to urn:nbn:
- add resolver for rfc's
pull/1/head
reger 11 years ago
parent 0838326a76
commit 03a7a29db3

@ -191,7 +191,10 @@ public class DCEntry extends MultiMapSolrParams {
//urn identifier koennen ueber den resolver der d-nb aufgeloest werden:
//http://nbn-resolving.de/urn:nbn:de:bsz:960-opus-1860
if (uu.startsWith("urn:")) return "http://nbn-resolving.de/" + uu;
if (uu.startsWith("urn:nbn:")) return "http://nbn-resolving.de/" + uu;
// resolver service http://wm-urn.org/ (for nbn, isbn,issn,rfc) example http://wm-urn.org/urn:ietf:rfc:2141
if (uu.startsWith("urn:ietf:rfc")) return "http://wm-urn.org/" + uu;
}
return urls[0];
}

Loading…
Cancel
Save