Moved masterkey-specific settings to separate dir. Tuned config of
authorSebastian Hammer <quinn@indexdata.com>
Sun, 15 Apr 2007 06:57:22 +0000 (06:57 +0000)
committerSebastian Hammer <quinn@indexdata.com>
Sun, 15 Apr 2007 06:57:22 +0000 (06:57 +0000)
wikipedia to be more narrow.

etc/masterkey.cfg
etc/masterkey/defaults.xml [new file with mode: 0644]
etc/masterkey/ebsco-khh.xml [new file with mode: 0644]
etc/masterkey/ebsco-sch.xml [new file with mode: 0644]
etc/masterkey/opencontent.xml [new file with mode: 0644]

index 9b38878..096052f 100644 (file)
@@ -4,7 +4,7 @@
 <server>
   <listen host="masterkey.indexdata.com" port="80"/>
   <proxy host="us1.indexdata.com"/>
-  <settings src="../etc/settings"/>
+  <settings src="../etc/masterkey"/>
 
   <service>
     <metadata name="url"/>
diff --git a/etc/masterkey/defaults.xml b/etc/masterkey/defaults.xml
new file mode 100644 (file)
index 0000000..21cd5c7
--- /dev/null
@@ -0,0 +1,26 @@
+<settings target="*">
+
+  <!-- This file introduces default settings for pazpar2 -->
+  <!-- $Id: defaults.xml,v 1.1 2007-04-15 06:57:22 quinn Exp $ -->
+
+  <!-- mapping for unqualified search -->
+  <set name="pz:cclmap:term" value="u=1016 t=l,r s=al"/>
+
+  <!-- field-specific mappings -->
+  <set name="pz:cclmap:ti" value="u=4 s=al"/>
+  <set name="pz:cclmap:su" value="u=21 s=al"/>
+  <set name="pz:cclmap:isbn" value="u=7"/>
+  <set name="pz:cclmap:issn" value="u=8"/>
+  <set name="pz:cclmap:date" value="u=30 r=r"/>
+
+  <!-- Retrieval settings -->
+
+  <set name="pz:requestsyntax" value="marc21"/>
+  <!-- <set name="pz:elements" value="F"/> NOT YET IMPLEMENTED -->
+
+  <!-- Result normalization settings -->
+
+  <set name="pz:nativesyntax" value="iso2709"/>
+  <set name="pz:xslt" value="../etc/marc21.xsl"/>
+
+</settings>
diff --git a/etc/masterkey/ebsco-khh.xml b/etc/masterkey/ebsco-khh.xml
new file mode 100644 (file)
index 0000000..26a6479
--- /dev/null
@@ -0,0 +1,4 @@
+<settings target="204.179.122.51:210/khh">
+  <set name="pz:name" value="History Reference Center"/>
+  <set name="pz:authentication" value="beta.indexdata.z3950/ebs1720@FT-LINKS"/>
+</settings>
diff --git a/etc/masterkey/ebsco-sch.xml b/etc/masterkey/ebsco-sch.xml
new file mode 100644 (file)
index 0000000..258ff47
--- /dev/null
@@ -0,0 +1,4 @@
+<settings target="204.179.122.51:210/sch">
+  <set name="pz:name" value="Science Reference Center"/>
+  <set name="pz:authentication" value="beta.indexdata.z3950/ebs1720@FT-LINKS"/>
+</settings>
diff --git a/etc/masterkey/opencontent.xml b/etc/masterkey/opencontent.xml
new file mode 100644 (file)
index 0000000..9ec6e12
--- /dev/null
@@ -0,0 +1,15 @@
+<settings target="opencontent.indexdata.com:210/*">
+  <set target="opencontent.indexdata.com:210/oca-all" name="pz:name" 
+        value="Open Content Alliance"/>
+  <set target="opencontent.indexdata.com:210/gutenberg" name="pz:name" 
+        value="Project Gutenberg"/>
+  <set target="opencontent.indexdata.com:210/wikipedia" name="pz:name" 
+        value="Wikipedia"/>
+
+  <!-- Exact title search for Wikipedia -->
+  <set target="opencontent.indexdata.com:210/wikipedia" name="pz:cclmap:term"
+      value="@attr 1=43 @attr 2=102 @attr 6=2"/>
+
+  <!-- The following settings apply to all opencontent sites -->
+  <set name="pz:cclmap:term" value="u=1016 t=l,r s=al 2=102"/>
+</settings>