local configuration
[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     isi: 'WebPAC::Input::ISI'
79   # define delimiters for validation
80   delimiters:
81     - ' ; '
82     - ' : '
83     - ' / '
84     - ' = '
85 editor:
86   # open this record when opening editor
87   # (it will also be used to deduce default database and input)
88   default_record_uri: 'ps/peri/1'
89
90 # directives after this are used when indexing using core WebPAC modules
91
92 databases:
93   # This is empty database created only in Hyper Estraier to merge
94   # all three databases
95   'webpac2':
96     name: 'Search all'
97     links:
98       - to: ffan
99         credit: 10000
100       - to: ffar
101         credit: 10000
102       - to: ffet
103         credit: 10000
104       - to: fffi 
105         credit: 10000
106       - to: fffo
107         credit: 10000
108       - to: ffge
109         credit: 10000
110       - to: ffhu 
111         credit: 10000
112       - to: ffiz
113         credit: 10000
114       - to: ffkf
115         credit: 10000
116       - to: ffkk 
117         credit: 10000
118       - to: fflo
119         credit: 10000
120       - to: fftu
121         credit: 10000
122       - to: ffpe   
123         credit: 10000
124       - to: ffpo
125         credit: 10000
126       - to: ffpu
127         credit: 10000
128       - to: ffps 
129         credit: 10000
130       - to: ffro   
131         credit: 10000
132       - to: ffsk
133         credit: 10000
134       - to: ffsf
135         credit: 10000
136       - to: ffso 
137         credit: 10000
138       - to: ffta 
139         credit: 10000
140       - to: ffsr 
141         credit: 10000
142       - to: ffmic 
143         credit: 10000
144       - to: vusp 
145         credit: 10000
146       - to: kem 
147         credit: 10000
148
149 #  # site with alternative databases
150 #  'hr':
151 #    name: 'Primjer za hrvatsko suèelje'
152 #    links:
153 #      - to: ffps
154 #        credit: 10000
155 #      - to: ffkk
156 #        credit: 5000
157 #      - to: emerald
158 #        credit: 5000
159
160
161 #  'ffps':
162 #    name: 'Knji¾nica Odsjeka za psihologiju'
163 #    links:
164 #      - to: ffps
165 #        credit: 10000
166
167 #  'drustvene':
168 #    name: 'Katalog knji¾nica dru¹tvenih znanosti'
169 #    links:
170 #      - to: efzg
171 #        credit: 10000
172 #      - to: eizg
173 #        credit: 10000
174 #      - to: efos
175 #        credit: 10000
176 #      - to: irmo
177 #        credit: 10000
178 #      - to: hika
179 #        credit: 10000
180 #      - to: iztzg
181 #        credit: 10000
182 #      - to: jzav
183 #        credit: 10000
184 #      - to: ijf 
185 #        credit: 10000
186    
187 #  'ecasopisi':
188 #    name: 'Katalog elektronièkih èasopisa'
189 #    links:
190 #      - to: emerald
191 #        credit: 10000
192
193 #  ffan:
194 #    name: 'Anglistika, Filozofski fakultet u Zagrebu'
195 #    input:
196 #      - name: peri
197 #        type: isis
198 #        path: '/backup/isis_backup/A105-1/ISIS/latest/PERI/PERI'
199 #        encoding: 'cp852'
200 #        modify_file: 'conf/modify/common.pl'
201 #        normalize:
202 #          path: 'conf/normalize/ff-peri.pl'
203 #      - name: libri
204 #        type: isis
205 #        path: '/backup/isis_backup/A105-1/ISIS/latest/LIBRI/LIBRI'
206 #        encoding: 'cp852'
207 #        modify_file: 'conf/modify/common.pl'
208 #        normalize:
209 #          path: 'conf/normalize/ff-libri.pl'
210
211
212 #  ffar:
213 #    name: 'Arheologija, Filozofski fakultet u Zagrebu'
214 #    input:
215 #      - name: peri
216 #        type: isis
217 #        path: '/backup/isis_backup/A018-2/isisdata/latest/PERI/PERI'
218 #        encoding: 'cp852'
219 #        #limit: 10
220 #        modify_file: 'conf/modify/common.pl'
221 #        normalize:
222 #           path: 'conf/normalize/ff-peri.pl'
223 #      - name: libri
224 #        type: isis
225 #        path: '/backup/isis_backup/A018-2/isisdata/latest/LIBRI/LIBRI'
226 #        encoding: 'cp852'
227 #        #limit: 10
228 #        modify_file: 'conf/modify/common.pl'
229 #        normalize:
230 #           path: 'conf/normalize/ff-libri.pl'
231  
232 #  ffet:
233 #    name: 'Etnologija, Filozofski fakultet u Zagrebu'
234 #    input:
235 #      - name: peri
236 #        type: isis
237 #        path: '/backup/isis_backup/A203-3/ISISDATA/latest/PERI/PERI'
238 #        encoding: 'cp852'
239 #        #limit: 10
240 #        modify_file: 'conf/modify/common.pl'
241 #        normalize:
242 #          path: 'conf/normalize/ff-peri.pl'
243 #      - name: libri
244 #        type: isis
245 #        path: '/backup/isis_backup/A203-3/ISISDATA/latest/LIBRI/LIBRI'
246 #        encoding: 'cp852'
247 #        #limit: 10
248 #        modify_file: 'conf/modify/common.pl'
249 #        normalize:
250 #          path: 'conf/normalize/ff-libri.pl'
251
252
253 #  fffi:
254 #    name: 'Filozofija, Filozofski fakultet u Zagrebu'
255 #    input:
256 #      - name: peri
257 #        type: isis
258 #        path: '/backup/isis_backup/A102-1B/ISISDATA/20070605/PERI/PERI'
259 #        encoding: 'cp852'
260 #        #limit: 10
261 #        #modify_file: 'conf/modify/common.pl'
262 #        normalize:
263 #          path: 'conf/normalize/ff-peri.pl'
264  
265 #   fffo:
266 #     name: 'Fonetika, Filozofski fakultet u Zagrebu'
267 #     input:
268 #       - name: peri
269 #         type: isis
270 #         path: '/backup/isis_backup/novi-40162/ISISDATA/latest/PERI/PERI'
271 #         encoding: 'cp852'
272 #         #limit: 10
273 #         modify_file: 'conf/modify/common.pl'
274 #         normalize:
275 #           path: 'conf/normalize/ff-peri.pl'
276
277 #   ffge:
278 #     name: 'Germanistika, Filozofski fakultet u Zagrebu'
279 #     input:
280 #       - name: peri
281 #         type: isis
282 #         path: '/backup/isis_backup/novi-40166/isisdata/latest/PERI/PERI'
283 #         encoding: 'cp852'
284 #         #limit: 10
285 #         modify_file: 'conf/modify/common.pl'
286 #         normalize:
287 #           path: 'conf/normalize/ff-peri.pl'
288
289   ffhu:
290     name: 'Hungarologija, Filozofski fakultet u Zagrebu'
291     input:
292       - name: peri
293         type: isis
294         path: '/backup/isis_backup/B001-2/winisis/latest/PERI/PERI'
295         encoding: 'cp852'
296         #limit: 10
297         modify_file: 'conf/modify/common.pl'
298         normalize:
299           path: 'conf/normalize/ff-peri.pl'
300   
301   isi:
302     name: 'ISI' 
303     input:
304       - name: isi
305         type: isi
306         path: '/data/isis_data/savedrecs.txt'
307         encoding: 'ISO-8859-1'
308         # modify_file: 'conf/modify/common.pl'
309         normalize:
310           path: 'conf/normalize/isi.pl'
311  
312   ffiz:
313     name: 'Informacijske znanosti, Filozofski fakultet u Zagrebu'
314     input:
315       - name: peri
316         type: isis
317         path: '/backup/isis_backup/A129-2/isisdata/latest/PERI/PERI'
318         encoding: 'cp852'
319         modify_file: 'conf/modify/common.pl'
320         normalize:
321           path: 'conf/normalize/ff-peri.pl'
322       - name: libri
323         type: isis
324         path: '/backup/isis_backup/A129-2/isisdata/latest/LIBRI/LIBRI'
325         encoding: 'cp852'
326         modify_file: 'conf/modify/common.pl'
327         normalize:
328           path: 'conf/normalize/ff-libri.pl'
329  
330  
331 #   ffkk:
332 #     name: 'Komparativna knji¾evnost, Filozofski fakultet u Zagrebu'
333 #     input:
334 #       - name: peri
335 #         type: isis
336 #         path: '/backup/isis_backup/A206-4/isisdata/latest/PERI/PERI'
337 #         encoding: 'cp852'
338 #         #limit: 10
339 #         modify_file: 'conf/modify/common.pl'
340 #         normalize:
341 #           path: 'conf/normalize/ff-peri.pl'
342
343 #   fflo:
344 #     name: 'Lingvistika, Filozofski fakultet u Zagrebu'
345 #     input:
346 #       - name: peri
347 #         type: isis
348 #         path: '/backup/isis_backup/A108-1/ISISDATA/latest/PERI/PERI'
349 #         encoding: 'cp852'
350 #         #limit: 10
351 #         modify_file: 'conf/modify/common.pl'
352 #         normalize:
353 #           path: 'conf/normalize/ff-peri.pl'
354
355 #   ffpe:
356 #     name: 'Pedagogija, Filozofski fakultet u Zagrebu'
357 #     input:
358 #       - name: peri
359 #         type: isis
360 #         path: '/backup/isis_backup/novi-40163/isisdata/latest/PERI/PERI'
361 #         encoding: 'cp852'
362 #         #limit: 10
363 #         modify_file: 'conf/modify/common.pl'
364 #         normalize:
365 #           path: 'conf/normalize/ff-peri.pl'
366 #
367 #  ffpo:
368 #    name: 'Povijest, Filozofski fakultet u Zagrebu'
369 #    input:
370 #      - name: peri
371 #        type: isis
372 #        path: '/backup/isis_backup/A-201-1/isisdata/latest/PERI/PERI'
373 #        encoding: 'cp852'
374 #        modify_file: 'conf/modify/common.pl'
375 #        normalize:
376 #          path: 'conf/normalize/ff-peri.pl'
377 #
378 #   ffpu:
379 #     name: 'Povijest umjetnosti, Filozofski fakultet u Zagrebu'
380 #     input:
381 #       - name: peri
382 #         type: isis
383 #         path: '/backup/isis_backup/C124-3/ISISDATA/latest/PERI/PERI'
384 #         encoding: 'cp852'
385 #         #limit: 10
386 #         modify_file: 'conf/modify/common.pl'
387 #         normalize:
388 #           path: 'conf/normalize/ff-peri.pl'
389
390 #   ffps:
391 #     name: 'Psihologija, Filozofski fakultet u Zagrebu'
392 #     code: 'ps'
393 #     url: 'http://www.knjiznice.ffzg.hr/psihologija'
394 #     input:
395 #       - name: peri
396 #         type: isis
397 #         path: '/backup/isis_backup/sunce2/isisdata/latest/PERI/'
398 #         encoding: 'cp852'
399 #         modify_file: 'conf/modify/common.pl'
400 #         normalize:
401 #           path: 'conf/normalize/ff-peri.pl'
402
403
404 #   ffro:
405 #     name: 'Romanistika, Filozofski fakultet u Zagrebu'
406 #     input:
407 #       - name: peri
408 #         type: isis
409 #         path: '/backup/isis_backup/A224-6/isisdata/20070605/PERI/PERI'
410 #         encoding: 'cp852'
411 #         #limit: 10
412 #         modify_file: 'conf/modify/common.pl'
413 #         normalize:
414 #           path: 'conf/normalize/ff-peri.pl'
415
416 #   ffsf:
417 #     name: 'Slavenska filologija, Filozofski fakulteti u Zagrebu'
418 #     input:
419 #       - name: peri
420 #         type: isis
421 #         path: '/backup/isis_backup/A125-2/ISISDATA/latest/PERI/PERI'
422 #         encoding: 'cp852'
423 #         #limit: 10
424 #         modify_file: 'conf/modify/common.pl'
425 #         normalize:
426 #           path: 'conf/normalize/ff-peri.pl'
427
428 #   ffso:
429 #     name: 'Sociologija, Filozofski fakultet u Zagrebu'
430 #     input:
431 #       - name: peri
432 #         type: isis
433 #         path: '/backup/isis_backup/A002-3/isisdata/latest/PERI/PERI'
434 #         encoding: 'cp852'
435 #         #limit: 10
436 #         modify_file: 'conf/modify/common.pl'
437 #         normalize:
438 #           path: 'conf/normalize/ff-peri.pl'
439
440 #   ffta:
441 #     name: 'Talijanistika, Filozofski fakultet u Zagrebu'
442 #     input:
443 #       - name: peri
444 #         type: isis
445 #         path: '/backup/isis_backup/A225-2/isisdata/latest/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 #   fftu:
453 #     name: 'Turkologija, Filozofski fakultet u Zagrebu'
454 #     input:
455 #       - name: peri
456 #         type: isis
457 #         path: '/backup/isis_backup/B025-2/ISISDATA/20070711/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
464 #   ffmic:
465 #     name: 'Meðunarodni istra¾ivaèki centar za kasnu antiku i srednji vijek'
466 #     input:
467 #       - name: peri
468 #         type: isis
469 #         path: '/backup/isis_backup/C107-9/ISISDATA/latest/Peri/PERI'
470 #         encoding: 'cp852'
471 #         #limit: 10
472 #         modify_file: 'conf/modify/common.pl'
473 #         normalize:
474 #           path: 'conf/normalize/ff-peri.pl'
475
476 #   nsk:
477 #     name: 'Nacionalna i sveucilisna knjiznica'
478 #     input:
479 #       name: bbaza
480 #       type: marc
481 #       path: '/home/mglavica/NSK/data/BBaza.ISO'
482 #       encoding: 'ISO-8859-2'
483 #       normalize:
484 #         path: 'conf/normalize/minimal.pl'
485 #   
486 #   exhibit:
487 #     name: 'SMILE Exhibit based ouptput for WebPAC'
488 #     input:
489 #       name: 'Periodika'
490 #       type: marc
491 #       path: 'out/marc/ffpo-peri.marc'
492 #       encoding: 'UTF-8'
493 #       #limit: 100
494 #       normalize:
495 #         path: 'conf/normalize/json.pl'
496 #     output:
497 #       module: 'JSON'
498 #       path: 'out/exhibit/po.js'