Allow local ccl maps to be given (as base)
[metaproxy-moved-to-github.git] / etc / config-zoom.xml
index 2928c3b..8335b30 100644 (file)
             url="http://newmk2.indexdata.com/torus2/searchable.ebsco/records/?query=udb%3D%db"
             xsldir="."
       />
+      <fieldmap cql="cql.anywhere"/>
+      <fieldmap cql="cql.serverChoice"/>
+      <fieldmap cql="dc.creator" ccl="au"/>
+      <fieldmap cql="dc.title" ccl="ti"/>
+      <fieldmap cql="dc.subject" ccl="su"/>
+      <fieldmap cql="bash.isbn" ccl="isbn"/>
+      <fieldmap cql="bash.issn" ccl="issn"/>
+      <fieldmap cql="dc.date" ccl="date"/>
+      <!-- 
+          I got some of the following CCL qualifier names from
+          http://catalog.pburglib.org/polaris/Help/PWbasicsearch6.html
+          These are marked with the comment POLARIS.
+          The others, I just made up.
+          (Mike, Wed Jun 15 22:50:18 BST 2011)
+       -->
+      <fieldmap cql="rec.identifier" ccl="ocn"/><!-- POLARIS -->
+      <fieldmap cql="net.path" ccl="db"/>
+      <fieldmap cql="dc.language" ccl="la"/><!-- POLARIS -->
+      <fieldmap cql="dc.format" ccl="tom"/><!-- POLARIS -->
+      <fieldmap cql="id.fullText" ccl="fullText"/>
+      <fieldmap cql="id.peerReviewed" ccl="peerReviewed"/>
+      <fieldmap cql="dc.description" ccl="desc"/>
+      <fieldmap cql="dc.source" ccl="src"/>
+      <fieldmap cql="dc.publisher" ccl="pub"/><!-- POLARIS -->
+      <fieldmap cql="id.seriesTitle" ccl="series-ti"/>
+
+      <cclmap>
+        <qual name="ocn">
+          <attr type="1" value="12"/>
+        </qual>
+      </cclmap>
     </filter>
   </filters>
   <routes>  
           <retrieval syntax="usmarc"/>
         </retrievalinfo>
       </filter>
+      <filter type="session_shared"/>
+      <filter type="log">
+        <message>B</message>
+       <category apdu="true"/>
+      </filter>
       <filter refid="backend"/>
       <filter type="bounce"/>
     </route>