Fix a few links
[yazpp-moved-to-github.git] / etc / voyager.xml
index 1bf7913..df76c9e 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0"?>
-<!-- $Id: voyager.xml,v 1.3 2004-01-05 10:00:05 adam Exp $ -->
+<!-- $Id: voyager.xml,v 1.13 2004-03-17 10:51:25 adam Exp $ -->
 <proxy>
   <!-- define default target and name it voyager -->
   <target default="1" name="voyager">
     <syntax type="opac"/>
     <syntax type="usmarc"/>
     <syntax type="none"/>
-
-    <syntax type="xml" marcxml="1" stylesheet="MARC21slim2DC.xsl">
-      dc
-      http://www.loc.gov/zing/srw/dcschema/v1.0/
+    
+    <syntax type="xml" marcxml="1"
+      identifier="info:srw/schema/1/marcxml-v1.1"
+      >
+      <title>MARCXML</title>
+      <name>marcxml</name>
+    </syntax>
+    <syntax type="xml" marcxml="1" stylesheet="MARC21slim2SRWDC.xsl"
+      identifier="info:srw/schema/1/dc-v1.1"
+      >
+      <title>Dublin Core</title>
+      <name>dc</name>
     </syntax>
-    <syntax type="xml" marcxml="1">
-      marcxml
-      http://www.loc.gov/marcxml/
+    <syntax type="xml" marcxml="1" stylesheet="MARC21slim2MODS.xsl"
+      identifier="http://www.loc.gov/mods"
+      >
+      <title>MODS v2</title>
+      <name>mods2</name>
     </syntax>
-    <syntax type="xml" marcxml="1" stylesheet="MARC21slim2MODS.xsl">
-      mods
-      http://www.loc.gov/mods/v3
+    <syntax type="xml" marcxml="1" stylesheet="MARC21slim2MODS3.xsl"
+      identifier="info:srw/schema/1/mods-v3.0"
+      >
+      <title>MODS v3</title>
+      <name>mods3</name>
+      <name>mods</name>
     </syntax>
 
     <syntax type="*" error="238"/>
     <!-- keep this number of spare sessions for future sessions -->
     <preinit>2</preinit>
 
-    <explain>
+    <explain xmlns="http://explain.z3950.org/dtd/2.0/">
       <serverInfo>
        <host>indexdata.dk</host>
        <port>9000</port>
+       <database>voyager</database>
       </serverInfo>
+      
+      <databaseInfo>
+       <title>LoC gateway</title>
+       <description lang="en" primary="true">
+         SRW/SRU/Z39.50 Gateway to Library of Congress' Z39.50 server
+       </description>
+      </databaseInfo>
+      
+      <indexInfo>
+       <set identifier="info:srw/cql-context-set/1/cql-v1.1"
+         name="cql"/>
+       <set identifier="info:srw/cql-context-set/1/dc-v1.1"
+         name="dc"/>
+       <set identifier="http://zing.z3950.org/cql/bath/2.0/"
+         name="bath"/>
+       
+       <index id="4">
+         <title>title</title>
+         <map><name set="dc">title</name></map>
+       </index>
+       <index id="21">
+         <title>subject</title>
+         <map><name set="dc">subject</name></map>
+       </index>
+       <index id="1003">
+         <title>creator</title>
+         <map><name set="dc">creator</name></map>
+         <map><name set="dc">author</name></map>
+       </index>
+       
+       <index id="1020">
+         <title>editor</title>
+         <map><name set="dc">editor</name></map>
+       </index>
+       
+       <index id="1018">
+         <title>publisher</title>
+         <map><name set="dc">publisher</name></map>
+       </index>
+       
+       <index id="62">
+         <title>description</title>
+         <map><name set="dc">description</name></map>
+       </index>
+       
+       <index id="30">
+         <title>date</title>
+         <map><name set="dc">date</name></map>
+       </index>
+       
+       <index id="1002">
+         <title>name</title>
+         <map><name set="bath">name</name></map>
+       </index>
+       
+       <index id="7">
+         <title>isbn</title>
+         <map><name set="bath">isbn</name></map>
+       </index>
+       <index id="8">
+         <title>issn</title>
+         <map><name set="bath">issn</name></map>
+       </index>
+      </indexInfo>
+
+      <schemaInfo>
+       <schema identifier="info:srw/schema/1/marcxml-v1.1"
+         sort="false" name="marcxml">
+         <title>MARCXML</title>
+       </schema>
+       
+       <schema identifier="info:srw/schema/1/dc-v1.1"
+         sort="false" name="dc">
+         <title>Dublin Core</title>
+       </schema>
+       
+       <schema identifier="http://www.loc.gov/mods"
+         sort="false" name="mods2">
+         <title>MODS v2</title>
+       </schema>
+
+       <schema identifier="info:srw/schema/1/mods-v3.0"
+         sort="false" name="mods">
+         <title>MODS v3</title>
+       </schema>
+
+      </schemaInfo>
+
+      <configInfo>
+        <default type="numberOfRecords">0</default>
+      </configInfo>
     </explain>
+   <cql2rpn>pqf.properties</cql2rpn>
   </target>
 
-   <cql2rpn>/usr/share/yaz/etc/pqf.properties</cql2rpn>
 
   <!-- maximum number of client sessions. Remember to allow for
      at least max-clients*2+5 sockets. Use 'ulimit -n 1040' on bash -->