r1399@llin: dpavlin | 2007-10-31 11:19:39 +0100
[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/citiranje/citirali-sverka.txt'
307 #        encoding: 'ISO-8859-1'
308 #        # modify_file: 'conf/modify/common.pl'
309 #        normalize:
310 #          path: 'conf/normalize/isi.pl'
311 #
312 #  bibirb:
313 #    name: 'Bib IRB' 
314 #    input:
315 #      - name: bibirb 
316 #        type: excel
317 #        path: '/data/citiranje/sverko-bibirb.xls'
318 #        encoding: 'ISO-8859-2'
319 #        # modify_file: 'conf/modify/common.pl'
320 #        normalize:
321 #          path: 'conf/normalize/excel-bib-irb.pl'
322 #
323 #  drzb:
324 #    name: 'DRZB 2007' 
325 #    input:
326 #      - name: drzb 
327 #        type: excel
328 #        path: '/data/knjiznice/drzb2007/drzb20072.xls'
329 #        encoding: 'ISO-8859-2'
330 #        # modify_file: 'conf/modify/common.pl'
331 #        normalize:
332 #          path: 'conf/normalize/excel-drzb.pl'
333 #
334   ffiz:
335     name: 'Informacijske znanosti, Filozofski fakultet u Zagrebu'
336     input:
337       - name: peri
338         type: isis
339         path: '/backup/isis_backup/A129-2/isisdata/latest/PERI/PERI'
340         encoding: 'cp852'
341         modify_file: 'conf/modify/common.pl'
342         normalize:
343           path: 'conf/normalize/ff-peri.pl'
344       - name: libri
345         type: isis
346         path: '/backup/isis_backup/A129-2/isisdata/latest/LIBRI/LIBRI'
347         encoding: 'cp852'
348         modify_file: 'conf/modify/common.pl'
349         normalize:
350           path: 'conf/normalize/ff-libri.pl'
351  
352  
353 #  ffkk:
354 #    name: 'Komparativna knji¾evnost, Filozofski fakultet u Zagrebu'
355 #    input:
356 #      - name: peri
357 #        type: isis
358 #        path: '/backup/isis_backup/A206-4/isisdata/latest/PERI/PERI'
359 #        encoding: 'cp852'
360 #        #limit: 10
361 #        modify_file: 'conf/modify/common.pl'
362 #        normalize:
363 #          path: 'conf/normalize/ff-peri.pl'
364
365 #   fflo:
366 #     name: 'Lingvistika, Filozofski fakultet u Zagrebu'
367 #     input:
368 #       - name: peri
369 #         type: isis
370 #         path: '/backup/isis_backup/A108-1/ISISDATA/latest/PERI/PERI'
371 #         encoding: 'cp852'
372 #         #limit: 10
373 #         modify_file: 'conf/modify/common.pl'
374 #         normalize:
375 #           path: 'conf/normalize/ff-peri.pl'
376
377 #   ffpe:
378 #     name: 'Pedagogija, Filozofski fakultet u Zagrebu'
379 #     input:
380 #       - name: peri
381 #         type: isis
382 #         path: '/backup/isis_backup/novi-40163/isisdata/latest/PERI/PERI'
383 #         encoding: 'cp852'
384 #         #limit: 10
385 #         modify_file: 'conf/modify/common.pl'
386 #         normalize:
387 #           path: 'conf/normalize/ff-peri.pl'
388 #
389 #  ffpo:
390 #    name: 'Povijest, Filozofski fakultet u Zagrebu'
391 #    input:
392 #      - name: peri
393 #        type: isis
394 #        path: '/backup/isis_backup/A-201-1/isisdata/latest/PERI/PERI'
395 #        encoding: 'cp852'
396 #        modify_file: 'conf/modify/common.pl'
397 #        normalize:
398 #          path: 'conf/normalize/ff-peri.pl'
399 #
400 #   ffpu:
401 #     name: 'Povijest umjetnosti, Filozofski fakultet u Zagrebu'
402 #     input:
403 #       - name: peri
404 #         type: isis
405 #         path: '/backup/isis_backup/C124-3/ISISDATA/latest/PERI/PERI'
406 #         encoding: 'cp852'
407 #         #limit: 10
408 #         modify_file: 'conf/modify/common.pl'
409 #         normalize:
410 #           path: 'conf/normalize/ff-peri.pl'
411
412 #  ffps:
413 #    name: 'Psihologija, Filozofski fakultet u Zagrebu'
414 #    code: 'ps'
415 #    url: 'http://www.knjiznice.ffzg.hr/psihologija'
416 #    input:
417 #      - name: peri
418 #        type: isis
419 #        path: '/backup/isis_backup/sunce2/isisdata/latest/PERI/'
420 #        encoding: 'cp852'
421 #        modify_file: 'conf/modify/common.pl'
422 #        normalize:
423 #          path: 'conf/normalize/ff-peri.pl'
424
425
426 #   ffro:
427 #     name: 'Romanistika, Filozofski fakultet u Zagrebu'
428 #     input:
429 #       - name: peri
430 #         type: isis
431 #         path: '/backup/isis_backup/A224-6/isisdata/20070605/PERI/PERI'
432 #         encoding: 'cp852'
433 #         #limit: 10
434 #         modify_file: 'conf/modify/common.pl'
435 #         normalize:
436 #           path: 'conf/normalize/ff-peri.pl'
437
438 #  ffsf:
439 #    name: 'Slavenska filologija, Filozofski fakulteti u Zagrebu'
440 #    input:
441 #      - name: peri
442 #        type: isis
443 #        path: '/backup/isis_backup/A125-2/ISISDATA/latest/PERI/PERI'
444 #        encoding: 'cp852'
445 #        #limit: 10
446 #        modify_file: 'conf/modify/common.pl'
447 #        normalize:
448 #          # path: 'conf/normalize/ff-peri.pl'
449 #          path: 'conf/normalize/ff-peri.pl'
450  
451 #   ffso:
452 #     name: 'Sociologija, Filozofski fakultet u Zagrebu'
453 #     input:
454 #       - name: peri
455 #         type: isis
456 #         path: '/backup/isis_backup/A002-3/isisdata/latest/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 #   ffta:
464 #     name: 'Talijanistika, Filozofski fakultet u Zagrebu'
465 #     input:
466 #       - name: peri
467 #         type: isis
468 #         path: '/backup/isis_backup/A225-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    
475 #  fftu:
476 #    name: 'Turkologija, Filozofski fakultet u Zagrebu'
477 #    input:
478 #      - name: peri
479 #        type: isis
480 #        # path: '/backup/isis_backup/B025-2/ISISDATA/20070711/PERI/PERI'
481 #        path: '/data/isis_data/tu/DATA/PERI/PERI'
482 #        encoding: 'cp852'
483 #        #limit: 10
484 #        modify_file: 'conf/modify/common.pl'
485 #        normalize:
486 #          path: 'conf/normalize/ff-peri.pl'
487  
488 #   ffmic:
489 #     name: 'Meðunarodni istra¾ivaèki centar za kasnu antiku i srednji vijek'
490 #     input:
491 #       - name: peri
492 #         type: isis
493 #         path: '/backup/isis_backup/C107-9/ISISDATA/latest/Peri/PERI'
494 #         encoding: 'cp852'
495 #         #limit: 10
496 #         modify_file: 'conf/modify/common.pl'
497 #         normalize:
498 #           path: 'conf/normalize/ff-peri.pl'
499
500   nsk:
501     name: 'Nacionalna i sveucilisna knjiznica'
502     input:
503       name: bbaza
504       type: marc
505       path: '/home/mglavica/NSK/data/BBaza.ISO'
506       encoding: 'ISO-8859-2'
507       normalize:
508         path: 'conf/normalize/minimal.pl'
509   
510 #   exhibit:
511 #     name: 'SMILE Exhibit based ouptput for WebPAC'
512 #     input:
513 #       name: 'Periodika'
514 #       type: marc
515 #       path: 'out/marc/ffpo-peri.marc'
516 #       encoding: 'UTF-8'
517 #       #limit: 100
518 #       normalize:
519 #         path: 'conf/normalize/json.pl'
520 #     output:
521 #       module: 'JSON'
522 #       path: 'out/exhibit/po.js'