local
[webpac2] / conf / mjesec.yml
1 --- #YAML:1.0
2 # DO NOT USE TABS FOR INDENTATION OR label/value SEPARATION!!!
3
4 # encoding of this configuration file
5 config_encoding: 'ISO-8859-2'
6 # encoding in Catalyst.
7 catalyst_encoding: 'UTF-8'
8 # relative path to sites templates under Catalyst root
9 sites_root: 'sites'
10
11 # which indexing engine to use? (hyperestraier is default)
12 #use_indexer: 'hyperestraier'
13 use_indexer: 'hyperestraier-native'
14 #use_indexer: 'kinosearch'
15
16 # configuration for Hyper Estraier full text search engine
17 hyperestraier:
18   #url: 'http://localhost:1978/node/webpac2'
19   masterurl: 'http://localhost:1978'
20   defaultnode: 'webpac2'
21 #  defaultnode: 'ps'
22   defaultdepth: 1
23   user: 'admin'
24   passwd: 'admin'
25   # don't turn this on! it will spit huge amounts of output
26   #debug: 1
27   #
28   #
29   path: 'casket/'
30   # number of results on each page
31   hits_on_page: 10
32   # number of results to fetch for suggestion (it will fold multiple sameones)
33   hits_for_suggest: 20
34   #
35   # options used while indexing
36   #
37   # which tag type to use for search engine (used while indexing)
38   type: 'search'
39   #
40
41 # options for pager
42 pager:
43   # how many pages to show for navigation?
44   max_pages: 20
45
46 # configuration for KinoSearch search engine library
47 kinosearch:
48   index_path: './kinosearch/'
49   database: 'unconfigured database name'
50   label: 'unconfigured database label'
51   encoding: 'iso-8859-2'
52   # clean database before opening? (WARNING: this erases existing database)
53   clean: 1
54   # which field type to index?
55   type: 'search'
56
57 webpac:
58   # default template to use
59   template: 'html_ffzg_results_short.tt'
60   # path to database files
61   db_path: '/data/webpac2/db'
62   # path to templates used by WebPAC::Output
63   template_path: '/data/webpac2/conf/output/tt'
64   # default template for results
65   default_template: 'html_ffzg.tt'
66   # default user editable css file
67   default_css: 'user.css'
68   css_path: 'root/css'
69   # encoding comming from webpac
70   webpac_encoding: 'iso-8859-2'
71   # encoding expected by Catalyst
72   out_encoding: 'utf-8'
73   # define different input formats (types) and perl modules to handle them
74   inputs:
75     isis: 'WebPAC::Input::ISIS'
76     marc: 'WebPAC::Input::MARC'
77     excel: 'WebPAC::Input::Excel'
78   # define delimiters for validation
79   delimiters:
80     - ' ; '
81     - ' : '
82     - ' / '
83     - ' = '
84 editor:
85   # open this record when opening editor
86   # (it will also be used to deduce default database and input)
87   default_record_uri: 'ps/peri/1'
88
89 # directives after this are used when indexing using core WebPAC modules
90
91 databases:
92   # This is empty database created only in Hyper Estraier to merge
93   # all three databases
94   'webpac2':
95     name: 'Search all'
96     links:
97       - to: ffan
98         credit: 10000
99       - to: ffar
100         credit: 10000
101       - to: ffet
102         credit: 10000
103       - to: fffi 
104         credit: 10000
105       - to: fffo
106         credit: 10000
107       - to: ffge
108         credit: 10000
109       - to: ffhu 
110         credit: 10000
111       - to: ffiz
112         credit: 10000
113       - to: ffkf
114         credit: 10000
115       - to: ffkk 
116         credit: 10000
117       - to: fflo
118         credit: 10000
119       - to: fftu
120         credit: 10000
121       - to: ffpe   
122         credit: 10000
123       - to: ffpo
124         credit: 10000
125       - to: ffpu
126         credit: 10000
127       - to: ffps 
128         credit: 10000
129       - to: ffro   
130         credit: 10000
131       - to: ffsk
132         credit: 10000
133       - to: ffsf
134         credit: 10000
135       - to: ffso 
136         credit: 10000
137       - to: ffta 
138         credit: 10000
139       - to: ffsr 
140         credit: 10000
141       - to: ffmic 
142         credit: 10000
143       - to: vusp 
144         credit: 10000
145       - to: kem 
146         credit: 10000
147
148 #  # site with alternative databases
149 #  'hr':
150 #    name: 'Primjer za hrvatsko suèelje'
151 #    links:
152 #      - to: ffps
153 #        credit: 10000
154 #      - to: ffkk
155 #        credit: 5000
156 #      - to: emerald
157 #        credit: 5000
158
159
160 #  'ffps':
161 #    name: 'Knji¾nica Odsjeka za psihologiju'
162 #    links:
163 #      - to: ffps
164 #        credit: 10000
165
166 #  'drustvene':
167 #    name: 'Katalog knji¾nica dru¹tvenih znanosti'
168 #    links:
169 #      - to: efzg
170 #        credit: 10000
171 #      - to: eizg
172 #        credit: 10000
173 #      - to: efos
174 #        credit: 10000
175 #      - to: irmo
176 #        credit: 10000
177 #      - to: hika
178 #        credit: 10000
179 #      - to: iztzg
180 #        credit: 10000
181 #      - to: jzav
182 #        credit: 10000
183 #      - to: ijf 
184 #        credit: 10000
185    
186 #  'ecasopisi':
187 #    name: 'Katalog elektronièkih èasopisa'
188 #    links:
189 #      - to: emerald
190 #        credit: 10000
191
192 #   ffan:
193 #     name: 'Anglistika, Filozofski fakultet u Zagrebu'
194 #     input:
195 #       - name: peri
196 #         type: isis
197 #         path: '/backup/isis_backup/A105-1/ISIS/latest/PERI/PERI'
198 #         encoding: 'cp852'
199 #         modify_file: 'conf/modify/common.pl'
200 #         normalize:
201 #           path: 'conf/normalize/ff-peri.pl'
202 #   ffar:
203 #     name: 'Arheologija, Filozofski fakultet u Zagrebu'
204 #     input:
205 #       - name: peri
206 #         type: isis
207 #         path: '/backup/isis_backup/A018-2/isisdata/latest/PERI/PERI'
208 #         encoding: 'cp852'
209 #         #limit: 10
210 #         modify_file: 'conf/modify/common.pl'
211 #         normalize:
212 #           path: 'conf/normalize/ff-peri.pl'
213
214 #   ffet:
215 #     name: 'Etnologija, Filozofski fakultet u Zagrebu'
216 #     input:
217 #       - name: peri
218 #         type: isis
219 #         path: '/backup/isis_backup/A203-3/ISISDATA/latest/PERI/PERI'
220 #         encoding: 'cp852'
221 #         #limit: 10
222 #         modify_file: 'conf/modify/common.pl'
223 #         normalize:
224 #           path: 'conf/normalize/ff-peri.pl'
225
226 # #  fffi:
227 # #    name: 'Filozofija, Filozofski fakultet u Zagrebu'
228 # #    input:
229 # #      - name: peri
230 # #        type: isis
231 # #        path: '/backup/isis_backup/A102-1B/ISISDATA/20070605/PERI/PERI'
232 # #        encoding: 'cp852'
233 # #        #limit: 10
234 # #        #modify_file: 'conf/modify/common.pl'
235 # #        normalize:
236 # #          path: 'conf/normalize/ff-peri.pl'
237
238 #   fffo:
239 #     name: 'Fonetika, Filozofski fakultet u Zagrebu'
240 #     input:
241 #       - name: peri
242 #         type: isis
243 #         path: '/backup/isis_backup/novi-40162/ISISDATA/latest/PERI/PERI'
244 #         encoding: 'cp852'
245 #         #limit: 10
246 #         modify_file: 'conf/modify/common.pl'
247 #         normalize:
248 #           path: 'conf/normalize/ff-peri.pl'
249
250 #   ffge:
251 #     name: 'Germanistika, Filozofski fakultet u Zagrebu'
252 #     input:
253 #       - name: peri
254 #         type: isis
255 #         path: '/backup/isis_backup/novi-40166/isisdata/latest/PERI/PERI'
256 #         encoding: 'cp852'
257 #         #limit: 10
258 #         modify_file: 'conf/modify/common.pl'
259 #         normalize:
260 #           path: 'conf/normalize/ff-peri.pl'
261
262 #   ffhu:
263 #     name: 'Hungarologija, Filozofski fakultet u Zagrebu'
264 #     input:
265 #       - name: peri
266 #         type: isis
267 #         path: '/backup/isis_backup/B001-2/winisis/latest/PERI/PERI'
268 #         encoding: 'cp852'
269 #         #limit: 10
270 #         modify_file: 'conf/modify/common.pl'
271 #         normalize:
272 #           path: 'conf/normalize/ff-peri.pl'
273
274 #   ffiz:
275 #     name: 'Informacijske znanosti, Filozofski fakultet u Zagrebu'
276 #     input:
277 #       - name: peri
278 #         type: isis
279 #         path: '/backup/isis_backup/A129-2/isisdata/latest/PERI/PERI'
280 #         encoding: 'cp852'
281 #         modify_file: 'conf/modify/common.pl'
282 #         normalize:
283 #           path: 'conf/normalize/ff-peri.pl'
284
285 #   ffkk:
286 #     name: 'Komparativna knji¾evnost, Filozofski fakultet u Zagrebu'
287 #     input:
288 #       - name: peri
289 #         type: isis
290 #         path: '/backup/isis_backup/A206-4/isisdata/latest/PERI/PERI'
291 #         encoding: 'cp852'
292 #         #limit: 10
293 #         modify_file: 'conf/modify/common.pl'
294 #         normalize:
295 #           path: 'conf/normalize/ff-peri.pl'
296
297 #   fflo:
298 #     name: 'Lingvistika, Filozofski fakultet u Zagrebu'
299 #     input:
300 #       - name: peri
301 #         type: isis
302 #         path: '/backup/isis_backup/A108-1/ISISDATA/latest/PERI/PERI'
303 #         encoding: 'cp852'
304 #         #limit: 10
305 #         modify_file: 'conf/modify/common.pl'
306 #         normalize:
307 #           path: 'conf/normalize/ff-peri.pl'
308
309 #   ffpe:
310 #     name: 'Pedagogija, Filozofski fakultet u Zagrebu'
311 #     input:
312 #       - name: peri
313 #         type: isis
314 #         path: '/backup/isis_backup/novi-40163/isisdata/latest/PERI/PERI'
315 #         encoding: 'cp852'
316 #         #limit: 10
317 #         modify_file: 'conf/modify/common.pl'
318 #         normalize:
319 #           path: 'conf/normalize/ff-peri.pl'
320
321   ffpo:
322     name: 'Povijest, Filozofski fakultet u Zagrebu'
323     input:
324       - name: peri
325         type: isis
326         path: '/backup/isis_backup/A-201-1/isisdata/latest/PERI/PERI'
327         encoding: 'cp852'
328         modify_file: 'conf/modify/common.pl'
329         normalize:
330           path: 'conf/normalize/ff-peri.pl'
331
332 #   ffpu:
333 #     name: 'Povijest umjetnosti, Filozofski fakultet u Zagrebu'
334 #     input:
335 #       - name: peri
336 #         type: isis
337 #         path: '/backup/isis_backup/C124-3/ISISDATA/latest/PERI/PERI'
338 #         encoding: 'cp852'
339 #         #limit: 10
340 #         modify_file: 'conf/modify/common.pl'
341 #         normalize:
342 #           path: 'conf/normalize/ff-peri.pl'
343
344 #   ffps:
345 #     name: 'Psihologija, Filozofski fakultet u Zagrebu'
346 #     code: 'ps'
347 #     url: 'http://www.knjiznice.ffzg.hr/psihologija'
348 #     input:
349 #       - name: peri
350 #         type: isis
351 #         path: '/backup/isis_backup/sunce2/isisdata/latest/PERI/'
352 #         encoding: 'cp852'
353 #         modify_file: 'conf/modify/common.pl'
354 #         normalize:
355 #           path: 'conf/normalize/ff-peri.pl'
356
357
358 #   ffro:
359 #     name: 'Romanistika, Filozofski fakultet u Zagrebu'
360 #     input:
361 #       - name: peri
362 #         type: isis
363 #         path: '/backup/isis_backup/A224-6/isisdata/20070605/PERI/PERI'
364 #         encoding: 'cp852'
365 #         #limit: 10
366 #         modify_file: 'conf/modify/common.pl'
367 #         normalize:
368 #           path: 'conf/normalize/ff-peri.pl'
369
370 #   ffsf:
371 #     name: 'Slavenska filologija, Filozofski fakulteti u Zagrebu'
372 #     input:
373 #       - name: peri
374 #         type: isis
375 #         path: '/backup/isis_backup/A125-2/ISISDATA/latest/PERI/PERI'
376 #         encoding: 'cp852'
377 #         #limit: 10
378 #         modify_file: 'conf/modify/common.pl'
379 #         normalize:
380 #           path: 'conf/normalize/ff-peri.pl'
381
382 #   ffso:
383 #     name: 'Sociologija, Filozofski fakultet u Zagrebu'
384 #     input:
385 #       - name: peri
386 #         type: isis
387 #         path: '/backup/isis_backup/A002-3/isisdata/latest/PERI/PERI'
388 #         encoding: 'cp852'
389 #         #limit: 10
390 #         modify_file: 'conf/modify/common.pl'
391 #         normalize:
392 #           path: 'conf/normalize/ff-peri.pl'
393
394 #   ffta:
395 #     name: 'Talijanistika, Filozofski fakultet u Zagrebu'
396 #     input:
397 #       - name: peri
398 #         type: isis
399 #         path: '/backup/isis_backup/A225-2/isisdata/latest/PERI/PERI'
400 #         encoding: 'cp852'
401 #         #limit: 10
402 #         modify_file: 'conf/modify/common.pl'
403 #         normalize:
404 #           path: 'conf/normalize/ff-peri.pl'
405 #   
406 #   fftu:
407 #     name: 'Turkologija, Filozofski fakultet u Zagrebu'
408 #     input:
409 #       - name: peri
410 #         type: isis
411 #         path: '/backup/isis_backup/B025-2/ISISDATA/20070711/PERI/PERI'
412 #         encoding: 'cp852'
413 #         #limit: 10
414 #         modify_file: 'conf/modify/common.pl'
415 #         normalize:
416 #           path: 'conf/normalize/ff-peri.pl'
417
418 #   ffmic:
419 #     name: 'Meðunarodni istra¾ivaèki centar za kasnu antiku i srednji vijek'
420 #     input:
421 #       - name: peri
422 #         type: isis
423 #         path: '/backup/isis_backup/C107-9/ISISDATA/latest/Peri/PERI'
424 #         encoding: 'cp852'
425 #         #limit: 10
426 #         modify_file: 'conf/modify/common.pl'
427 #         normalize:
428 #           path: 'conf/normalize/ff-peri.pl'
429
430 #   nsk:
431 #     name: 'Nacionalna i sveucilisna knjiznica'
432 #     input:
433 #       name: bbaza
434 #       type: marc
435 #       path: '/home/mglavica/NSK/data/BBaza.ISO'
436 #       encoding: 'ISO-8859-2'
437 #       normalize:
438 #         path: 'conf/normalize/minimal.pl'
439 #   
440 #   exhibit:
441 #     name: 'SMILE Exhibit based ouptput for WebPAC'
442 #     input:
443 #       name: 'Periodika'
444 #       type: marc
445 #       path: 'out/marc/ffpo-peri.marc'
446 #       encoding: 'UTF-8'
447 #       #limit: 100
448 #       normalize:
449 #         path: 'conf/normalize/json.pl'
450 #     output:
451 #       module: 'JSON'
452 #       path: 'out/exhibit/po.js'