/[webpac2]/trunk/conf/dipl/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 /trunk/conf/dipl/config.yml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1274 - (hide annotations)
Wed Aug 19 15:59:04 2009 UTC (14 years, 9 months ago) by mglavica
File size: 10954 byte(s)
diploma work

1 mglavica 1193 --- #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     database: 'unconfigured database name'
50     label: 'unconfigured database label'
51     encoding: 'iso-8859-2'
52     # clean database before opening? (WARNING: this erases existing database)
53     clean: 1
54     # which field type to index?
55     type: 'search'
56    
57     webpac:
58     # default template to use
59     template: 'html_ffzg_results_short.tt'
60     # path to database files
61     db_path: '/data/webpac2/db'
62     # path to templates used by WebPAC::Output
63     template_path: '/data/webpac2/conf/output/tt'
64     # default template for results
65     default_template: 'html_ffzg.tt'
66     # default user editable css file
67     default_css: 'user.css'
68     css_path: 'root/css'
69     # encoding comming from webpac
70     webpac_encoding: 'iso-8859-2'
71     # encoding expected by Catalyst
72     out_encoding: 'utf-8'
73     # define different input formats (types) and perl modules to handle them
74     inputs:
75     isis: 'WebPAC::Input::ISIS'
76     marc: 'WebPAC::Input::MARC'
77     excel: 'WebPAC::Input::Excel'
78     dbf: 'WebPAC::Input::DBF'
79     isi: 'WebPAC::Input::ISI'
80 mglavica 1274 csv: 'WebPAC::Input::CSV'
81 mglavica 1193 # define delimiters for validation
82     delimiters:
83     - ' ; '
84     - ' : '
85     - ' / '
86     - ' = '
87     editor:
88     # open this record when opening editor
89     # (it will also be used to deduce default database and input)
90     default_record_uri: 'ps/peri/1'
91    
92     # directives after this are used when indexing using core WebPAC modules
93    
94     databases:
95     # This is empty database created only in Hyper Estraier to merge
96     # all three databases
97     'webpac2':
98     name: 'Search all'
99     links:
100     - to: isi
101     credit: 10000
102    
103 mglavica 1230 # citirani:
104     # name: 'CITIRANI'
105     # input:
106     # - name: radovi
107     # type: excel
108     # path: '/data/FF/citati/proba.xls'
109     # encoding: 'windows-1250'
110     # normalize:
111 mglavica 1274 # path: 'conf/dipl/isi2xls-citirani.pl'
112 mglavica 1230 # output:
113     # - module: 'Excel'
114     # path: '/data/FF/citiari/citirani.xls'
115 mglavica 1193
116     isi:
117     name: 'ISI'
118     input:
119 mglavica 1230 - name: ajdukovicd
120 mglavica 1193 type: isi
121 mglavica 1230 path: '/data/FF/citati/citing/ajdukovicd.txt'
122 mglavica 1193 encoding: 'ISO-8859-1'
123     normalize:
124 mglavica 1230 # - path: 'conf/normalize/isi/isi2xls.pl'
125 mglavica 1274 # - path: 'conf/dipl/isi2sorted.pl'
126     - path: 'conf/dipl/tables.pl'
127 mglavica 1230 - name: arambasicl
128     type: isi
129     path: '/data/FF/citati/citing/arambasicl.txt'
130     encoding: 'ISO-8859-1'
131     normalize:
132     # - path: 'conf/normalize/isi/isi2xls.pl'
133 mglavica 1274 # - path: 'conf/dipl/isi2sorted.pl'
134     - path: 'conf/dipl/tables.pl'
135 mglavica 1230 - name: bratkod
136     type: isi
137     path: '/data/FF/citati/citing/bratkod.txt'
138     encoding: 'ISO-8859-1'
139     normalize:
140     # - path: 'conf/normalize/isi/isi2xls.pl'
141 mglavica 1274 # - path: 'conf/dipl/isi2sorted.pl'
142     - path: 'conf/dipl/tables.pl'
143 mglavica 1270 - name: buskov
144     type: isi
145     path: '/data/FF/citati/citing/buskov.txt'
146     encoding: 'ISO-8859-1'
147     normalize:
148     # - path: 'conf/normalize/isi/isi2xls.pl'
149 mglavica 1274 # - path: 'conf/dipl/isi2sorted.pl'
150     - path: 'conf/dipl/tables.pl'
151 mglavica 1270 skip: 1
152     - name: butkovica.txt
153     type: isi
154     path: '/data/FF/citati/citing/butkovica.txt'
155     encoding: 'ISO-8859-1'
156     normalize:
157     # - path: 'conf/normalize/isi/isi2xls.pl'
158 mglavica 1274 # - path: 'conf/dipl/isi2sorted.pl'
159     - path: 'conf/dipl/tables.pl'
160 mglavica 1270 skip: 1
161     - name: corkalobiruskid.txt
162     type: isi
163     path: '/data/FF/citati/citing/corkalobiruskid.txt'
164     encoding: 'ISO-8859-1'
165     normalize:
166     # - path: 'conf/normalize/isi/isi2xls.pl'
167 mglavica 1274 # - path: 'conf/dipl/isi2sorted.pl'
168     - path: 'conf/dipl/tables.pl'
169 mglavica 1270 skip: 1
170 mglavica 1230 - name: hrend
171     type: isi
172     path: '/data/FF/citati/citing/hrend.txt'
173     encoding: 'ISO-8859-1'
174     normalize:
175     # - path: 'conf/normalize/isi/isi2xls.pl'
176 mglavica 1274 # - path: 'conf/dipl/isi2sorted.pl'
177     - path: 'conf/dipl/tables.pl'
178 mglavica 1270 - name: hromatkoi
179     type: isi
180     path: '/data/FF/citati/citing/hromatkoi.txt'
181     encoding: 'ISO-8859-1'
182     normalize:
183     # - path: 'conf/normalize/isi/isi2xls.pl'
184 mglavica 1274 # - path: 'conf/dipl/isi2sorted.pl'
185     - path: 'conf/dipl/tables.pl'
186 mglavica 1270 skip: 1
187 mglavica 1230 - name: hudekknezevicj
188     type: isi
189     path: '/data/FF/citati/citing/hudekknezevicj.txt'
190     encoding: 'ISO-8859-1'
191     normalize:
192     # - path: 'conf/normalize/isi/isi2xls.pl'
193 mglavica 1274 # - path: 'conf/dipl/isi2sorted.pl'
194     - path: 'conf/dipl/tables.pl'
195 mglavica 1230 - name: kaliternalipovcanlj
196     type: isi
197     path: '/data/FF/citati/citing/kaliternalipovcanlj.txt'
198     encoding: 'ISO-8859-1'
199     normalize:
200     # - path: 'conf/normalize/isi/isi2xls.pl'
201 mglavica 1274 # - path: 'conf/dipl/isi2sorted.pl'
202     - path: 'conf/dipl/tables.pl'
203 mglavica 1230 - name: kardumi
204     type: isi
205     path: '/data/FF/citati/citing/kardumi.txt'
206     encoding: 'ISO-8859-1'
207     normalize:
208     # - path: 'conf/normalize/isi/isi2xls.pl'
209 mglavica 1274 # - path: 'conf/dipl/isi2sorted.pl'
210     - path: 'conf/dipl/tables.pl'
211 mglavica 1270 - name: kerestesg
212     type: isi
213     path: '/data/FF/citati/citing/kerestesg.txt'
214     encoding: 'ISO-8859-1'
215     normalize:
216     # - path: 'conf/normalize/isi/isi2xls.pl'
217 mglavica 1274 # - path: 'conf/dipl/isi2sorted.pl'
218     - path: 'conf/dipl/tables.pl'
219 mglavica 1270 skip: 1
220     - name: knezovicz
221     type: isi
222     path: '/data/FF/citati/citing/knezovicz.txt'
223     encoding: 'ISO-8859-1'
224     normalize:
225     # - path: 'conf/normalize/isi/isi2xls.pl'
226 mglavica 1274 # - path: 'conf/dipl/isi2sorted.pl'
227     - path: 'conf/dipl/tables.pl'
228 mglavica 1270 skip: 1
229     - name: kolesaricv
230     type: isi
231     path: '/data/FF/citati/citing/kolesaricv.txt'
232     encoding: 'ISO-8859-1'
233     normalize:
234     # - path: 'conf/normalize/isi/isi2xls.pl'
235 mglavica 1274 # - path: 'conf/dipl/isi2sorted.pl'
236     - path: 'conf/dipl/tables.pl'
237 mglavica 1270 skip: 1
238 mglavica 1230 - name: kuterovacjagodicg
239     type: isi
240     path: '/data/FF/citati/citing/kuterovacjagodicg.txt'
241     encoding: 'ISO-8859-1'
242     normalize:
243     # - path: 'conf/normalize/isi/isi2xls.pl'
244 mglavica 1274 # - path: 'conf/dipl/isi2sorted.pl'
245     - path: 'conf/dipl/tables.pl'
246 mglavica 1230 - name: lackovicgrgink
247     type: isi
248     path: '/data/FF/citati/citing/lackovicgrgink.txt'
249     encoding: 'ISO-8859-1'
250     normalize:
251     # - path: 'conf/normalize/isi/isi2xls.pl'
252 mglavica 1274 # - path: 'conf/dipl/isi2sorted.pl'
253     - path: 'conf/dipl/tables.pl'
254 mglavica 1230 - name: lamzaposavecv
255     type: isi
256     path: '/data/FF/citati/citing/lamzaposavecv.txt'
257     encoding: 'ISO-8859-1'
258     normalize:
259     # - path: 'conf/normalize/isi/isi2xls.pl'
260 mglavica 1274 # - path: 'conf/dipl/isi2sorted.pl'
261     - path: 'conf/dipl/tables.pl'
262 mglavica 1230 - name: manenicai
263     type: isi
264     path: '/data/FF/citati/citing/manenicai.txt'
265     encoding: 'ISO-8859-1'
266     normalize:
267     # - path: 'conf/normalize/isi/isi2xls.pl'
268 mglavica 1274 # - path: 'conf/dipl/isi2sorted.pl'
269     - path: 'conf/dipl/tables.pl'
270 mglavica 1270 - name: maslicsersicd
271     type: isi
272     path: '/data/FF/citati/citing/maslicsersicd.txt'
273     encoding: 'ISO-8859-1'
274     normalize:
275     # - path: 'conf/normalize/isi/isi2xls.pl'
276 mglavica 1274 # - path: 'conf/dipl/isi2sorted.pl'
277     - path: 'conf/dipl/tables.pl'
278 mglavica 1270 skip: 1
279 mglavica 1230 - name: radosevicvidacekb
280     type: isi
281     path: '/data/FF/citati/citing/radosevicvidacekb.txt'
282     encoding: 'ISO-8859-1'
283     normalize:
284     # - path: 'conf/normalize/isi/isi2xls.pl'
285 mglavica 1274 # - path: 'conf/dipl/isi2sorted.pl'
286     - path: 'conf/dipl/tables.pl'
287 mglavica 1230 - name: sverkob
288     type: isi
289     path: '/data/FF/citati/citing/sverkob.txt'
290     encoding: 'ISO-8859-1'
291     normalize:
292     # - path: 'conf/normalize/isi/isi2xls.pl'
293 mglavica 1274 # - path: 'conf/dipl/isi2sorted.pl'
294     - path: 'conf/dipl/tables.pl'
295 mglavica 1270 - name: galicz
296     type: isi
297     path: '/data/FF/citati/citing/galicz.txt'
298     encoding: 'ISO-8859-1'
299     normalize:
300     # - path: 'conf/normalize/isi/isi2xls.pl'
301 mglavica 1274 # - path: 'conf/dipl/isi2sorted.pl'
302     - path: 'conf/dipl/tables.pl'
303 mglavica 1270 skip: 1
304 mglavica 1230 - name: tadinacm
305     type: isi
306     path: '/data/FF/citati/citing/tadinacm.txt'
307     encoding: 'ISO-8859-1'
308     normalize:
309     # - path: 'conf/normalize/isi/isi2xls.pl'
310 mglavica 1274 # - path: 'conf/dipl/isi2sorted.pl'
311     - path: 'conf/dipl/tables.pl'
312 mglavica 1230 - name: radovi
313     type: excel
314     path: '/data/FF/citati/citirani_radovi.xls'
315     worksheet: 'Sheet1'
316     # encoding: 'ISO-8859-1'
317     normalize:
318     # - path: 'conf/normalize/isi/isi2xls.pl'
319 mglavica 1274 # - path: 'conf/dipl/isi2sorted.pl'
320     - path: 'conf/dipl/citirani-radovi.pl'
321 mglavica 1270 - name: cropsy
322     type: isi
323     path: '/data/FF/citati/croatia-psychol.txt'
324     normalize:
325 mglavica 1274 - path: 'conf/dipl/tables-cropsy.pl'
326 mglavica 1270 skip: 0
327 mglavica 1274 - name: jcr
328     type: csv
329     path: "/data/FF/citati/jcr_recs.txt"
330     normalize:
331     - path: 'conf/dipl/tables-jcr.pl'
332     - name: izbori
333     type: excel
334     path: "/data/FF/citati/izbori.xls"
335     worksheet: podaci
336     from: 1
337     to: 886
338     normalize:
339     - path: 'conf/dipl/tables-izbori.pl'
340 mglavica 1193 output:
341 mglavica 1230 # - module: 'Excel'
342     # path: '/data/FF/citati/data.xls'
343     # - module: 'Sorted'
344     # path: '/data/FF/citati/sorted/'
345 dpavlin 1208 # - module: 'CouchDB'
346     # url: 'http://193.198.212.57:5984'
347     - module: 'DBI'
348 mglavica 1230 dsn: 'dbi:Pg:dbname=dipl'
349 mglavica 1274 schema: 'conf/dipl/schema.sql'
350 mglavica 1230 # table: 'citirani'

Properties

Name Value
svn:mergeinfo

  ViewVC Help
Powered by ViewVC 1.1.26