View | Details | Raw Unified | Return to bug 9612
Collapse All | Expand All

(-)a/etc/koha-conf.xml (-192 / +6 lines)
Lines 37-110 __PAZPAR2_TOGGLE_XML_POST__ Link Here
37
    <directory>__ZEBRA_DATA_DIR__/biblios</directory>
37
    <directory>__ZEBRA_DATA_DIR__/biblios</directory>
38
    <config>__ZEBRA_CONF_DIR__/__ZEBRA_BIB_CFG__</config>
38
    <config>__ZEBRA_CONF_DIR__/__ZEBRA_BIB_CFG__</config>
39
    <cql2rpn>__ZEBRA_CONF_DIR__/pqf.properties</cql2rpn>
39
    <cql2rpn>__ZEBRA_CONF_DIR__/pqf.properties</cql2rpn>
40
     <!-- <docpath>xsl</docpath> -->
40
    <xi:include href="__KOHA_CONF_DIR__/zebradb/__BIB_RETRIEVAL_CFG__" xmlns:xi="http://www.w3.org/2001/XInclude"/>
41
     <!-- <stylesheet>xsl/default.xsl</stylesheet> -->
41
    <xi:include href="__KOHA_CONF_DIR__/zebradb/explain-biblios.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
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>
42
</server>
109
<serverinfo id="biblioserver">
43
<serverinfo id="biblioserver">
110
        <ccl2rpn>__ZEBRA_CONF_DIR__/ccl.properties</ccl2rpn>
44
        <ccl2rpn>__ZEBRA_CONF_DIR__/ccl.properties</ccl2rpn>
Lines 117-181 __PAZPAR2_TOGGLE_XML_POST__ Link Here
117
    <directory>__ZEBRA_DATA_DIR__/authorities</directory>
51
    <directory>__ZEBRA_DATA_DIR__/authorities</directory>
118
    <config>__ZEBRA_CONF_DIR__/__ZEBRA_AUTH_CFG__</config>
52
    <config>__ZEBRA_CONF_DIR__/__ZEBRA_AUTH_CFG__</config>
119
    <cql2rpn>__ZEBRA_CONF_DIR__/pqf.properties</cql2rpn>
53
    <cql2rpn>__ZEBRA_CONF_DIR__/pqf.properties</cql2rpn>
120
     <!-- <docpath>xsl</docpath> -->
54
    <xi:include href="__KOHA_CONF_DIR__/zebradb/__AUTH_RETRIEVAL_CFG__" xmlns:xi="http://www.w3.org/2001/XInclude"/>
121
     <!-- <stylesheet>xsl/default.xsl</stylesheet> -->
55
    <xi:include href="__KOHA_CONF_DIR__/zebradb/explain-authorities.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
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>
56
</server>
180
<serverinfo id="authorityserver">
57
<serverinfo id="authorityserver">
181
    <ccl2rpn>__ZEBRA_CONF_DIR__/ccl.properties</ccl2rpn>
58
    <ccl2rpn>__ZEBRA_CONF_DIR__/ccl.properties</ccl2rpn>
Lines 189-259 __PAZPAR2_TOGGLE_XML_POST__ Link Here
189
    <directory>__ZEBRA_DATA_DIR__/biblios</directory>
66
    <directory>__ZEBRA_DATA_DIR__/biblios</directory>
190
    <config>__ZEBRA_CONF_DIR__/__ZEBRA_BIB_CFG__</config>
67
    <config>__ZEBRA_CONF_DIR__/__ZEBRA_BIB_CFG__</config>
191
    <cql2rpn>__ZEBRA_CONF_DIR__/pqf.properties</cql2rpn>
68
    <cql2rpn>__ZEBRA_CONF_DIR__/pqf.properties</cql2rpn>
192
    <xi:include href="__KOHA_CONF_DIR__/zebradb/__BIB_RETRIEVAL_CFG__"
69
    <xi:include href="__KOHA_CONF_DIR__/zebradb/__BIB_RETRIEVAL_CFG__" xmlns:xi="http://www.w3.org/2001/XInclude"/>
193
                xmlns:xi="http://www.w3.org/2001/XInclude">
70
    <xi:include href="__KOHA_CONF_DIR__/zebradb/explain-biblios.xml" 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>
71
</server>
258
<serverinfo id="publicserver">
72
<serverinfo id="publicserver">
259
        <ccl2rpn>__ZEBRA_CONF_DIR__/ccl.properties</ccl2rpn>
73
        <ccl2rpn>__ZEBRA_CONF_DIR__/ccl.properties</ccl2rpn>
(-)a/etc/zebradb/authorities/etc/dom-config-marc.xml (-6 / +1 lines)
Lines 30-44 Authorities DOM config for MARC ISO2709 input Link Here
30
  <extract name="index">
30
  <extract name="index">
31
    <xslt stylesheet="authority-zebra-indexdefs.xsl"/>
31
    <xslt stylesheet="authority-zebra-indexdefs.xsl"/>
32
  </extract>
32
  </extract>
33
  <retrieve name="F">
34
    <xslt stylesheet="identity.xsl" />
35
  </retrieve>
36
  <retrieve name="usmarc">
37
    <xslt stylesheet="identity.xsl" />
38
  </retrieve>
39
  <retrieve name="marc">
33
  <retrieve name="marc">
40
    <xslt stylesheet="identity.xsl" />
34
    <xslt stylesheet="identity.xsl" />
41
  </retrieve>
35
  </retrieve>
36
  <!-- marcxml here maybe somewhat superfluous -->
42
  <retrieve name="marcxml">
37
  <retrieve name="marcxml">
43
    <xslt stylesheet="identity.xsl" />
38
    <xslt stylesheet="identity.xsl" />
44
  </retrieve>
39
  </retrieve>
(-)a/etc/zebradb/authorities/etc/dom-config.xml (-6 / +1 lines)
Lines 30-44 Authorities DOM config for MARC XML input Link Here
30
  <extract name="index">
30
  <extract name="index">
31
    <xslt stylesheet="authority-zebra-indexdefs.xsl"/>
31
    <xslt stylesheet="authority-zebra-indexdefs.xsl"/>
32
  </extract>
32
  </extract>
33
  <retrieve name="F">
34
    <xslt stylesheet="identity.xsl" />
35
  </retrieve>
36
  <retrieve name="usmarc">
37
    <xslt stylesheet="identity.xsl" />
38
  </retrieve>
39
  <retrieve name="marc">
33
  <retrieve name="marc">
40
    <xslt stylesheet="identity.xsl" />
34
    <xslt stylesheet="identity.xsl" />
41
  </retrieve>
35
  </retrieve>
36
  <!-- marcxml here maybe somewhat superfluous -->
42
  <retrieve name="marcxml">
37
  <retrieve name="marcxml">
43
    <xslt stylesheet="identity.xsl" />
38
    <xslt stylesheet="identity.xsl" />
44
  </retrieve>
39
  </retrieve>
(-)a/etc/zebradb/biblios/etc/dom-config-marc.xml (-6 / +1 lines)
Lines 30-44 Bibliographic DOM config for MARC ISO2709 input Link Here
30
  <extract name="index">
30
  <extract name="index">
31
    <xslt stylesheet="biblio-zebra-indexdefs.xsl"/>
31
    <xslt stylesheet="biblio-zebra-indexdefs.xsl"/>
32
  </extract>
32
  </extract>
33
  <retrieve name="F">
34
    <xslt stylesheet="identity.xsl" />
35
  </retrieve>
36
  <retrieve name="usmarc">
37
    <xslt stylesheet="identity.xsl" />
38
  </retrieve>
39
  <retrieve name="marc">
33
  <retrieve name="marc">
40
    <xslt stylesheet="identity.xsl" />
34
    <xslt stylesheet="identity.xsl" />
41
  </retrieve>
35
  </retrieve>
36
  <!-- marcxml here maybe somewhat superfluous -->
42
  <retrieve name="marcxml">
37
  <retrieve name="marcxml">
43
    <xslt stylesheet="identity.xsl" />
38
    <xslt stylesheet="identity.xsl" />
44
  </retrieve>
39
  </retrieve>
(-)a/etc/zebradb/biblios/etc/dom-config.xml (-6 / +1 lines)
Lines 30-44 Bibliographic DOM config for MARC XML input Link Here
30
  <extract name="index">
30
  <extract name="index">
31
    <xslt stylesheet="biblio-zebra-indexdefs.xsl"/>
31
    <xslt stylesheet="biblio-zebra-indexdefs.xsl"/>
32
  </extract>
32
  </extract>
33
  <retrieve name="F">
34
    <xslt stylesheet="identity.xsl" />
35
  </retrieve>
36
  <retrieve name="usmarc">
37
    <xslt stylesheet="identity.xsl" />
38
  </retrieve>
39
  <retrieve name="marc">
33
  <retrieve name="marc">
40
    <xslt stylesheet="identity.xsl" />
34
    <xslt stylesheet="identity.xsl" />
41
  </retrieve>
35
  </retrieve>
36
  <!-- marcxml here maybe somewhat superfluous -->
42
  <retrieve name="marcxml">
37
  <retrieve name="marcxml">
43
    <xslt stylesheet="identity.xsl" />
38
    <xslt stylesheet="identity.xsl" />
44
  </retrieve>
39
  </retrieve>
(-)a/etc/zebradb/retrieval-info-auth-dom.xml (-5 / +1 lines)
Lines 14-22 Link Here
14
            outputcharset="utf-8"/>
14
            outputcharset="utf-8"/>
15
    </backend>
15
    </backend>
16
  </retrieval>
16
  </retrieval>
17
  <retrieval syntax="xml" name="index"/> <!-- allow viewing index entries -->
17
  <retrieval syntax="xml"/>
18
  <retrieval syntax="xml" name="marc"
19
             identifier="info:srw/schema/1/marcxml-v1.1"/>
20
  <retrieval syntax="xml" name="marcxml"
21
             identifier="info:srw/schema/1/marcxml-v1.1"/>
22
</retrievalinfo>
18
</retrievalinfo>
(-)a/etc/zebradb/retrieval-info-bib-dom.xml (-6 / +1 lines)
Lines 14-22 Link Here
14
            outputcharset="utf-8"/>
14
            outputcharset="utf-8"/>
15
    </backend>
15
    </backend>
16
  </retrieval>
16
  </retrieval>
17
  <retrieval syntax="xml" name="index"/> <!-- allow viewing index entries -->
17
  <retrieval syntax="xml"/>
18
  <retrieval syntax="xml" name="marc"
19
             identifier="info:srw/schema/1/marcxml-v1.1"/>
20
  <retrieval syntax="xml" name="marcxml"
21
             identifier="info:srw/schema/1/marcxml-v1.1"/>
22
</retrievalinfo>
18
</retrievalinfo>
23
- 

Return to bug 9612