/[webpac2]/Webpacus/config.yml
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /Webpacus/config.yml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 440 - (hide annotations)
Sun Apr 30 23:20:12 2006 UTC (18 years ago) by dpavlin
File size: 6885 byte(s)
 r538@llin:  dpavlin | 2006-05-01 01:20:34 +0200
 first rough cut to implement pager using Data::SpreadPagination

1 dpavlin 95 --- #YAML:1.0
2     # DO NOT USE TABS FOR INDENTATION OR label/value SEPARATION!!!
3    
4 dpavlin 271 # encoding of this configuration file
5     config_encoding: 'ISO-8859-2'
6     # encoding in Catalyst.
7     catalyst_encoding: 'UTF-8'
8 dpavlin 358 # relative path to sites templates under Catalyst root
9     sites_root: 'sites'
10 dpavlin 271
11 dpavlin 435 # which indexing engine to use? (hyperestraier is default)
12 dpavlin 438 use_indexer: 'hyperestraier'
13     #use_indexer: 'kinosearch'
14 dpavlin 435
15     # configuration for Hyper Estraier full text search engine
16 dpavlin 95 hyperestraier:
17 dpavlin 222 #url: 'http://localhost:1978/node/webpac2'
18     masterurl: 'http://localhost:1978'
19 dpavlin 257 defaultnode: 'webpac2'
20     # defaultnode: 'ps'
21 dpavlin 440 defaultdepth: 2
22 dpavlin 95 user: 'admin'
23     passwd: 'admin'
24 dpavlin 348 # don't turn this on! it will spit huge amounts of output
25     #debug: 1
26 dpavlin 142 #
27 dpavlin 143 # number of results on each page
28     hits_on_page: 30
29     # number of results to fetch for suggestion (it will fold multiple sameones)
30     hits_for_suggest: 20
31     #
32 dpavlin 142 # options used while indexing
33     #
34     # which tag type to use for search engine (used while indexing)
35     type: 'search'
36     #
37 dpavlin 95
38 dpavlin 440 # options for pager
39     pager:
40     # how many pages to show for navigation?
41     max_pages: 20
42    
43 dpavlin 435 # configuration for KinoSearch search engine library
44     kinosearch:
45     index_path: './kinosearch/'
46     fields:
47     - 'uri'
48     - 'AccompanyingMaterial'
49     - 'APA'
50     - 'CallNo'
51     - 'ContentsNote'
52     - 'CorporateName'
53     - 'CorporateName2'
54     - 'DatePublication'
55     - 'EditionNote'
56     - 'EditionStatement'
57     - 'ExpandedTitle'
58     - 'fond'
59     - 'Form'
60     - 'Frequency'
61     - 'GeneralNote'
62     - 'ID'
63     - 'IdentificationNumbers'
64     - 'IntellectResponsNote'
65     - 'InternalBibliographies'
66     - 'InvNo'
67     - 'ISBN'
68     - 'ISSN'
69     - 'ISN'
70     - 'IssuedWith'
71     - 'Language'
72     - 'level'
73     - 'MaterialDesignation'
74     - 'MFN'
75     - 'NamePublisher'
76     - 'Names'
77     - 'OriginatingSource'
78     - 'ParallelTitle'
79     - 'Parts'
80     - 'PartsEF'
81     - 'PartsID'
82     - 'PersonalName'
83     - 'PersonalName2'
84     - 'PersonalNameOther'
85     - 'PhysicalDescription'
86     - 'PhysicalDescriptionNote'
87     - 'PhysicalDetails'
88     - 'Piece'
89     - 'PieceAnalitic'
90     - 'PieceNum'
91     - 'PieceSubtitle'
92     - 'PlacePublication'
93     - 'Responsibility'
94     - 'ResponsibilityFirst'
95     - 'ResponsibilitySecond'
96     - 'SerialNo'
97     - 'Series'
98     - 'SeriesTitle'
99     - 'Set'
100     - 'Set2'
101     - 'Subtitle'
102     - 'Summary'
103     - 'SystemRequirements'
104     - 'titleNo'
105     - 'TitleProper'
106     - 'TitleProper2'
107     - 'UDC'
108     - 'UDC_All'
109     - 'UDCb'
110     - 'UncontrolledTerms'
111     - 'UniformHeading'
112     - 'URL'
113     - 'VolumeDesignation'
114     - 'AllThes'
115     - 'BroaderTerm'
116     - 'ClassCode'
117     - 'DescriptorEN'
118     - 'DescriptorFR'
119     - 'DescriptorGE'
120     - 'DescriptorHR'
121     - 'filename'
122     - 'format'
123     - 'headline'
124     - 'IDths'
125     - 'line'
126     - 'line2'
127     - 'line3'
128     - 'line4'
129     - 'MicrothesaurusEN'
130     - 'MicrothesaurusFR'
131     - 'MicrothesaurusGE'
132     - 'MicrothesaurusHR'
133     - 'NarrowerTerm'
134     - 'NonDescriptorEN'
135     - 'NonDescriptorFR'
136     - 'NonDescriptorGE'
137     - 'NonDescriptorHR'
138     - 'RelatedTerm'
139     - 'ScopeNoteEN'
140     - 'ScopeNoteHR'
141     - 'SeeBefore'
142     - 'SeeNext'
143     - 'Source'
144     - 'SubjectAreaHR'
145     - 'SubjectIndex'
146     - 'URL'
147     database: 'unconfigured database name'
148     label: 'unconfigured database label'
149     encoding: 'iso-8859-2'
150     # clean database before opening? (WARNING: this erases existing database)
151     clean: 1
152     # which field type to index?
153     type: 'search'
154    
155 dpavlin 95 webpac:
156 dpavlin 97 # default template to use
157     template: 'html_ffzg_results_short.tt'
158     # path to database files
159 dpavlin 95 db_path: '/data/webpac2/db'
160 dpavlin 97 # path to templates used by WebPAC::Output
161 dpavlin 95 template_path: '/data/webpac2/conf/output/tt'
162 dpavlin 135 # default template for results
163     default_template: 'html_ffzg.tt'
164     # default user editable css file
165     default_css: 'user.css'
166 dpavlin 139 css_path: 'root/css'
167 dpavlin 96 # encoding comming from webpac
168     webpac_encoding: 'iso-8859-2'
169     # encoding expected by Catalyst
170 dpavlin 97 out_encoding: 'utf-8'
171 dpavlin 293 # define different input formats (types) and perl modules to handle them
172     inputs:
173     isis: 'WebPAC::Input::ISIS'
174     marc: 'WebPAC::Input::MARC'
175 dpavlin 97
176 dpavlin 244 editor:
177     # open this record when opening editor
178     # (it will also be used to deduce default database and input)
179     default_record_uri: 'ps/libri/1'
180    
181 dpavlin 142 # directives after this are used when indexing using core WebPAC modules
182    
183 dpavlin 222 databases:
184 dpavlin 257 # This is empty database created only in Hyper Estraier to merge
185     # all three databases
186     'webpac2':
187     name: 'Search all'
188     links:
189     - to: ps
190     credit: 10000
191     - to: kk
192     credit: 10000
193     - to: jzav
194     credit: 10000
195    
196 dpavlin 399 # site with alternative databases
197     'hr':
198     name: 'Primjer za hrvatsko suèelje'
199     links:
200     - to: ps
201     credit: 10000
202     - to: kk
203     credit: 5000
204 dpavlin 257
205 dpavlin 222 # Psihologija
206     'ps':
207     # all variables here will be available as config variables in template
208     name: 'Knji¾nica psihologije'
209     code: 'ps'
210    
211     # define input source
212     input:
213 dpavlin 237 # this will create unique name with name of database and mfn
214 dpavlin 232 - name: libri
215     # isis
216     type: isis
217    
218     # full path to database
219     path: '/data/isis_data/ffps-libri/LIBRI'
220    
221     # encoding of character set in isis data
222     encoding: '852'
223    
224     # lookup
225     lookup: 'conf/lookup/isis.pm'
226    
227     # limit number of records to read from database
228 dpavlin 277 #limit: 100
229 dpavlin 232
230     # define normalisation for that source
231     normalize:
232     # which tag to use in normalize xml for data?
233     tag: 'isis'
234     # path to normalization xml
235 dpavlin 329 path: 'conf/normalize/isis_ffzg.xml'
236     #path: 'conf/normalize/isis_ffzg.yml'
237 dpavlin 222
238 dpavlin 232 # another input database
239     - name: peri
240     type: isis
241     path: '/data/isis_data/ffps-peri/PERI'
242     encoding: '852'
243     lookup: 'conf/lookup/isis.pm'
244 dpavlin 277 #limit: 100
245 dpavlin 232 normalize:
246     tag: 'isis'
247     path: 'conf/normalize/isis_ffzg.xml'
248 dpavlin 142
249 dpavlin 237 # Komparativna
250 dpavlin 222 kk:
251 dpavlin 237 name: 'Komparativna'
252 dpavlin 222
253     input:
254     name: libri
255     type: isis
256     path: '/data/isis_data/ffkk/LIBRI'
257     encoding: '852'
258     lookup: 'conf/lookup/isis.pm'
259 dpavlin 277 #limit: 100
260 dpavlin 222 normalize:
261     tag: 'isis'
262     path: 'conf/normalize/isis_ffzg.xml'
263    
264 dpavlin 237 jzav:
265     name: 'Jadranski zavod'
266     input:
267     name: knjige
268     type: isis
269     path: '/data/isis_data/jzav/BIB'
270     encoding: '852'
271     lookup: 'conf/lookup/jzav.yml'
272 dpavlin 277 #limit: 100
273 dpavlin 237 normalize:
274     tag: 'isis'
275     path: 'conf/normalize/isis_ffzg.xml'
276 dpavlin 293
277     efzg:
278     name: 'Ekonomski fakutet u Zagrebu'
279     input:
280     name: knjige
281     type: marc
282     path: '/data/isis_data/efzg/unimarc.iso'
283     encoding: '852'
284 dpavlin 417 # CroList recoding pairs to fix encoding problems
285     recode: 'ÏC È Ïc è ÂC Æ Âc æ ò ð ÏS © Ïs ¹ ÏZ ® Ïz ¾'
286 dpavlin 293 lookup: 'conf/lookup/isis.pm'
287     #limit: 100
288     normalize:
289     tag: 'isis'
290     path: 'conf/normalize/isis_ffzg.xml'
291    

  ViewVC Help
Powered by ViewVC 1.1.26