Include dtic-dads-sru-proxy
authorDennis Schafroth <dennis@indexdata.com>
Mon, 7 Mar 2011 17:54:43 +0000 (18:54 +0100)
committerDennis Schafroth <dennis@indexdata.com>
Mon, 7 Mar 2011 17:54:43 +0000 (18:54 +0100)
test/dtic-dads-sru-proxy.xml [new file with mode: 0644]
test/test_sru-proxy.cfg

diff --git a/test/dtic-dads-sru-proxy.xml b/test/dtic-dads-sru-proxy.xml
new file mode 100644 (file)
index 0000000..eb3bd65
--- /dev/null
@@ -0,0 +1,26 @@
+<settings target="kb.dadsthirdnode.cvt.dk/sru-proxy">
+
+  <!-- Simple test against a local SRU server (could be yaz-ztest) -->
+
+  <set name="pz:sru" value="get"/> <!-- must be get, post or soap -->
+  <set name="pz:sru_version" value="1.1"/>
+  <set name="pz:name" value="sru-proxy"/>
+
+
+  <set name="pz:maxrecs" value="50"/>
+
+  <!-- mapping for unqualified search -->
+
+  <set name="pz:extra_args" value="&x-facet_def=dtic_test&x-noxsl=1" />
+  <set name="pz:query_syntax" value="pqf" />
+
+  <!-- Retrieval settings -->
+
+  <set name="pz:elements" value="dc"/>
+
+  <!-- Result normalization settings -->
+
+  <set name="pz:nativesyntax" value="xml"/>
+  <set name="pz:xslt" value="dc.xsl"/>
+
+</settings>
index 113dee8..4fb2ea7 100644 (file)
@@ -6,12 +6,12 @@
     <proxy host="localhost"/>
     
     <service>
-      <include src="sry-proxy.xml"/>
+      <include src="dtic-dads-sru-proxy.xml"/>
       <targetprofiles type="local" src="../zeerex/records/"/>
       <metadata name="url" merge="unique"/>
       <metadata name="title" brief="yes" sortkey="skiparticle" merge="longest" rank="6" mergekey="required" />
       <metadata name="title-remainder" brief="yes" merge="longest" rank="5"/>
-      <metadata name="isbn"/>
+
       <metadata name="date" brief="yes" sortkey="numeric" type="year" merge="range"
                termlist="yes"/>
       <metadata name="author" brief="yes" termlist="yes" merge="longest" rank="2" mergekey="optional" />