Bug 5919: Display MARC21 fields 583, 586, 530
[koha.git] / etc / koha-conf.xml
blob819cc556792e89dd946a4fa1eb0e0a106b5dd414
2 <yazgfs>
3 <!-- [scheme:]host[:port][/databaseName] -->
4 <!-- scheme: tcp, ssl, unix, http, sru -->
5 <!-- can run all servers on tcp, but the unix socket is faster -->
7 <listen id="biblioserver" >unix:__ZEBRA_RUN_DIR__/bibliosocket</listen>
8 <listen id="authorityserver" >unix:__ZEBRA_RUN_DIR__/authoritysocket</listen>
9 <!-- uncomment these lines and comment out the above if running on MSWin32 -->
10 <!--
11 <listen id="biblioserver" >tcp:localhost:9998/bibliosocket</listen>
12 <listen id="authorityserver" >tcp:localhost:9999/authoritysocket</listen>
13 -->
14 <!-- public server runs on tcp -->
15 <!-- <listen id="publicserver" >tcp:@:9999</listen> -->
17 <!-- Settings for special biblio server instance for PazPar2.
18      Because PazPar2 only connects to a Z39.50 server using TCP/IP,
19      it cannot use the Unix-domain socket that biblioserver uses.
20      Therefore, a custom server is defined. -->
21 __PAZPAR2_TOGGLE_XML_PRE__
22 <listen id="mergeserver">tcp:@:__MERGE_SERVER_PORT__</listen>
23 <server id="mergeserver"  listenref="mergeserver"> 
24     <directory>__ZEBRA_DATA_DIR__/biblios</directory>
25     <config>__ZEBRA_CONF_DIR__/zebra-biblios.cfg</config>
26     <cql2rpn>__ZEBRA_CONF_DIR__/pqf.properties</cql2rpn>
27 </server>
28 __PAZPAR2_TOGGLE_XML_POST__
30 <!-- BIBLIOGRAPHIC RECORDS -->
31 <server id="biblioserver"  listenref="biblioserver"> 
32     <directory>__ZEBRA_DATA_DIR__/biblios</directory>
33     <config>__ZEBRA_CONF_DIR__/zebra-biblios.cfg</config>
34     <cql2rpn>__ZEBRA_CONF_DIR__/pqf.properties</cql2rpn>
35      <!-- <docpath>xsl</docpath> -->
36      <!-- <stylesheet>xsl/default.xsl</stylesheet> -->
37      <!-- <maximumrecordsize>2000000</maximumrecordsize> -->
38      <retrievalinfo>
39        <retrieval syntax="usmarc" name="F"/>
40        <retrieval syntax="usmarc" name="B"/>
41        <retrieval syntax="xml" name="F"/>
42        <retrieval syntax="xml" name="B"/>
43        <retrieval syntax="xml" name="marcxml"
44                   identifier="info:srw/schema/1/marcxml-v1.1">
45          <backend syntax="usmarc" name="F">
46            <marc inputformat="marc" outputformat="marcxml"
47                  inputcharset="utf-8"/>
48          </backend>
49        </retrieval>
50        <retrieval syntax="xml" name="dc">
51          <backend syntax="usmarc" name="F">
52            <marc inputformat="marc" outputformat="marcxml"
53                  inputcharset="utf-8"/>
54            <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slim2DC.xsl"/>
55          </backend>
56        </retrieval>
57        <retrieval syntax="xml" name="mods">
58          <backend syntax="usmarc" name="F">
59            <marc inputformat="marc" outputformat="marcxml"
60                  inputcharset="utf-8"/>
61            <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slim2MODS.xsl"/>
62          </backend>
63        </retrieval>
64        <retrieval syntax="xml" name="rdfdc">
65          <backend syntax="usmarc" name="F">
66            <marc inputformat="marc" outputformat="marcxml"
67                  inputcharset="utf-8"/>
68            <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slim2RDFDC.xsl"/>
69          </backend>
70        </retrieval>
71        <retrieval syntax="xml" name="rss2">
72          <backend syntax="usmarc" name="F">
73            <marc inputformat="marc" outputformat="marcxml"
74                  inputcharset="utf-8"/>
75            <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slim2RSS2.xsl"/>
76          </backend>
77        </retrieval>
78        <retrieval syntax="xml" name="utils">
79          <backend syntax="usmarc" name="F">
80            <marc inputformat="marc" outputformat="marcxml"
81                  inputcharset="utf-8"/>
82            <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slimUtils.xsl"/>
83          </backend>
84        </retrieval>
85      </retrievalinfo>
86     <xi:include href="__KOHA_CONF_DIR__/zebradb/explain-biblios.xml"
87                 xmlns:xi="http://www.w3.org/2001/XInclude">
88       <xi:fallback>
89       <explain xmlns="http://explain.z3950.org/dtd/2.0/">
90           <serverInfo>
91             <host>__ZEBRA_SRU_HOST__</host>
92             <port>__ZEBRA_SRU_BIBLIOS_PORT__</port>
93             <database>biblios</database>
94           </serverInfo>
95         </explain>
96       </xi:fallback>
97     </xi:include>
98 </server>
99 <serverinfo id="biblioserver">
100         <ccl2rpn>__ZEBRA_CONF_DIR__/ccl.properties</ccl2rpn>
101         <user>__ZEBRA_USER__</user>    
102         <password>__ZEBRA_PASS__</password>
103 </serverinfo>
105 <!-- AUTHORITY RECORDS -->
106 <server id="authorityserver"  listenref="authorityserver" >
107     <directory>__ZEBRA_DATA_DIR__/authorities</directory>
108     <config>__ZEBRA_CONF_DIR__/__ZEBRA_AUTH_CFG__</config>
109     <cql2rpn>__ZEBRA_CONF_DIR__/pqf.properties</cql2rpn>
110      <!-- <docpath>xsl</docpath> -->
111      <!-- <stylesheet>xsl/default.xsl</stylesheet> -->
112      <!-- <maximumrecordsize>2000000</maximumrecordsize> -->
113     <xi:include href="__KOHA_CONF_DIR__/zebradb/__AUTH_RETRIEVAL_CFG__"
114                 xmlns:xi="http://www.w3.org/2001/XInclude">
115       <xi:fallback>
116      <retrievalinfo>
117        <retrieval syntax="usmarc" name="F"/>
118        <retrieval syntax="usmarc" name="B"/>
119        <retrieval syntax="xml" name="marcxml"
120                   identifier="info:srw/schema/1/marcxml-v1.1">
121          <backend syntax="usmarc" name="F">
122            <marc inputformat="marc" outputformat="marcxml"
123                  inputcharset="utf-8"/>
124          </backend>
125        </retrieval>
126        <retrieval syntax="xml" name="dc">
127          <backend syntax="usmarc" name="F">
128            <marc inputformat="marc" outputformat="marcxml"
129                  inputcharset="utf-8"/>
130            <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slim2DC.xsl"/>
131          </backend>
132        </retrieval>
133        <retrieval syntax="xml" name="mods">
134          <backend syntax="usmarc" name="F">
135            <marc inputformat="marc" outputformat="marcxml"
136                  inputcharset="utf-8"/>
137            <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slim2MODS.xsl"/>
138          </backend>
139        </retrieval>
140        <retrieval syntax="xml" name="rdfdc">
141          <backend syntax="usmarc" name="F">
142            <marc inputformat="marc" outputformat="marcxml"
143                  inputcharset="utf-8"/>
144            <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slim2RDFDC.xsl"/>
145          </backend>
146        </retrieval>
147        <retrieval syntax="xml" name="utils">
148          <backend syntax="usmarc" name="F">
149            <marc inputformat="marc" outputformat="marcxml"
150                  inputcharset="utf-8"/>
151            <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slimUtils.xsl"/>
152          </backend>
153        </retrieval>
154      </retrievalinfo>
155       </xi:fallback>
156     </xi:include>
157     <xi:include href="__KOHA_CONF_DIR__/zebradb/explain-authorities.xml"
158                 xmlns:xi="http://www.w3.org/2001/XInclude">
159       <xi:fallback>
160       <explain xmlns="http://explain.z3950.org/dtd/2.0/">
161           <serverInfo>
162             <host>__ZEBRA_SRU_HOST__</host>
163             <port>__ZEBRA_SRU_AUTHORITIES_PORT__</port>
164             <database>authorities</database>
165           </serverInfo>
166         </explain>
167       </xi:fallback>
168     </xi:include>
169 </server>
170 <serverinfo id="authorityserver">
171     <ccl2rpn>__ZEBRA_CONF_DIR__/ccl.properties</ccl2rpn>
172     <user>__ZEBRA_USER__</user>
173     <password>__ZEBRA_PASS__</password>
174 </serverinfo>
176 <!-- ADDITIONAL KOHA CONFIGURATION DIRECTIVE -->
177 <!-- db_scheme should follow the DBD driver name --> 
178 <!-- port info: mysql:3306 Pg:5432 (5433 on Debian) -->
179 <config>
180  <db_scheme>__DB_TYPE__</db_scheme>
181  <database>__DB_NAME__</database>
182  <hostname>__DB_HOST__</hostname>
183  <port>__DB_PORT__</port>
184  <user>__DB_USER__</user>
185  <pass>__DB_PASS__</pass>
186  <biblioserver>biblios</biblioserver>
187  <biblioservershadow>1</biblioservershadow>
188  <authorityserver>authorities</authorityserver>
189  <authorityservershadow>1</authorityservershadow>
190  <intranetdir>__INTRANET_CGI_DIR__</intranetdir>
191  <opacdir>__OPAC_CGI_DIR__/opac</opacdir>
192  <opachtdocs>__OPAC_TMPL_DIR__</opachtdocs>
193  <intrahtdocs>__INTRANET_TMPL_DIR__</intrahtdocs>
194  <includes>__INTRANET_TMPL_DIR__/prog/en/includes/</includes>
195  <logdir>__LOG_DIR__</logdir>
196  <pazpar2url>http://__PAZPAR2_HOST__:__PAZPAR2_PORT__/search.pz2</pazpar2url>
197  <install_log>__MISC_DIR__/koha-install-log</install_log>
198  <useldapserver>0</useldapserver><!-- see C4::Auth_with_ldap for extra configs you must add if you want to turn this on -->
199  <memcached_servers>__MEMCACHED_SERVERS__</memcached_servers>
200  <memcached_namespace>__MEMCACHED_NAMESPACE__</memcached_namespace>
201 </config>
202 </yazgfs>