Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

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

reger03a7a29db3c4
diff --git a/source/net/yacy/document/content/DCEntry.java b/source/net/yacy/document/content/DCEntry.java
index 731b9181a..ae403e533 100644
--- a/source/net/yacy/document/content/DCEntry.java
+++ b/source/net/yacy/document/content/DCEntry.java
@@ -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];
}