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     dbf: 'WebPAC::Input::DBF'
79     isi: 'WebPAC::Input::ISI'
80   # define delimiters for validation
81   delimiters:
82     - ' ; '
83     - ' : '
84     - ' / '
85     - ' = '
86 editor:
87   # open this record when opening editor
88   # (it will also be used to deduce default database and input)
89   default_record_uri: 'ps/peri/1'
90
91 # directives after this are used when indexing using core WebPAC modules
92
93 databases:
94   # This is empty database created only in Hyper Estraier to merge
95   # all three databases
96   'webpac2':
97     name: 'Search all'
98     links:
99       - to: ffan
100         credit: 10000
101       - to: ffar
102         credit: 10000
103       - to: ffet
104         credit: 10000
105       - to: fffi 
106         credit: 10000
107       - to: fffo
108         credit: 10000
109       - to: ffge
110         credit: 10000
111       - to: ffhu 
112         credit: 10000
113       - to: ffiz
114         credit: 10000
115       - to: ffkf
116         credit: 10000
117       - to: ffkk 
118         credit: 10000
119       - to: fflo
120         credit: 10000
121       - to: fftu
122         credit: 10000
123       - to: ffpe   
124         credit: 10000
125       - to: ffpo
126         credit: 10000
127       - to: ffpu
128         credit: 10000
129       - to: ffps 
130         credit: 10000
131       - to: ffro   
132         credit: 10000
133       - to: ffsk
134         credit: 10000
135       - to: ffsf
136         credit: 10000
137       - to: ffso 
138         credit: 10000
139       - to: ffta 
140         credit: 10000
141       - to: ffsr 
142         credit: 10000
143       - to: ffmic 
144         credit: 10000
145       - to: vusp 
146         credit: 10000
147       - to: kem 
148         credit: 10000
149
150 #  # site with alternative databases
151 #  'hr':
152 #    name: 'Primjer za hrvatsko suèelje'
153 #    links:
154 #      - to: ffps
155 #        credit: 10000
156 #      - to: ffkk
157 #        credit: 5000
158 #      - to: emerald
159 #        credit: 5000
160
161
162 #  'ffps':
163 #    name: 'Knji¾nica Odsjeka za psihologiju'
164 #    links:
165 #      - to: ffps
166 #        credit: 10000
167
168 #  'drustvene':
169 #    name: 'Katalog knji¾nica dru¹tvenih znanosti'
170 #    links:
171 #      - to: efzg
172 #        credit: 10000
173 #      - to: eizg
174 #        credit: 10000
175 #      - to: efos
176 #        credit: 10000
177 #      - to: irmo
178 #        credit: 10000
179 #      - to: hika
180 #        credit: 10000
181 #      - to: iztzg
182 #        credit: 10000
183 #      - to: jzav
184 #        credit: 10000
185 #      - to: ijf 
186 #        credit: 10000
187    
188 #  'ecasopisi':
189 #    name: 'Katalog elektronièkih èasopisa'
190 #    links:
191 #      - to: emerald
192 #        credit: 10000
193
194 #  ffan:
195 #    name: 'Anglistika, Filozofski fakultet u Zagrebu'
196 #    input:
197 #      - name: peri
198 #        type: isis
199 #        path: '/backup/isis_backup/A105-1/ISIS/latest/PERI/PERI'
200 #        encoding: 'cp852'
201 #        modify_file: 'conf/modify/common.pl'
202 #        normalize:
203 #          path: 'conf/normalize/ff-peri.pl'
204 #      - name: libri
205 #        type: isis
206 #        path: '/backup/isis_backup/A105-1/ISIS/latest/LIBRI/LIBRI'
207 #        encoding: 'cp852'
208 #        modify_file: 'conf/modify/common.pl'
209 #        normalize:
210 #          path: 'conf/normalize/ff-libri.pl'
211
212
213 #  ffar:
214 #    name: 'Arheologija, Filozofski fakultet u Zagrebu'
215 #    input:
216 #      - name: peri
217 #        type: isis
218 #        path: '/backup/isis_backup/A018-2/isisdata/latest/PERI/PERI'
219 #        encoding: 'cp852'
220 #        #limit: 10
221 #        modify_file: 'conf/modify/common.pl'
222 #        normalize:
223 #           path: 'conf/normalize/ff-peri.pl'
224 #      - name: libri
225 #        type: isis
226 #        path: '/backup/isis_backup/A018-2/isisdata/latest/LIBRI/LIBRI'
227 #        encoding: 'cp852'
228 #        #limit: 10
229 #        modify_file: 'conf/modify/common.pl'
230 #        normalize:
231 #           path: 'conf/normalize/ff-libri.pl'
232  
233 #  ffet:
234 #    name: 'Etnologija, Filozofski fakultet u Zagrebu'
235 #    input:
236 #      - name: peri
237 #        type: isis
238 #        path: '/backup/isis_backup/A203-3/ISISDATA/latest/PERI/PERI'
239 #        encoding: 'cp852'
240 #        #limit: 10
241 #        modify_file: 'conf/modify/common.pl'
242 #        normalize:
243 #          path: 'conf/normalize/ff-peri.pl'
244 #      - name: libri
245 #        type: isis
246 #        path: '/backup/isis_backup/A203-3/ISISDATA/latest/LIBRI/LIBRI'
247 #        encoding: 'cp852'
248 #        #limit: 10
249 #        modify_file: 'conf/modify/common.pl'
250 #        normalize:
251 #          path: 'conf/normalize/ff-libri.pl'
252
253
254 #  fffi:
255 #    name: 'Filozofija, Filozofski fakultet u Zagrebu'
256 #    input:
257 #      - name: peri
258 #        type: isis
259 #        path: '/backup/isis_backup/A102-1B/ISISDATA/20070605/PERI/PERI'
260 #        encoding: 'cp852'
261 #        #limit: 10
262 #        #modify_file: 'conf/modify/common.pl'
263 #        normalize:
264 #          path: 'conf/normalize/ff-peri.pl'
265  
266 #   fffo:
267 #     name: 'Fonetika, Filozofski fakultet u Zagrebu'
268 #     input:
269 #       - name: peri
270 #         type: isis
271 #         path: '/backup/isis_backup/novi-40162/ISISDATA/latest/PERI/PERI'
272 #         encoding: 'cp852'
273 #         #limit: 10
274 #         modify_file: 'conf/modify/common.pl'
275 #         normalize:
276 #           path: 'conf/normalize/ff-peri.pl'
277
278 #   ffge:
279 #     name: 'Germanistika, Filozofski fakultet u Zagrebu'
280 #     input:
281 #       - name: peri
282 #         type: isis
283 #         path: '/backup/isis_backup/novi-40166/isisdata/latest/PERI/PERI'
284 #         encoding: 'cp852'
285 #         #limit: 10
286 #         modify_file: 'conf/modify/common.pl'
287 #         normalize:
288 #           path: 'conf/normalize/ff-peri.pl'
289
290 #  ffhu:
291 #    name: 'Hungarologija, Filozofski fakultet u Zagrebu'
292 #    input:
293 #      - name: peri
294 #        type: isis
295 #        path: '/backup/isis_backup/B001-2/winisis/latest/PERI/PERI'
296 #        encoding: 'cp852'
297 #        #limit: 10
298 #        modify_file: 'conf/modify/common.pl'
299 #        normalize:
300 #          path: 'conf/normalize/ff-peri.pl'
301   
302 #  isi:
303 #    name: 'ISI' 
304 #    input:
305 #      - name: isi
306 #        type: isi
307 #        path: '/data/citiranje/citirali-sverka.txt'
308 #        encoding: 'ISO-8859-1'
309 #        # modify_file: 'conf/modify/common.pl'
310 #        normalize:
311 #          path: 'conf/normalize/isi.pl'
312 #
313 #  bibirb:
314 #    name: 'Bib IRB' 
315 #    input:
316 #      - name: bibirb 
317 #        type: excel
318 #        path: '/data/citiranje/sverko-bibirb.xls'
319 #        encoding: 'ISO-8859-2'
320 #        # modify_file: 'conf/modify/common.pl'
321 #        normalize:
322 #          path: 'conf/normalize/excel-bib-irb.pl'
323 #
324 #  drzb:
325 #    name: 'DRZB 2007' 
326 #    input:
327 #      - name: drzb 
328 #        type: excel
329 #        path: '/data/knjiznice/drzb2007/drzb20072.xls'
330 #        encoding: 'ISO-8859-2'
331 #        # modify_file: 'conf/modify/common.pl'
332 #        normalize:
333 #          path: 'conf/normalize/excel-drzb.pl'
334 #
335   ffiz:
336     name: 'Informacijske znanosti, Filozofski fakultet u Zagrebu'
337     input:
338       - name: peri
339         type: isis
340         path: '/backup/isis_backup/A129-2/isisdata/latest/PERI/PERI'
341         encoding: 'cp852'
342         modify_file: 'conf/modify/common.pl'
343         normalize:
344           path: 'conf/normalize/ff-peri.pl'
345       - name: marcp
346         type: marc
347         path: '/data/webpac2/out/marc/ffiz-peri.marc'
348         encoding: 'UTF-8'
349         modify_file: 'conf/modify/common.pl'
350         normalize:
351           path: 'conf/normalize/marc.pl'
352       - name: marcl
353         type: marc
354         path: '/data/webpac2/out/marc/ffiz-libri.marc'
355         encoding: 'UTF-8'
356         modify_file: 'conf/modify/common.pl'
357         normalize:
358           path: 'conf/normalize/marc.pl'
359       - name: libri
360         type: isis
361         path: '/backup/isis_backup/A129-2/isisdata/latest/LIBRI/LIBRI'
362         encoding: 'cp852'
363         modify_file: 'conf/modify/common.pl'
364         normalize:
365           - path: 'conf/normalize/ff-libri.pl'
366           - path: 'conf/normalize/ff-viseraz-proba.pl'
367  
368  
369  
370 #  ffkk:
371 #    name: 'Komparativna knji¾evnost, Filozofski fakultet u Zagrebu'
372 #    input:
373 #      - name: peri
374 #        type: isis
375 #        path: '/backup/isis_backup/A206-4/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 #   fflo:
383 #     name: 'Lingvistika, Filozofski fakultet u Zagrebu'
384 #     input:
385 #       - name: peri
386 #         type: isis
387 #         path: '/backup/isis_backup/A108-1/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 #   ffpe:
395 #     name: 'Pedagogija, Filozofski fakultet u Zagrebu'
396 #     input:
397 #       - name: peri
398 #         type: isis
399 #         path: '/backup/isis_backup/novi-40163/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   ffpo:
407     name: 'Povijest, Filozofski fakultet u Zagrebu'
408     input:
409       - name: peri
410         type: isis
411         path: '/backup/isis_backup/A-201-1/isisdata/latest/PERI/PERI'
412         encoding: 'cp852'
413         modify_file: 'conf/modify/common.pl'
414         normalize:
415           path: 'conf/normalize/ff-peri.pl'
416 #
417 #   ffpu:
418 #     name: 'Povijest umjetnosti, Filozofski fakultet u Zagrebu'
419 #     input:
420 #       - name: peri
421 #         type: isis
422 #         path: '/backup/isis_backup/C124-3/ISISDATA/latest/PERI/PERI'
423 #         encoding: 'cp852'
424 #         #limit: 10
425 #         modify_file: 'conf/modify/common.pl'
426 #         normalize:
427 #           path: 'conf/normalize/ff-peri.pl'
428
429   ffps:
430     name: 'Psihologija, Filozofski fakultet u Zagrebu'
431     code: 'ps'
432     url: 'http://www.knjiznice.ffzg.hr/psihologija'
433     input:
434       - name: peri
435         type: isis
436         path: '/backup/isis_backup/sunce2/isisdata/latest/PERI/'
437         encoding: 'cp852'
438         modify_file: 'conf/modify/common.pl'
439         normalize:
440           path: 'conf/normalize/ff-peri.pl'
441       - name: libri
442         type: isis
443         path: '/backup/isis_backup/sunce2/isisdata/latest/LIBRI/'
444         encoding: 'cp852'
445         modify_file: 'conf/modify/common.pl'
446         normalize:
447           - path: 'conf/normalize/ff-libri.pl'
448           - path: 'conf/normalize/ff-viseraz-proba.pl'
449
450
451 #   ffro:
452 #     name: 'Romanistika, Filozofski fakultet u Zagrebu'
453 #     input:
454 #       - name: peri
455 #         type: isis
456 #         path: '/backup/isis_backup/A224-6/isisdata/20070605/PERI/PERI'
457 #         encoding: 'cp852'
458 #         #limit: 10
459 #         modify_file: 'conf/modify/common.pl'
460 #         normalize:
461 #           path: 'conf/normalize/ff-peri.pl'
462
463   ffsf:
464     name: 'Slavenska filologija, Filozofski fakulteti u Zagrebu'
465     input:
466       - name: peri
467         type: isis
468         path: '/backup/isis_backup/A125-2/ISISDATA/latest/PERI/PERI'
469         encoding: 'cp852'
470         #limit: 10
471         modify_file: 'conf/modify/common.pl'
472         normalize:
473           #path: 'conf/normalize/ff-peri.pl'
474           path: 'conf/normalize/ff-peri.pl'
475       - name: marcp
476         type: marc
477         path: '/data/webpac2/out/marc/ffsf-peri.marc'
478         encoding: 'UTF-8'
479         #modify_file: 'conf/modify/common.pl'
480         normalize:
481           path: 'conf/normalize/marc.pl'
482       - name: xls
483         type: excel
484         path: '/data/isis_data/sfd/ffsf-peri.xls'
485         encoding: 'ISO-8859-2'
486         #modify_file: 'conf/modify/common.pl'
487         normalize:
488           path: 'conf/normalize/excel.pl'
489
490   proba:
491     name: FF
492     input:
493       - name: proba
494         type: isis
495         path: '/backup/isis_backup/A-201-1/isisdata/latest/PERI/PERI'
496         encoding: 'cp852'
497         #limit: 10
498         modify_file: 'conf/modify/common.pl'
499         normalize:
500           path: 'conf/normalize/minimal.pl'
501
502 #   ffso:
503 #     name: 'Sociologija, Filozofski fakultet u Zagrebu'
504 #     input:
505 #       - name: peri
506 #         type: isis
507 #         path: '/backup/isis_backup/A002-3/isisdata/latest/PERI/PERI'
508 #         encoding: 'cp852'
509 #         #limit: 10
510 #         modify_file: 'conf/modify/common.pl'
511 #         normalize:
512 #           path: 'conf/normalize/ff-peri.pl'
513
514 #   ffta:
515 #     name: 'Talijanistika, Filozofski fakultet u Zagrebu'
516 #     input:
517 #       - name: peri
518 #         type: isis
519 #         path: '/backup/isis_backup/A225-2/isisdata/latest/PERI/PERI'
520 #         encoding: 'cp852'
521 #         #limit: 10
522 #         modify_file: 'conf/modify/common.pl'
523 #         normalize:
524 #           path: 'conf/normalize/ff-peri.pl'
525    
526 #  fftu:
527 #    name: 'Turkologija, Filozofski fakultet u Zagrebu'
528 #    input:
529 #      - name: peri
530 #        type: isis
531 #        # path: '/backup/isis_backup/B025-2/ISISDATA/20070711/PERI/PERI'
532 #        path: '/data/isis_data/tu/DATA/PERI/PERI'
533 #        encoding: 'cp852'
534 #        #limit: 10
535 #        modify_file: 'conf/modify/common.pl'
536 #        normalize:
537 #          path: 'conf/normalize/ff-peri.pl'
538  
539 #   ffmic:
540 #     name: 'Meðunarodni istra¾ivaèki centar za kasnu antiku i srednji vijek'
541 #     input:
542 #       - name: peri
543 #         type: isis
544 #         path: '/backup/isis_backup/C107-9/ISISDATA/latest/Peri/PERI'
545 #         encoding: 'cp852'
546 #         #limit: 10
547 #         modify_file: 'conf/modify/common.pl'
548 #         normalize:
549 #           path: 'conf/normalize/ff-peri.pl'
550
551   nsk:
552     name: 'Nacionalna i sveucilisna knjiznica'
553     input:
554       name: bbaza
555       type: marc
556       path: '/home/mglavica/NSK/data/BBaza.ISO'
557       encoding: 'ISO-8859-2'
558       normalize:
559         path: 'conf/normalize/minimal.pl'
560   
561 #   exhibit:
562 #     name: 'SMILE Exhibit based ouptput for WebPAC'
563 #     input:
564 #       name: 'Periodika'
565 #       type: marc
566 #       path: 'out/marc/ffpo-peri.marc'
567 #       encoding: 'UTF-8'
568 #       #limit: 100
569 #       normalize:
570 #         path: 'conf/normalize/json.pl'
571 #     output:
572 #       module: 'JSON'
573 #       path: 'out/exhibit/po.js'
574
575   webpacus:
576     name: 'Webpacus'
577     input:
578       name: 'foobar'
579       type: marc
580 #      path: 'out/marc/ffsf-peri.marc'
581       path: 'out/marc/ffkk-libri.marc'
582       encoding: 'utf-8'
583       normalize:
584         path: 'conf/normalize/webpacus.pl'
585     output:
586       - module: 'KinoSearch'
587         path: 'var/kinosearch'
588       - module: 'Sorted'
589         path: 'var/sorted'
590       - module: 'Webpacus'
591         path: '/data/Webpacus2'                         
592