Bug 11491: add option to supply field names in reports web service output
[koha.git] / etc / koha-conf.xml
blob1da53780c15c034f99ba502dbc1d5e5c6068ac11
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 -->
15 <!-- Uncomment the following entry if you want to run the public Z39.50 server.
16     Also uncomment the <server> and <serverinfo> sections for id 'publicserver' 
17     under PUBLICSERVER'S BIBLIOGRAPHIC RECORDS title-->
18 <!--
19 <listen id="publicserver" >tcp:@:__ZEBRA_SRU_BIBLIOS_PORT__</listen>
20 -->
22 <!-- Settings for special biblio server instance for PazPar2.
23      Because PazPar2 only connects to a Z39.50 server using TCP/IP,
24      it cannot use the Unix-domain socket that biblioserver uses.
25      Therefore, a custom server is defined. -->
26 __PAZPAR2_TOGGLE_XML_PRE__
27 <listen id="mergeserver">tcp:@:__MERGE_SERVER_PORT__</listen>
28 <server id="mergeserver"  listenref="mergeserver"> 
29     <directory>__ZEBRA_DATA_DIR__/biblios</directory>
30     <config>__ZEBRA_CONF_DIR__/__ZEBRA_BIB_CFG__</config>
31     <cql2rpn>__ZEBRA_CONF_DIR__/pqf.properties</cql2rpn>
32 </server>
33 __PAZPAR2_TOGGLE_XML_POST__
35 <!-- BIBLIOGRAPHIC RECORDS -->
36 <server id="biblioserver"  listenref="biblioserver"> 
37     <directory>__ZEBRA_DATA_DIR__/biblios</directory>
38     <config>__ZEBRA_CONF_DIR__/__ZEBRA_BIB_CFG__</config>
39     <cql2rpn>__ZEBRA_CONF_DIR__/pqf.properties</cql2rpn>
40      <!-- <docpath>xsl</docpath> -->
41      <!-- <stylesheet>xsl/default.xsl</stylesheet> -->
42      <!-- <maximumrecordsize>2000000</maximumrecordsize> -->
43     <xi:include href="__KOHA_CONF_DIR__/zebradb/__BIB_RETRIEVAL_CFG__"
44                 xmlns:xi="http://www.w3.org/2001/XInclude">
45       <xi:fallback>
46      <retrievalinfo>
47        <retrieval syntax="__ZEBRA_MARC_FORMAT__" name="F"/>
48        <retrieval syntax="__ZEBRA_MARC_FORMAT__" name="B"/>
49        <retrieval syntax="xml" name="F"/>
50        <retrieval syntax="xml" name="B"/>
51        <retrieval syntax="xml" name="marcxml"
52                   identifier="info:srw/schema/1/marcxml-v1.1">
53          <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
54            <marc inputformat="marc" outputformat="marcxml"
55                  inputcharset="utf-8"/>
56          </backend>
57        </retrieval>
58        <retrieval syntax="xml" name="dc">
59          <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
60            <marc inputformat="marc" outputformat="marcxml"
61                  inputcharset="utf-8"/>
62            <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slim2DC.xsl"/>
63          </backend>
64        </retrieval>
65        <retrieval syntax="xml" name="mods">
66          <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
67            <marc inputformat="marc" outputformat="marcxml"
68                  inputcharset="utf-8"/>
69            <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slim2MODS.xsl"/>
70          </backend>
71        </retrieval>
72        <retrieval syntax="xml" name="rdfdc">
73          <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
74            <marc inputformat="marc" outputformat="marcxml"
75                  inputcharset="utf-8"/>
76            <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slim2RDFDC.xsl"/>
77          </backend>
78        </retrieval>
79        <retrieval syntax="xml" name="rss2">
80          <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
81            <marc inputformat="marc" outputformat="marcxml"
82                  inputcharset="utf-8"/>
83            <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slim2RSS2.xsl"/>
84          </backend>
85        </retrieval>
86        <retrieval syntax="xml" name="utils">
87          <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
88            <marc inputformat="marc" outputformat="marcxml"
89                  inputcharset="utf-8"/>
90            <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slimUtils.xsl"/>
91          </backend>
92        </retrieval>
93      </retrievalinfo>
94       </xi:fallback>
95       </xi:include>
96     <xi:include href="__KOHA_CONF_DIR__/zebradb/explain-biblios.xml"
97                 xmlns:xi="http://www.w3.org/2001/XInclude">
98       <xi:fallback>
99       <explain xmlns="http://explain.z3950.org/dtd/2.0/">
100           <serverInfo>
101             <host>__ZEBRA_SRU_HOST__</host>
102             <port>__ZEBRA_SRU_BIBLIOS_PORT__</port>
103             <database>biblios</database>
104           </serverInfo>
105         </explain>
106       </xi:fallback>
107     </xi:include>
108 </server>
109 <serverinfo id="biblioserver">
110         <ccl2rpn>__ZEBRA_CONF_DIR__/ccl.properties</ccl2rpn>
111         <user>__ZEBRA_USER__</user>    
112         <password>__ZEBRA_PASS__</password>
113 </serverinfo>
115 <!-- AUTHORITY RECORDS -->
116 <server id="authorityserver"  listenref="authorityserver" >
117     <directory>__ZEBRA_DATA_DIR__/authorities</directory>
118     <config>__ZEBRA_CONF_DIR__/__ZEBRA_AUTH_CFG__</config>
119     <cql2rpn>__ZEBRA_CONF_DIR__/pqf.properties</cql2rpn>
120      <!-- <docpath>xsl</docpath> -->
121      <!-- <stylesheet>xsl/default.xsl</stylesheet> -->
122      <!-- <maximumrecordsize>2000000</maximumrecordsize> -->
123     <xi:include href="__KOHA_CONF_DIR__/zebradb/__AUTH_RETRIEVAL_CFG__"
124                 xmlns:xi="http://www.w3.org/2001/XInclude">
125       <xi:fallback>
126      <retrievalinfo>
127        <retrieval syntax="__ZEBRA_MARC_FORMAT__" name="F"/>
128        <retrieval syntax="__ZEBRA_MARC_FORMAT__" name="B"/>
129        <retrieval syntax="xml" name="marcxml"
130                   identifier="info:srw/schema/1/marcxml-v1.1">
131          <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
132            <marc inputformat="marc" outputformat="marcxml"
133                  inputcharset="utf-8"/>
134          </backend>
135        </retrieval>
136        <retrieval syntax="xml" name="dc">
137          <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
138            <marc inputformat="marc" outputformat="marcxml"
139                  inputcharset="utf-8"/>
140            <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slim2DC.xsl"/>
141          </backend>
142        </retrieval>
143        <retrieval syntax="xml" name="mods">
144          <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
145            <marc inputformat="marc" outputformat="marcxml"
146                  inputcharset="utf-8"/>
147            <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slim2MODS.xsl"/>
148          </backend>
149        </retrieval>
150        <retrieval syntax="xml" name="rdfdc">
151          <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
152            <marc inputformat="marc" outputformat="marcxml"
153                  inputcharset="utf-8"/>
154            <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slim2RDFDC.xsl"/>
155          </backend>
156        </retrieval>
157        <retrieval syntax="xml" name="utils">
158          <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
159            <marc inputformat="marc" outputformat="marcxml"
160                  inputcharset="utf-8"/>
161            <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slimUtils.xsl"/>
162          </backend>
163        </retrieval>
164      </retrievalinfo>
165       </xi:fallback>
166     </xi:include>
167     <xi:include href="__KOHA_CONF_DIR__/zebradb/explain-authorities.xml"
168                 xmlns:xi="http://www.w3.org/2001/XInclude">
169       <xi:fallback>
170       <explain xmlns="http://explain.z3950.org/dtd/2.0/">
171           <serverInfo>
172             <host>__ZEBRA_SRU_HOST__</host>
173             <port>__ZEBRA_SRU_AUTHORITIES_PORT__</port>
174             <database>authorities</database>
175           </serverInfo>
176         </explain>
177       </xi:fallback>
178     </xi:include>
179 </server>
180 <serverinfo id="authorityserver">
181     <ccl2rpn>__ZEBRA_CONF_DIR__/ccl.properties</ccl2rpn>
182     <user>__ZEBRA_USER__</user>
183     <password>__ZEBRA_PASS__</password>
184 </serverinfo>
186 <!-- PUBLICSERVER'S BIBLIOGRAPHIC RECORDS -->
187 <!--
188 <server id="publicserver"  listenref="publicserver"> 
189     <directory>__ZEBRA_DATA_DIR__/biblios</directory>
190     <config>__ZEBRA_CONF_DIR__/__ZEBRA_BIB_CFG__</config>
191     <cql2rpn>__ZEBRA_CONF_DIR__/pqf.properties</cql2rpn>
192     <xi:include href="__KOHA_CONF_DIR__/zebradb/__BIB_RETRIEVAL_CFG__"
193                 xmlns:xi="http://www.w3.org/2001/XInclude">
194       <xi:fallback>
195      <retrievalinfo>
196        <retrieval syntax="__ZEBRA_MARC_FORMAT__" name="F"/>
197        <retrieval syntax="__ZEBRA_MARC_FORMAT__" name="B"/>
198        <retrieval syntax="xml" name="F"/>
199        <retrieval syntax="xml" name="B"/>
200        <retrieval syntax="xml" name="marcxml"
201                   identifier="info:srw/schema/1/marcxml-v1.1">
202          <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
203            <marc inputformat="marc" outputformat="marcxml"
204                  inputcharset="utf-8"/>
205          </backend>
206        </retrieval>
207        <retrieval syntax="xml" name="dc">
208          <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
209            <marc inputformat="marc" outputformat="marcxml"
210                  inputcharset="utf-8"/>
211            <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slim2DC.xsl"/>
212          </backend>
213        </retrieval>
214        <retrieval syntax="xml" name="mods">
215          <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
216            <marc inputformat="marc" outputformat="marcxml"
217                  inputcharset="utf-8"/>
218            <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slim2MODS.xsl"/>
219          </backend>
220        </retrieval>
221        <retrieval syntax="xml" name="rdfdc">
222          <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
223            <marc inputformat="marc" outputformat="marcxml"
224                  inputcharset="utf-8"/>
225            <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slim2RDFDC.xsl"/>
226          </backend>
227        </retrieval>
228        <retrieval syntax="xml" name="rss2">
229          <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
230            <marc inputformat="marc" outputformat="marcxml"
231                  inputcharset="utf-8"/>
232            <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slim2RSS2.xsl"/>
233          </backend>
234        </retrieval>
235        <retrieval syntax="xml" name="utils">
236          <backend syntax="__ZEBRA_MARC_FORMAT__" name="F">
237            <marc inputformat="marc" outputformat="marcxml"
238                  inputcharset="utf-8"/>
239            <xslt stylesheet="__INTRANET_TMPL_DIR__/prog/en/xslt/MARC21slimUtils.xsl"/>
240          </backend>
241        </retrieval>
242      </retrievalinfo>
243       </xi:fallback>
244     </xi:include>
245     <xi:include href="__KOHA_CONF_DIR__/zebradb/explain-biblios.xml"
246                 xmlns:xi="http://www.w3.org/2001/XInclude">
247       <xi:fallback>
248       <explain xmlns="http://explain.z3950.org/dtd/2.0/">
249           <serverInfo>
250             <host>__ZEBRA_SRU_HOST__</host>
251             <port>__ZEBRA_SRU_BIBLIOS_PORT__</port>
252             <database>biblios</database>
253           </serverInfo>
254         </explain>
255       </xi:fallback>
256     </xi:include>
257 </server>
258 <serverinfo id="publicserver">
259         <ccl2rpn>__ZEBRA_CONF_DIR__/ccl.properties</ccl2rpn>
260         <user>__ZEBRA_USER__</user>    
261         <password>__ZEBRA_PASS__</password>
262 </serverinfo>
265 <!-- ADDITIONAL KOHA CONFIGURATION DIRECTIVE -->
266 <!-- db_scheme should follow the DBD driver name --> 
267 <!-- the DBD drivers supported by Koha are mysql and Pg -->
268 <!-- port info: mysql:3306 Pg:5432 (5433 on Debian) -->
269 <config>
270  <db_scheme>__DB_TYPE__</db_scheme>
271  <database>__DB_NAME__</database>
272  <hostname>__DB_HOST__</hostname>
273  <port>__DB_PORT__</port>
274  <user>__DB_USER__</user>
275  <pass>__DB_PASS__</pass>
276  <biblioserver>biblios</biblioserver>
277  <biblioservershadow>1</biblioservershadow>
278  <authorityserver>authorities</authorityserver>
279  <authorityservershadow>1</authorityservershadow>
280  <pluginsdir>__PLUGINS_DIR__</pluginsdir>
281  <enable_plugins>0</enable_plugins>
282  <intranetdir>__INTRANET_CGI_DIR__</intranetdir>
283  <opacdir>__OPAC_CGI_DIR__/opac</opacdir>
284  <opachtdocs>__OPAC_TMPL_DIR__</opachtdocs>
285  <intrahtdocs>__INTRANET_TMPL_DIR__</intrahtdocs>
286  <includes>__INTRANET_TMPL_DIR__/prog/en/includes/</includes>
287  <logdir>__LOG_DIR__</logdir>
288  <docdir>__DOC_DIR__</docdir>
289  <backupdir>__BACKUP_DIR__</backupdir>
290  <!-- Enable the two following to allow superlibrarians to download
291       database and configuration dumps (respectively) from the Export
292       tool -->
293  <backup_db_via_tools>0</backup_db_via_tools>
294  <backup_conf_via_tools>0</backup_conf_via_tools>
295  <pazpar2url>http://__PAZPAR2_HOST__:__PAZPAR2_PORT__/search.pz2</pazpar2url>
296  <install_log>__MISC_DIR__/koha-install-log</install_log>
297  <useldapserver>0</useldapserver><!-- see C4::Auth_with_ldap for extra configs you must add if you want to turn this on -->
298  <zebra_bib_index_mode>__BIB_INDEX_MODE__</zebra_bib_index_mode>
299  <zebra_auth_index_mode>__AUTH_INDEX_MODE__</zebra_auth_index_mode>
300  <queryparser_config>__KOHA_CONF_DIR__/searchengine/queryparser.yaml</queryparser_config>
301 </config>
302 </yazgfs>