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