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   # 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/libri/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
194   ffan:
195     name: 'Anglistika, Filozofski fakultet u Zagrebu'
196     input:
197       - name: libri
198         type: isis
199         path: '/backup/isis_backup/A105-1/ISIS/latest/LIBRI/LIBRI'
200         encoding: 'cp852'
201         modify_file: 'conf/modify/common.pl'
202         normalize:
203           - path: 'conf/normalize/ff-libri.pl'
204           - path: 'conf/normalize/ff-libri-svesci.pl'
205
206   ffar:
207     name: 'Arheologija, Filozofski fakultet u Zagrebu'
208     input:
209       - name: libri
210         type: isis
211         path: '/backup/isis_backup/A018-2/isisdata/latest/LIBRI/LIBRI'
212         encoding: 'cp852'
213         #limit: 10
214         modify_file: 'conf/modify/common.pl'
215         normalize:
216           - path: 'conf/normalize/ff-libri.pl'
217           - path: 'conf/normalize/ff-libri-svesci.pl'
218
219   ffet:
220     name: 'Etnologija, Filozofski fakultet u Zagrebu'
221     input:
222       - name: libri
223         type: isis
224         path: '/backup/isis_backup/A203-3/ISISDATA/latest/LIBRI/LIBRI'
225         encoding: 'cp852'
226         #limit: 10
227         modify_file: 'conf/modify/common.pl'
228         normalize:
229           - path: 'conf/normalize/ff-libri.pl'
230           - path: 'conf/normalize/ff-libri-svesci.pl'
231
232   fffi:
233     name: 'Filozofija, Filozofski fakultet u Zagrebu'
234     input:
235       - name: libri
236         type: isis
237         path: '/backup/isis_backup/A102-1B/ISISDATA/latest/LIBRI/LIBRI'
238         encoding: 'cp852'
239         #limit: 10
240         modify_file: 'conf/modify/common.pl'
241         normalize:
242           - path: 'conf/normalize/ff-libri.pl'
243           - path: 'conf/normalize/ff-libri-svesci.pl'
244
245   fffo:
246     name: 'Fonetika, Filozofski fakultet u Zagrebu'
247     input:
248       - name: libri
249         type: isis
250         path: '/backup/isis_backup/novi-40162/ISISDATA/latest/LIBRI/LIBRI'
251         encoding: 'cp852'
252         #limit: 10
253         modify_file: 'conf/modify/common.pl'
254         normalize:
255           - path: 'conf/normalize/ff-libri.pl'
256           - path: 'conf/normalize/ff-libri-svesci.pl'
257
258   ffge:
259     name: 'Germanistika, Filozofski fakultet u Zagrebu'
260     input:
261       - name: libri
262         type: isis
263         path: '/backup/isis_backup/novi-40166/isisdata/latest/LIBRI/LIBRI'
264         encoding: 'cp852'
265         #limit: 10
266         modify_file: 'conf/modify/common.pl'
267         normalize:
268           - path: 'conf/normalize/ff-libri.pl'
269           - path: 'conf/normalize/ff-libri-svesci.pl'
270
271   ffhu:
272     name: 'Hungarologija, Filozofski fakultet u Zagrebu'
273     input:
274       - name: libri
275         type: isis
276         path: '/backup/isis_backup/B001-2/winisis/latest/LIBRI/LIBRI'
277         encoding: 'cp852'
278         #limit: 10
279         modify_file: 'conf/modify/common.pl'
280         normalize:
281           - path: 'conf/normalize/ff-libri.pl'
282           - path: 'conf/normalize/ff-libri-svesci.pl'
283   ffiz:
284     name: 'Informacijske znanosti, Filozofski fakultet u Zagrebu'
285     input:
286       - name: libri
287         type: isis
288         path: '/backup/isis_backup/A129-2/isisdata/latest/LIBRI/LIBRI'
289         encoding: 'cp852'
290         #limit: 10
291         modify_file: 'conf/modify/common.pl'
292         normalize:
293           - path: 'conf/normalize/ff-libri.pl'
294           - path: 'conf/normalize/ff-libri-svesci.pl'
295
296   ffkf:
297     name: 'Klasièna filologija, Filozofski fakultet u Zagrebu'
298     input:
299       name: libri
300       type: isis
301       path: '/backup/isis_backup/A209-2/isisdata/latest/LIBRI/LIBRI'
302       encoding: 'cp852'
303       #limit: 10
304       modify_file: 'conf/modify/common.pl'
305       normalize:
306         - path: 'conf/normalize/ff-libri.pl'
307         - path: 'conf/normalize/ff-libri-svesci.pl'
308
309   ffkk:
310     name: 'Komparativna knji¾evnost, Filozofski fakultet u Zagrebu'
311     input:
312       - name: libri
313         type: isis
314         path: '/backup/isis_backup/A206-4/isisdata/latest/LIBRI/LIBRI'
315         encoding: 'cp852'
316         #limit: 10
317         modify_file: 'conf/modify/common.pl'
318         normalize:
319           - path: 'conf/normalize/ff-libri.pl'
320           - path: 'conf/normalize/ff-libri-svesci.pl'
321
322   fflo:
323     name: 'Lingvistika, Filozofski fakultet u Zagrebu'
324     input:
325       - name: libri
326         type: isis
327         path: '/backup/isis_backup/A108-1/ISISDATA/latest/LIBRI/LIBRI'
328         encoding: 'cp852'
329         #limit: 10
330         modify_file: 'conf/modify/common.pl'
331         normalize:
332           - path: 'conf/normalize/ff-libri.pl'
333           - path: 'conf/normalize/ff-libri-svesci.pl'
334
335   ffpe:
336     name: 'Pedagogija, Filozofski fakultet u Zagrebu'
337     input:
338       - name: libri
339         type: isis
340         path: '/backup/isis_backup/visnja/isisdata/latest/LIBRI/LIBRI'
341         encoding: 'cp852'
342         #limit: 10
343         modify_file: 'conf/modify/common.pl'
344         normalize:
345           - path: 'conf/normalize/ff-libri.pl'
346           - path: 'conf/normalize/ff-libri-svesci.pl'
347
348   ffpo:
349     name: 'Povijest, Filozofski fakultet u Zagrebu'
350     input:
351       - name: libri
352         type: isis
353         path: '/backup/isis_backup/A-201-1/isisdata/latest/LIBRI/LIBRI'
354         encoding: 'cp852'
355         modify_file: 'conf/modify/common.pl'
356         normalize:
357           - path: 'conf/normalize/ff-libri.pl'
358           - path: 'conf/normalize/ff-libri-svesci.pl'
359
360   ffpu:
361     name: 'Povijest umjetnosti, Filozofski fakultet u Zagrebu'
362     input:
363       - name: libri
364         type: isis
365         path: '/backup/isis_backup/C124-3/ISISDATA/latest/LIBRI/LIBRI'
366         encoding: 'cp852'
367         #limit: 10
368         modify_file: 'conf/modify/common.pl'
369         normalize:
370           - path: 'conf/normalize/ff-libri.pl'
371           - path: 'conf/normalize/ff-libri-svesci.pl'
372
373   ffps:
374     # all variables here will be available as config variables in template
375     name: 'Psihologija, Filozofski fakultet u Zagrebu'
376     code: 'ps'
377     url: 'http://www.knjiznice.ffzg.hr/psihologija'
378
379     # define input source
380     input:
381       # this will create unique name with name of database and mfn
382       - name: libri
383         # isis
384         type: isis
385
386         # full path to database
387         path: '/backup/isis_backup/sunce2/isisdata/latest/LIBRI/'
388         # path: '/data/isis_data/PS/LIBRI/'
389
390         # encoding of character set in isis data
391         encoding: 'cp852'
392
393         # lookup
394         # lookup: 'conf/lookup/isis_ffzg.yml'
395
396         # limit number of records to read from database
397         #limit: 10
398
399         modify_file: 'conf/modify/common.pl'
400         
401         # define normalisation for that source
402         normalize:
403           # which tag to use in normalize xml for data?
404           # tag: 'isis'
405           # path to normalization xml
406           - path: 'conf/normalize/ff-libri.pl'
407           - path: 'conf/normalize/ff-libri-svesci.pl'
408
409
410   ffro:
411     name: 'Romanistika, Filozofski fakultet u Zagrebu'
412     input:
413       - name: libri
414         type: isis
415         path: '/backup/isis_backup/A224-2/isisdata/latest/LIBRI/LIBRI'
416         encoding: 'cp852'
417         #limit: 10
418         modify_file: 'conf/modify/common.pl'
419         normalize:
420           - path: 'conf/normalize/ff-libri.pl'
421   #        - path: 'conf/normalize/ff-libri-svesci.pl'
422
423 #  ffsk:
424 #    name: 'Skandinavistika, Filozofski fakultet u Zagrebu'
425 #    input:
426 #      name: libri
427 #      type: isis
428 #      path: '/backup/isis_backup/B009-1/ISISDATA/latest/LIBRI/LIBRI'
429 #      encoding: 'cp852'
430 #      #limit: 10
431 #      modify_file: 'conf/modify/common.pl'
432 #      normalize:
433 #        path: 'conf/normalize/ff-libri.pl'
434
435   ffsf:
436     name: 'Slavenska filologija, Filozofski fakulteti u Zagrebu'
437     input:
438 #      - name: naklb
439 #        type: isis
440 #        path: '/backup/isis_backup/A125-3/ISISDATA/latest/LIBRI/LIBRI'
441 #        encoding: 'cp852'
442 #        modify_file: 'conf/modify/ff-nakladnicka.pl'
443 #        normalize:
444 #          path: 'conf/normalize/ff-nakladnicka.pl'
445       - name: librib
446         type: isis
447         path: '/backup/isis_backup/A125-3/ISISDATA/latest/LIBRI/LIBRI'
448         encoding: 'cp852'
449         modify_file: 'conf/modify/common.pl'
450         normalize:
451           - path: 'conf/normalize/ff-libri.pl'
452   #        - path: 'conf/normalize/ff-libri-svesci.pl'
453       - name: librim
454         type: isis
455         path: '/backup/isis_backup/A121-1/ISISDATA/latest/LIBRI/LIBRI'
456         encoding: 'cp852'
457         #limit: 10
458         modify_file: 'conf/modify/common.pl'
459         normalize:
460           - path: 'conf/normalize/ff-libri.pl'
461           - path: 'conf/normalize/ff-libri-svesci.pl'
462
463   ffso:
464     name: 'Sociologija, Filozofski fakultet u Zagrebu'
465     input:
466       - name: libri
467         type: isis
468         path: '/backup/isis_backup/A002-3/isisdata/latest/LIBRI/LIBRI'
469         encoding: 'cp852'
470         #limit: 10
471         modify_file: 'conf/modify/common.pl'
472         normalize:
473           - path: 'conf/normalize/ff-libri.pl'
474           - path: 'conf/normalize/ff-libri-svesci.pl'
475
476   ffsr:
477     name: 'Sredi¹nja èitaonica, Filozofski fakultet u Zagrebu'
478     input:
479       - name: libri
480         type: isis
481         path: '/backup/isis_backup/A112-1/ISISDATA/latest/LIBRI/LIBRI'
482         encoding: 'cp852'
483         #limit: 10
484         modify_file: 'conf/modify/common.pl'
485         normalize:
486           - path: 'conf/normalize/ff-libri.pl'
487           - path: 'conf/normalize/ff-libri-svesci.pl'
488
489   ffta:
490     name: 'Talijanistika, Filozofski fakultet u Zagrebu'
491     input:
492       - name: libri
493         type: isis
494         path: '/backup/isis_backup/A225-2/isisdata/latest/LIBRI/LIBRI'
495         encoding: 'cp852'
496         #limit: 10
497         modify_file: 'conf/modify/common.pl'
498         normalize:
499           - path: 'conf/normalize/ff-libri.pl'
500           - path: 'conf/normalize/ff-libri-svesci.pl'
501
502   fftu:
503     name: 'Turkologija, Filozofski fakultet u Zagrebu'
504     input:
505       - name: libri
506         type: isis
507         path: '/data/isis_data/tu/DATA/LIBRI/LIBRI'
508   #      path: '/backup/isis_backup/B025-2/ISISDATA/latest/LIBRI/LIBRI'
509         encoding: 'cp852'
510         #limit: 10
511         modify_file: 'conf/modify/common.pl'
512         normalize:
513           - path: 'conf/normalize/ff-libri.pl'
514           - path: 'conf/normalize/ff-libri-svesci.pl'
515
516 #  ffmic:
517 #    name: 'Meðunarodni istra¾ivaèki centar za kasnu antiku i srednji vijek'
518 #    input:
519 #      - name: libri
520 #        type: isis
521 #        path: '/backup/isis_backup/C107-9/ISISDATA/latest/LIBRI/LIBRI'
522 #        encoding: 'cp852'
523 #        #limit: 10
524 #       #modify_file: 'conf/modify/common.pl'
525 #        normalize:
526 #          path: 'conf/normalize/ff-libri.pl'
527
528
529 #  exhibit:
530 #    name: 'SMILE Exhibit based ouptput for WebPAC'
531 #    input:
532 #      name: 'FFZG - Psihologija'
533 #      type: marc
534 #      path: 'out/marc/ffsf-librim.marc'
535 #      encoding: 'cp852'
536 #      #limit: 100
537 #      normalize:
538 #        path: 'conf/normalize/json.pl'
539 #    output:
540 #      module: 'JSON'
541 #      path: 'out/exhibit/ps.js'
542
543