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 #  bibirb:
303 #    name: 'Bib IRB' 
304 #    input:
305 #      - name: bibirb 
306 #        type: excel
307 #        path: '/data/citiranje/sverko-bibirb.xls'
308 #        encoding: 'ISO-8859-2'
309 #        # modify_file: 'conf/modify/common.pl'
310 #        normalize:
311 #          path: 'conf/normalize/excel-bib-irb.pl'
312 #
313 #  drzb:
314 #    name: 'DRZB 2007' 
315 #    input:
316 #      - name: drzb 
317 #        type: excel
318 #        path: '/data/knjiznice/drzb2007/drzb20072.xls'
319 #        encoding: 'ISO-8859-2'
320 #        # modify_file: 'conf/modify/common.pl'
321 #        normalize:
322 #          path: 'conf/normalize/excel-drzb.pl'
323 #
324   ffiz:
325     name: 'Informacijske znanosti, Filozofski fakultet u Zagrebu'
326     input:
327       - name: peri
328         type: isis
329         path: '/backup/isis_backup/A129-2/isisdata/latest/PERI/PERI'
330         encoding: 'cp852'
331         modify_file: 'conf/modify/common.pl'
332         normalize:
333           path: 'conf/normalize/ff-peri.pl'
334       - name: marcp
335         type: marc
336         path: '/data/webpac2/out/marc/ffiz-peri.marc'
337         encoding: 'UTF-8'
338         modify_file: 'conf/modify/common.pl'
339         normalize:
340           path: 'conf/normalize/marc.pl'
341       - name: marcl
342         type: marc
343         path: '/data/webpac2/out/marc/ffiz-libri.marc'
344         encoding: 'UTF-8'
345         modify_file: 'conf/modify/common.pl'
346         normalize:
347           path: 'conf/normalize/marc.pl'
348       - name: libri
349         type: isis
350         path: '/backup/isis_backup/A129-2/isisdata/latest/LIBRI/LIBRI'
351         encoding: 'cp852'
352         modify_file: 'conf/modify/common.pl'
353         normalize:
354           - path: 'conf/normalize/ff-libri.pl'
355           - path: 'conf/normalize/ff-viseraz-proba.pl'
356  
357  
358  
359 #  ffkk:
360 #    name: 'Komparativna knji¾evnost, Filozofski fakultet u Zagrebu'
361 #    input:
362 #      - name: peri
363 #        type: isis
364 #        path: '/backup/isis_backup/A206-4/isisdata/latest/PERI/PERI'
365 #        encoding: 'cp852'
366 #        #limit: 10
367 #        modify_file: 'conf/modify/common.pl'
368 #        normalize:
369 #          path: 'conf/normalize/ff-peri.pl'
370
371 #   fflo:
372 #     name: 'Lingvistika, Filozofski fakultet u Zagrebu'
373 #     input:
374 #       - name: peri
375 #         type: isis
376 #         path: '/backup/isis_backup/A108-1/ISISDATA/latest/PERI/PERI'
377 #         encoding: 'cp852'
378 #         #limit: 10
379 #         modify_file: 'conf/modify/common.pl'
380 #         normalize:
381 #           path: 'conf/normalize/ff-peri.pl'
382
383 #   ffpe:
384 #     name: 'Pedagogija, Filozofski fakultet u Zagrebu'
385 #     input:
386 #       - name: peri
387 #         type: isis
388 #         path: '/backup/isis_backup/novi-40163/isisdata/latest/PERI/PERI'
389 #         encoding: 'cp852'
390 #         #limit: 10
391 #         modify_file: 'conf/modify/common.pl'
392 #         normalize:
393 #           path: 'conf/normalize/ff-peri.pl'
394 #
395   ffpo:
396     name: 'Povijest, Filozofski fakultet u Zagrebu'
397     input:
398       - name: peri
399         type: isis
400         path: '/backup/isis_backup/A-201-1/isisdata/latest/PERI/PERI'
401         encoding: 'cp852'
402         modify_file: 'conf/modify/common.pl'
403         normalize:
404           path: 'conf/normalize/ff-peri.pl'
405 #
406 #   ffpu:
407 #     name: 'Povijest umjetnosti, Filozofski fakultet u Zagrebu'
408 #     input:
409 #       - name: peri
410 #         type: isis
411 #         path: '/backup/isis_backup/C124-3/ISISDATA/latest/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   ffps:
419     name: 'Psihologija, Filozofski fakultet u Zagrebu'
420     code: 'ps'
421     url: 'http://www.knjiznice.ffzg.hr/psihologija'
422     input:
423       - name: peri
424         type: isis
425         path: '/backup/isis_backup/sunce2/isisdata/latest/PERI/'
426         encoding: 'cp852'
427         modify_file: 'conf/modify/common.pl'
428         normalize:
429           path: 'conf/normalize/ff-peri.pl'
430       - name: libri
431         type: isis
432         path: '/backup/isis_backup/sunce2/isisdata/latest/LIBRI/'
433         encoding: 'cp852'
434         modify_file: 'conf/modify/common.pl'
435         normalize:
436           - path: 'conf/normalize/ff-libri.pl'
437           - path: 'conf/normalize/ff-viseraz-proba.pl'
438
439
440 #   ffro:
441 #     name: 'Romanistika, Filozofski fakultet u Zagrebu'
442 #     input:
443 #       - name: peri
444 #         type: isis
445 #         path: '/backup/isis_backup/A224-6/isisdata/20070605/PERI/PERI'
446 #         encoding: 'cp852'
447 #         #limit: 10
448 #         modify_file: 'conf/modify/common.pl'
449 #         normalize:
450 #           path: 'conf/normalize/ff-peri.pl'
451
452   ffsf:
453     name: 'Slavenska filologija, Filozofski fakulteti u Zagrebu'
454     input:
455       - name: peri
456         type: isis
457         path: '/backup/isis_backup/A125-2/ISISDATA/latest/PERI/PERI'
458         encoding: 'cp852'
459         #limit: 10
460         modify_file: 'conf/modify/common.pl'
461         normalize:
462           #path: 'conf/normalize/ff-peri.pl'
463           path: 'conf/normalize/ff-peri.pl'
464       - name: marcp
465         type: marc
466         path: '/data/webpac2/out/marc/ffsf-peri.marc'
467         encoding: 'UTF-8'
468         #modify_file: 'conf/modify/common.pl'
469         normalize:
470           path: 'conf/normalize/marc.pl'
471       - name: xls
472         type: excel
473         path: '/data/isis_data/sfd/ffsf-peri.xls'
474         encoding: 'ISO-8859-2'
475         #modify_file: 'conf/modify/common.pl'
476         normalize:
477           path: 'conf/normalize/excel.pl'
478
479   proba:
480     name: FF
481     input:
482       - name: proba
483         type: isis
484         path: '/backup/isis_backup/A-201-1/isisdata/latest/PERI/PERI'
485         encoding: 'cp852'
486         #limit: 10
487         modify_file: 'conf/modify/common.pl'
488         normalize:
489           path: 'conf/normalize/minimal.pl'
490
491 #   ffso:
492 #     name: 'Sociologija, Filozofski fakultet u Zagrebu'
493 #     input:
494 #       - name: peri
495 #         type: isis
496 #         path: '/backup/isis_backup/A002-3/isisdata/latest/PERI/PERI'
497 #         encoding: 'cp852'
498 #         #limit: 10
499 #         modify_file: 'conf/modify/common.pl'
500 #         normalize:
501 #           path: 'conf/normalize/ff-peri.pl'
502
503 #   ffta:
504 #     name: 'Talijanistika, Filozofski fakultet u Zagrebu'
505 #     input:
506 #       - name: peri
507 #         type: isis
508 #         path: '/backup/isis_backup/A225-2/isisdata/latest/PERI/PERI'
509 #         encoding: 'cp852'
510 #         #limit: 10
511 #         modify_file: 'conf/modify/common.pl'
512 #         normalize:
513 #           path: 'conf/normalize/ff-peri.pl'
514    
515 #  fftu:
516 #    name: 'Turkologija, Filozofski fakultet u Zagrebu'
517 #    input:
518 #      - name: peri
519 #        type: isis
520 #        # path: '/backup/isis_backup/B025-2/ISISDATA/20070711/PERI/PERI'
521 #        path: '/data/isis_data/tu/DATA/PERI/PERI'
522 #        encoding: 'cp852'
523 #        #limit: 10
524 #        modify_file: 'conf/modify/common.pl'
525 #        normalize:
526 #          path: 'conf/normalize/ff-peri.pl'
527  
528 #   ffmic:
529 #     name: 'Meðunarodni istra¾ivaèki centar za kasnu antiku i srednji vijek'
530 #     input:
531 #       - name: peri
532 #         type: isis
533 #         path: '/backup/isis_backup/C107-9/ISISDATA/latest/Peri/PERI'
534 #         encoding: 'cp852'
535 #         #limit: 10
536 #         modify_file: 'conf/modify/common.pl'
537 #         normalize:
538 #           path: 'conf/normalize/ff-peri.pl'
539
540   nsk:
541     name: 'Nacionalna i sveucilisna knjiznica'
542     input:
543       name: bbaza
544       type: marc
545       path: '/home/mglavica/NSK/data/BBaza.ISO'
546       encoding: 'ISO-8859-2'
547       normalize:
548         path: 'conf/normalize/minimal.pl'
549   
550 #   exhibit:
551 #     name: 'SMILE Exhibit based ouptput for WebPAC'
552 #     input:
553 #       name: 'Periodika'
554 #       type: marc
555 #       path: 'out/marc/ffpo-peri.marc'
556 #       encoding: 'UTF-8'
557 #       #limit: 100
558 #       normalize:
559 #         path: 'conf/normalize/json.pl'
560 #     output:
561 #       module: 'JSON'
562 #       path: 'out/exhibit/po.js'
563
564   isi:
565     name: 'ISI' 
566     input:
567       - name: isi
568         type: isi
569         path: '/data/citiranje/BRATKO.isi'
570         encoding: 'ISO-8859-1'
571         normalize:
572           path: 'conf/normalize/isi.pl'
573
574   webpacus:
575     name: 'Webpacus'
576     input:
577       - name: 'bib'
578         type: isis
579         path: '/data/hidra/test/BIB'
580         encoding: 'cp852'
581         normalize:
582           path: 'conf/normalize/webpacus-hidra.pl'
583       - name: 'dir'
584         type: isis
585         path: '/data/hidra/test/DIR'
586         encoding: 'cp852'
587         normalize:
588           path: 'conf/normalize/webpacus-hidra.pl'
589     output:
590       - module: 'KinoSearch'
591         path: 'var/kinosearch'
592       - module: 'Sorted'
593         path: 'var/sorted'
594       - module: 'Webpacus'
595         path: '/data/Webpacus2'                         
596