Removing all write reference to innerHTML.
[pazpar2-moved-to-github.git] / etc / pazpar2.cfg
index da8e9c7..3ea7efa 100644 (file)
@@ -1,21 +1,27 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <pazpar2 xmlns="http://www.indexdata.com/pazpar2/1.0">
 
-<!-- NOTE: This is not yet a functional config file. It's meant as a scratchpad/
-     discussion area to figure out just how the heck to structure this kind of
-     configuration.
--->
+<server>
+  <listen port="9004"/>
+  <proxy host="localhost" port="80"/>
 
-<service>
-    <listen port="9004"/>
-    <proxy host="localhost" port="80"/>
-</service>
+  <service>
+    <metadata name="title" brief="yes" sortkey="skiparticle" merge="longest" rank="6"/>
+    <metadata name="date" brief="yes" sortkey="numeric" type="year" merge="range"/>
+    <metadata name="author" brief="yes" termlist="yes" merge="longest" rank="2"/>
+    <metadata name="subject" merge="unique" termlist="yes" rank="3"/>
+  </service>
+</server>
 
 <!-- Need to figure out where to get ZeeRex records for targets from -->
 
-<queryprofile/>  <!-- Like a CCL profile? Or do these need to be 
-                       dynamically generated from Zeerex??  -->
+<queryprofile/>  <!-- Like a CCL profile++ . Can optionally refer to XSLT to 
+       convert ZeeRex into queryprofile. Multiple profiles can exist.  -->
 
-<retrievalprofile/>   <!-- Specify what stylesheets to use to normalize records?? -->
+<retrievalprofile>
+  <requestsyntax>marc21</requestsyntax>
+  <nativesyntax name="iso2709" format="marc21" encoding="marc-8" mapto="marcxml"/>
+  <map type="xslt" stylesheet="marc21.xsl"/>
+</retrievalprofile>
 
 </pazpar2>