ZOOM: For redirect, reconnect always YAZ-722
[yaz-moved-to-github.git] / etc / yazgfs.xml
1 <!-- sample YAZ GFS config file .. see 
2   http://www.indexdata.com/yaz/doc/server.vhosts.html -->
3 <yazgfs>
4   <listen id="public1">tcp:@:9000</listen>
5   <server id="server1" listenref="public1">
6      <directory>.</directory> <!-- directory where backend is running -->
7      <config>zebra.cfg</config>
8      <cql2rpn>pqf.properties</cql2rpn>
9      <docpath>xsl</docpath>
10      <stylesheet>xsl/default.xsl</stylesheet>
11      <maximumrecordsize>2000000</maximumrecordsize>
12      <retrievalinfo>
13        <retrieval syntax="xml" name="zebra::*"/>
14        <retrieval syntax="sutrs" name="zebra::*"/>
15        <retrieval syntax="usmarc" name="F"/>
16        <retrieval syntax="usmarc" name="B"/>
17        <retrieval syntax="xml" name="marcxml"
18                   identifier="info:srw/schema/1/marcxml-v1.1">
19          <backend syntax="usmarc" name="F">
20            <marc inputformat="marc" outputformat="marcxml"
21                  inputcharset="marc-8"/>
22          </backend>
23        </retrieval>
24        <retrieval syntax="xml" name="dc">
25          <backend syntax="usmarc" name="F">
26            <marc inputformat="marc" outputformat="marcxml"
27                  inputcharset="marc-8"/>
28            <xslt stylesheet="MARC21slim2DC.xsl"/>
29          </backend>
30        </retrieval>
31        <retrieval syntax="xml" name="OP1">
32          <backend syntax="opac" name="F">
33            <marc inputformat="marc" outputformat="marcxml"
34                  inputcharset="marc-8" outputcharset="utf-8"/>
35          </backend>
36        </retrieval>
37        <retrieval syntax="opac" name="OP2">
38          <backend syntax="opac" name="F">
39            <marc inputformat="marc" outputformat="marcxml"
40                  inputcharset="marc-8" outputcharset="utf-8"/>
41          </backend>
42        </retrieval>
43      </retrievalinfo>
44      <explain xmlns="http://explain.z3950.org/dtd/2.0/">
45         <serverInfo>
46            <host>myserver.org</host>
47            <port>9000</port>
48            <database>Default</database>
49         </serverInfo>
50     </explain>
51   </server>
52 </yazgfs>
53