Added LOC example config
authorSebastian Hammer <quinn@indexdata.com>
Tue, 17 Apr 2007 17:49:41 +0000 (17:49 +0000)
committerSebastian Hammer <quinn@indexdata.com>
Tue, 17 Apr 2007 17:49:41 +0000 (17:49 +0000)
etc/loc.xml [new file with mode: 0644]

diff --git a/etc/loc.xml b/etc/loc.xml
new file mode 100644 (file)
index 0000000..e572a7a
--- /dev/null
@@ -0,0 +1,30 @@
+<settings target="z3950.loc.gov:7090/voyager">
+
+  <set name="pz:name" value="Library of Congress"/>
+
+  <!-- This file introduces default settings for pazpar2 -->
+  <!-- $Id: loc.xml,v 1.1 2007-04-17 17:49:41 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:au" value="u=1004 s=al"/>
+  <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>