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: hrz 
194         credit: 10000
195       - to: nsk 
196         credit: 10000
197
198   hrz:
199     name: 'Hrvatski restauratorski zavod'
200     input:
201       name: knjige
202       type: isis
203       path: '/data/humanistika/hrz/knjige/KNJIGE'
204       encoding: 'cp852'
205       #limit: 10
206       #modify_file: 'conf/modify/common.pl'
207       normalize:
208         path: 'conf/normalize/minimal.pl'
209
210
211   nsk:
212     name: 'Nacionalna i sveucilisna knjiznica'
213     input:
214       name: analitika
215       type: marc
216       path: '/backup/data/NSK/BBaza.ISO'
217       encoding: 'ISO-8859-2'
218       modify: 'conf/modify/analitika.pl'
219       normalize:
220         path: 'conf/normalize/ps-casopisi.pl'
221