1 |
--- #YAML:1.0 |
--- #YAML:1.0 |
2 |
# DO NOT USE TABS FOR INDENTATION OR label/value SEPARATION!!! |
# 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 |
# configuration for hyper estraier full text search engine |
10 |
hyperestraier: |
hyperestraier: |
11 |
#url: 'http://localhost:1978/node/webpac2' |
#url: 'http://localhost:1978/node/webpac2' |
12 |
masterurl: 'http://localhost:1978' |
masterurl: 'http://localhost:1978' |
13 |
# defaultnode: 'webpac2' |
defaultnode: 'webpac2' |
14 |
defaultnode: 'ps' |
# defaultnode: 'ps' |
15 |
defaultdepth: 1 |
defaultdepth: 1 |
16 |
user: 'admin' |
user: 'admin' |
17 |
passwd: 'admin' |
passwd: 'admin' |
26 |
# which tag type to use for search engine (used while indexing) |
# which tag type to use for search engine (used while indexing) |
27 |
type: 'search' |
type: 'search' |
28 |
# |
# |
|
# options used for Catalyst only |
|
|
# |
|
|
# FIXME encoding comming from Catalyst. |
|
|
catalyst_encoding: 'UTF-8' |
|
29 |
|
|
30 |
webpac: |
webpac: |
31 |
# default template to use |
# default template to use |
44 |
# encoding expected by Catalyst |
# encoding expected by Catalyst |
45 |
out_encoding: 'utf-8' |
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 |
# directives after this are used when indexing using core WebPAC modules |
53 |
|
|
54 |
databases: |
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 |
# Psihologija |
69 |
'ps': |
'ps': |
70 |
# all variables here will be available as config variables in template |
# all variables here will be available as config variables in template |
73 |
|
|
74 |
# define input source |
# define input source |
75 |
input: |
input: |
76 |
# this will create unique name with name of database and mfn |
# this will create unique name with name of database and mfn |
77 |
- name: libri |
- name: libri |
78 |
# isis |
# isis |
79 |
type: isis |
type: isis |
88 |
lookup: 'conf/lookup/isis.pm' |
lookup: 'conf/lookup/isis.pm' |
89 |
|
|
90 |
# limit number of records to read from database |
# limit number of records to read from database |
91 |
limit: 100 |
#limit: 100 |
92 |
|
|
93 |
# define normalisation for that source |
# define normalisation for that source |
94 |
normalize: |
normalize: |
95 |
# which tag to use in normalize xml for data? |
# which tag to use in normalize xml for data? |
96 |
tag: 'isis' |
tag: 'isis' |
97 |
# path to normalization xml |
# path to normalization xml |
98 |
path: 'conf/normalize/isis_ffzg.xml' |
#path: 'conf/normalize/isis_ffzg.xml' |
99 |
|
path: 'conf/normalize/isis_ffzg.yml' |
100 |
|
|
101 |
# another input database |
# another input database |
102 |
- name: peri |
- name: peri |
109 |
tag: 'isis' |
tag: 'isis' |
110 |
path: 'conf/normalize/isis_ffzg.xml' |
path: 'conf/normalize/isis_ffzg.xml' |
111 |
|
|
112 |
# Kooo... k? |
# Komparativna |
113 |
kk: |
kk: |
114 |
name: 'Tko zna?' |
name: 'Komparativna' |
115 |
|
|
116 |
input: |
input: |
117 |
name: libri |
name: libri |
119 |
path: '/data/isis_data/ffkk/LIBRI' |
path: '/data/isis_data/ffkk/LIBRI' |
120 |
encoding: '852' |
encoding: '852' |
121 |
lookup: 'conf/lookup/isis.pm' |
lookup: 'conf/lookup/isis.pm' |
122 |
limit: 100 |
#limit: 100 |
123 |
normalize: |
normalize: |
124 |
tag: 'isis' |
tag: 'isis' |
125 |
path: 'conf/normalize/isis_ffzg.xml' |
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' |