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