Remove call to gnutls_global_init. tcpip_init already does it
[yaz-moved-to-github.git] / etc / yazgfs.xml
index 72f1272..e498549 100644 (file)
@@ -1,6 +1,5 @@
-<!-- $Id: yazgfs.xml,v 1.2 2006-03-15 13:32:05 adam Exp $ -->
 <!-- sample YAZ GFS config file .. see 
-  http://indexdata.dk/yaz/doc/server.vhosts.tkl -->
+  http://www.indexdata.com/yaz/doc/server.vhosts.html -->
 <yazgfs>
   <listen id="public1">tcp:@:9000</listen>
   <server id="server1" listenref="public1">
@@ -9,10 +8,43 @@
      <cql2rpn>pqf.properties</cql2rpn>
      <docpath>xsl</docpath>
      <stylesheet>xsl/default.xsl</stylesheet>
+     <maximumrecordsize>2000000</maximumrecordsize>
+     <retrievalinfo>
+       <retrieval syntax="xml" name="zebra::*"/>
+       <retrieval syntax="sutrs" name="zebra::*"/>
+       <retrieval syntax="usmarc" name="F"/>
+       <retrieval syntax="usmarc" name="B"/>
+       <retrieval syntax="xml" name="marcxml"
+                 identifier="info:srw/schema/1/marcxml-v1.1">
+         <backend syntax="usmarc" name="F">
+          <marc inputformat="marc" outputformat="marcxml"
+                inputcharset="marc-8"/>
+        </backend>
+       </retrieval>
+       <retrieval syntax="xml" name="dc">
+         <backend syntax="usmarc" name="F">
+          <marc inputformat="marc" outputformat="marcxml"
+                inputcharset="marc-8"/>
+           <xslt stylesheet="MARC21slim2DC.xsl"/>
+        </backend>
+       </retrieval>
+       <retrieval syntax="xml" name="OP1">
+         <backend syntax="opac" name="F">
+          <marc inputformat="marc" outputformat="marcxml"
+                inputcharset="marc-8" outputcharset="utf-8"/>
+        </backend>
+       </retrieval>
+       <retrieval syntax="opac" name="OP2">
+         <backend syntax="opac" name="F">
+          <marc inputformat="marc" outputformat="marcxml"
+                inputcharset="marc-8" outputcharset="utf-8"/>
+        </backend>
+       </retrieval>
+     </retrievalinfo>
      <explain xmlns="http://explain.z3950.org/dtd/2.0/">
         <serverInfo>
            <host>myserver.org</host>
-           <port>9900</port>
+           <port>9000</port>
            <database>Default</database>
         </serverInfo>
     </explain>