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 |
|
9 |
# configuration for hyper estraier full text search engine |
10 |
hyperestraier: |
11 |
#url: 'http://localhost:1978/node/webpac2' |
12 |
masterurl: 'http://localhost:1978' |
13 |
defaultnode: 'webpac2' |
14 |
# defaultnode: 'ps' |
15 |
defaultdepth: 1 |
16 |
user: 'admin' |
17 |
passwd: 'admin' |
18 |
# don't turn this on! it will spit huge amounts of output |
19 |
#debug: 1 |
20 |
# |
21 |
# number of results on each page |
22 |
hits_on_page: 30 |
23 |
# number of results to fetch for suggestion (it will fold multiple sameones) |
24 |
hits_for_suggest: 20 |
25 |
# |
26 |
# options used while indexing |
27 |
# |
28 |
# which tag type to use for search engine (used while indexing) |
29 |
type: 'search' |
30 |
# |
31 |
|
32 |
webpac: |
33 |
# default template to use |
34 |
template: 'html_ffzg_results_short.tt' |
35 |
# path to database files |
36 |
db_path: '/data/webpac2/db' |
37 |
# path to templates used by WebPAC::Output |
38 |
template_path: '/data/webpac2/conf/output/tt' |
39 |
# default template for results |
40 |
default_template: 'html_ffzg.tt' |
41 |
# default user editable css file |
42 |
default_css: 'user.css' |
43 |
css_path: 'root/css' |
44 |
# encoding comming from webpac |
45 |
webpac_encoding: 'iso-8859-2' |
46 |
# encoding expected by Catalyst |
47 |
out_encoding: 'utf-8' |
48 |
# define different input formats (types) and perl modules to handle them |
49 |
inputs: |
50 |
isis: 'WebPAC::Input::ISIS' |
51 |
marc: 'WebPAC::Input::MARC' |
52 |
|
53 |
editor: |
54 |
# open this record when opening editor |
55 |
# (it will also be used to deduce default database and input) |
56 |
default_record_uri: 'ps/libri/1' |
57 |
|
58 |
# directives after this are used when indexing using core WebPAC modules |
59 |
|
60 |
databases: |
61 |
# This is empty database created only in Hyper Estraier to merge |
62 |
# all three databases |
63 |
'webpac2': |
64 |
name: 'Search all' |
65 |
links: |
66 |
- to: ps |
67 |
credit: 10000 |
68 |
- to: kk |
69 |
credit: 10000 |
70 |
- to: jzav |
71 |
credit: 10000 |
72 |
|
73 |
|
74 |
# Psihologija |
75 |
'ps': |
76 |
# all variables here will be available as config variables in template |
77 |
name: 'Knji¾nica psihologije' |
78 |
code: 'ps' |
79 |
|
80 |
# define input source |
81 |
input: |
82 |
# this will create unique name with name of database and mfn |
83 |
- name: libri |
84 |
# isis |
85 |
type: isis |
86 |
|
87 |
# full path to database |
88 |
path: '/data/isis_data/ffps-libri/LIBRI' |
89 |
|
90 |
# encoding of character set in isis data |
91 |
encoding: '852' |
92 |
|
93 |
# lookup |
94 |
lookup: 'conf/lookup/isis.pm' |
95 |
|
96 |
# limit number of records to read from database |
97 |
#limit: 100 |
98 |
|
99 |
# define normalisation for that source |
100 |
normalize: |
101 |
# which tag to use in normalize xml for data? |
102 |
tag: 'isis' |
103 |
# path to normalization xml |
104 |
path: 'conf/normalize/isis_ffzg.xml' |
105 |
#path: 'conf/normalize/isis_ffzg.yml' |
106 |
|
107 |
# another input database |
108 |
- name: peri |
109 |
type: isis |
110 |
path: '/data/isis_data/ffps-peri/PERI' |
111 |
encoding: '852' |
112 |
lookup: 'conf/lookup/isis.pm' |
113 |
#limit: 100 |
114 |
normalize: |
115 |
tag: 'isis' |
116 |
path: 'conf/normalize/isis_ffzg.xml' |
117 |
|
118 |
# Komparativna |
119 |
kk: |
120 |
name: 'Komparativna' |
121 |
|
122 |
input: |
123 |
name: libri |
124 |
type: isis |
125 |
path: '/data/isis_data/ffkk/LIBRI' |
126 |
encoding: '852' |
127 |
lookup: 'conf/lookup/isis.pm' |
128 |
#limit: 100 |
129 |
normalize: |
130 |
tag: 'isis' |
131 |
path: 'conf/normalize/isis_ffzg.xml' |
132 |
|
133 |
jzav: |
134 |
name: 'Jadranski zavod' |
135 |
input: |
136 |
name: knjige |
137 |
type: isis |
138 |
path: '/data/isis_data/jzav/BIB' |
139 |
encoding: '852' |
140 |
lookup: 'conf/lookup/jzav.yml' |
141 |
#limit: 100 |
142 |
normalize: |
143 |
tag: 'isis' |
144 |
path: 'conf/normalize/isis_ffzg.xml' |
145 |
|
146 |
efzg: |
147 |
name: 'Ekonomski fakutet u Zagrebu' |
148 |
input: |
149 |
name: knjige |
150 |
type: marc |
151 |
path: '/data/isis_data/efzg/unimarc.iso' |
152 |
encoding: '852' |
153 |
lookup: 'conf/lookup/isis.pm' |
154 |
#limit: 100 |
155 |
normalize: |
156 |
tag: 'isis' |
157 |
path: 'conf/normalize/isis_ffzg.xml' |
158 |
|