local
[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   fields:
50     - 'uri'
51     - 'AccompanyingMaterial'
52     - 'APA'
53     - 'CallNo'
54     - 'ContentsNote'
55     - 'CorporateName'
56     - 'CorporateName2'
57     - 'DatePublication'
58     - 'EditionNote'
59     - 'EditionStatement'
60     - 'ExpandedTitle'
61     - 'fond'
62     - 'Form'
63     - 'Frequency'
64     - 'GeneralNote'
65     - 'ID'
66     - 'IdentificationNumbers'
67     - 'IntellectResponsNote'
68     - 'InternalBibliographies'
69     - 'InvNo'
70     - 'ISBN'
71     - 'ISSN'
72     - 'ISN'
73     - 'IssuedWith'
74     - 'Language'
75     - 'level'
76     - 'MaterialDesignation'
77     - 'MFN'
78     - 'NamePublisher'
79     - 'Names'
80     - 'OriginatingSource'
81     - 'ParallelTitle'
82     - 'Parts'
83     - 'PartsEF'
84     - 'PartsID'
85     - 'PersonalName'
86     - 'PersonalName2'
87     - 'PersonalNameOther'
88     - 'PhysicalDescription'
89     - 'PhysicalDescriptionNote'
90     - 'PhysicalDetails'
91     - 'Piece'
92     - 'PieceAnalitic'
93     - 'PieceNum'
94     - 'PieceSubtitle'
95     - 'PlacePublication'
96     - 'Responsibility'
97     - 'ResponsibilityFirst'
98     - 'ResponsibilitySecond'
99     - 'SerialNo'
100     - 'Series'
101     - 'SeriesTitle'
102     - 'Set'
103     - 'Set2'
104     - 'Subtitle'
105     - 'Summary'
106     - 'SystemRequirements'
107     - 'titleNo'
108     - 'TitleProper'
109     - 'TitleProper2'
110     - 'UDC'
111     - 'UDC_All'
112     - 'UDCb'
113     - 'UncontrolledTerms'
114     - 'UniformHeading'
115     - 'URL'
116     - 'VolumeDesignation'
117     - 'AllThes'
118     - 'BroaderTerm'
119     - 'ClassCode'
120     - 'DescriptorEN'
121     - 'DescriptorFR'
122     - 'DescriptorGE'
123     - 'DescriptorHR'
124     - 'filename'
125     - 'format'
126     - 'headline'
127     - 'IDths'
128     - 'line'
129     - 'line2'
130     - 'line3'
131     - 'line4'
132     - 'MicrothesaurusEN'
133     - 'MicrothesaurusFR'
134     - 'MicrothesaurusGE'
135     - 'MicrothesaurusHR'
136     - 'NarrowerTerm'
137     - 'NonDescriptorEN'
138     - 'NonDescriptorFR'
139     - 'NonDescriptorGE'
140     - 'NonDescriptorHR'
141     - 'RelatedTerm'
142     - 'ScopeNoteEN'
143     - 'ScopeNoteHR'
144     - 'SeeBefore'
145     - 'SeeNext'
146     - 'Source'
147     - 'SubjectAreaHR'
148     - 'SubjectIndex'
149     - 'URL'
150   database: 'unconfigured database name'
151   label: 'unconfigured database label'
152   encoding: 'iso-8859-2'
153   # clean database before opening? (WARNING: this erases existing database)
154   clean: 1
155   # which field type to index?
156   type: 'search'
157
158 webpac:
159   # default template to use
160   template: 'html_ffzg_results_short.tt'
161   # path to database files
162   db_path: '/data/webpac2/db'
163   # path to templates used by WebPAC::Output
164   template_path: '/data/webpac2/conf/output/tt'
165   # default template for results
166   default_template: 'html_ffzg.tt'
167   # default user editable css file
168   default_css: 'user.css'
169   css_path: 'root/css'
170   # encoding comming from webpac
171   webpac_encoding: 'iso-8859-2'
172   # encoding expected by Catalyst
173   out_encoding: 'utf-8'
174   # define different input formats (types) and perl modules to handle them
175   inputs:
176     isis: 'WebPAC::Input::ISIS'
177     marc: 'WebPAC::Input::MARC'
178     excel: 'WebPAC::Input::Excel'
179
180 editor:
181   # open this record when opening editor
182   # (it will also be used to deduce default database and input)
183   default_record_uri: 'ps/libri/1'
184
185 # directives after this are used when indexing using core WebPAC modules
186
187 databases:
188   # This is empty database created only in Hyper Estraier to merge
189   # all three databases
190   'webpac2':
191     name: 'Search all'
192     links:
193       - to: ffps 
194         credit: 10000
195       - to: hrz 
196         credit: 10000
197       - to: nsk 
198         credit: 10000
199
200   ffps:
201     name: 'Psihologija, Filozofski fakultet u Zagrebu'
202     input:
203       - name: libri
204         type: isis
205         path: '/backup/isis_backup/sunce2/isisdata/latest/LIBRI/'
206         encoding: 'cp852'
207         modify_file: 'conf/modify/common.pl'
208         normalize:
209           - path: 'conf/normalize/ff-nakladnicka.pl'
210           - path: 'conf/normalize/ff-libri.pl'
211
212       # another input database
213       - name: peri
214         type: isis
215         path: '/backup/isis_backup/sunce2/isisdata/latest/PERI/PERI'
216         encoding: 'cp852'
217         #limit: 10
218         # modify_file: 'conf/modify/common.pl'
219         normalize:
220           path: 'conf/normalize/ff-peri.pl'
221
222   hazum:
223     name: 'HAZU - muzika'
224     input:
225       name: bib
226       type: isis
227       path: '/data/humanistika/hazu-m/MUZIKA/BIB'
228       encoding: 'cp852'
229       #limit: 10
230       modify_file: 'conf/modify/common.pl'
231       normalize:
232         path: 'conf/normalize/minimal.pl'
233
234   eizg:
235     name: 'Ekonomski institut Zagreb'
236     input:
237       name: bib
238       type: isis
239       path: '/data/drustvene/eizg/BIB'
240       encoding: 'cp852'
241       #limit: 10
242       #modify_file: 'conf/modify/common.pl'
243       normalize:
244         path: 'conf/normalize/minimal.pl'
245
246   hrz:
247     name: 'Hrvatski restauratorski zavod'
248     input:
249       name: knjige
250       type: isis
251       path: '/data/humanistika/hrz/knjige/KNJIGE'
252       encoding: 'cp852'
253       #limit: 10
254       #modify_file: 'conf/modify/common.pl'
255       normalize:
256         path: 'conf/normalize/minimal.pl'
257
258   irb:
259     name: 'Institut Rudjer Boskovic'
260     input:
261       name: unimar
262       type: isis
263       path: '/data/isis_data/irb/UNIMAR'
264       encoding: 'cp852'
265       #limit: 10
266       #modify_file: 'conf/modify/common.pl'
267       normalize:
268         path: 'conf/normalize/minimal.pl'
269
270
271   nsk:
272     name: 'Nacionalna i sveucilisna knjiznica'
273     input:
274       name: analitika
275       type: marc
276       path: '/backup/data/NSK/BBaza.ISO'
277       encoding: 'ISO-8859-2'
278       modify: 'conf/modify/analitika.pl'
279       normalize:
280         path: 'conf/normalize/ps-casopisi.pl'
281
282 #Wiley zbirka
283   wiley:
284     name: 'Wiley Intescience Full'
285     input:
286       - name: full
287         type: excel
288         path: '/data/FF/ecasopisi/wiley/all_wiley_interscience_journals_2007.xls'
289         worksheet: 'All Wiley Journals 2007'
290         from: 1
291         encoding: 'UTF-8'
292         normalize:
293           path: 'conf/normalize/excel-wiley-minimal.pl'
294       - name: licenced
295         type: excel
296         path: '/data/FF/ecasopisi/wiley/wiley_casopisi2006.xls'
297         worksheet: 'carnet'
298         from: 1
299         encoding: 'UTF-8'
300         normalize:
301           path: 'conf/normalize/excel-wiley.pl'
302       - name: nourl
303         type: marc
304         path: '/data/webpac2/out/marc/wiley-licenced.marc'
305         encoding: 'UTF-8'
306         normalize:
307           path: 'conf/normalize/marc-wiley-nourl.pl'
308 #      - name: licenced
309 #        type: marc
310 #        path: '/data/FF/wiley/wiley-licenced.marc'
311 #        encoding: 'UTF-8'
312 #        normalize:
313 #          path: 'conf/normalize/common.pl'
314