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