/[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 222 - (hide annotations)
Mon Dec 5 19:15:01 2005 UTC (18 years, 5 months ago) by dpavlin
File size: 2694 byte(s)
 r11533@llin:  dpavlin | 2005-12-05 02:53:10 +0100
 initial work on support new WebPAC multi-database version

1 dpavlin 95 --- #YAML:1.0
2     # DO NOT USE TABS FOR INDENTATION OR label/value SEPARATION!!!
3    
4     # configuration for hyper estraier full text search engine
5     hyperestraier:
6 dpavlin 222 #url: 'http://localhost:1978/node/webpac2'
7     masterurl: 'http://localhost:1978'
8     # defaultnode: 'webpac2'
9     defaultnode: 'ps'
10     defaultdepth: 1
11 dpavlin 95 user: 'admin'
12     passwd: 'admin'
13 dpavlin 142 #
14 dpavlin 143 # number of results on each page
15     hits_on_page: 30
16     # number of results to fetch for suggestion (it will fold multiple sameones)
17     hits_for_suggest: 20
18     #
19 dpavlin 142 # options used while indexing
20     #
21     # which tag type to use for search engine (used while indexing)
22     type: 'search'
23     #
24     # options used for Catalyst only
25     #
26 dpavlin 95 # FIXME encoding comming from Catalyst.
27 dpavlin 142 catalyst_encoding: 'UTF-8'
28 dpavlin 95
29     webpac:
30 dpavlin 97 # default template to use
31     template: 'html_ffzg_results_short.tt'
32     # path to database files
33 dpavlin 95 db_path: '/data/webpac2/db'
34 dpavlin 97 # path to templates used by WebPAC::Output
35 dpavlin 95 template_path: '/data/webpac2/conf/output/tt'
36 dpavlin 135 # default template for results
37     default_template: 'html_ffzg.tt'
38     # default user editable css file
39     default_css: 'user.css'
40 dpavlin 139 css_path: 'root/css'
41 dpavlin 96 # encoding comming from webpac
42     webpac_encoding: 'iso-8859-2'
43     # encoding expected by Catalyst
44 dpavlin 97 out_encoding: 'utf-8'
45    
46 dpavlin 142 # directives after this are used when indexing using core WebPAC modules
47    
48 dpavlin 222 databases:
49     # Psihologija
50     'ps':
51     # all variables here will be available as config variables in template
52     name: 'Knji¾nica psihologije'
53     code: 'ps'
54    
55     # define input source
56     input:
57     # this will create unique name with name of database and mfn
58     name: libri
59     # isis
60     type: isis
61    
62     # full path to database
63     path: '/data/isis_data/ffps-libri/LIBRI'
64    
65     # encoding of character set in isis data
66     encoding: '852'
67    
68     # lookup
69     lookup: 'conf/lookup/isis.pm'
70    
71     # limit number of records to read from database
72     #limit: 100
73    
74     # define normalisation for that source
75     normalize:
76     # which tag to use in normalize xml for data?
77     tag: 'isis'
78     # path to normalization xml
79     path: 'conf/normalize/isis_ffzg.xml'
80 dpavlin 142
81 dpavlin 222 # another input database
82     input:
83     name: peri
84     type: isis
85     path: '/data/isis_data/ffps-peri/PERI'
86     encoding: '852'
87     lookup: 'conf/lookup/isis.pm'
88     #limit: 100
89     normalize:
90     tag: 'isis'
91     path: 'conf/normalize/isis_ffzg.xml'
92 dpavlin 142
93 dpavlin 222 # Kooo... k?
94     kk:
95     name: 'Tko zna?'
96    
97     input:
98     name: libri
99     type: isis
100     path: '/data/isis_data/ffkk/LIBRI'
101     encoding: '852'
102     lookup: 'conf/lookup/isis.pm'
103     #limit: 100
104     normalize:
105     tag: 'isis'
106     path: 'conf/normalize/isis_ffzg.xml'
107    

  ViewVC Help
Powered by ViewVC 1.1.26