/[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 293 - (hide annotations)
Sun Dec 18 23:35:24 2005 UTC (18 years, 4 months ago) by dpavlin
File size: 3951 byte(s)
 r11793@llin:  dpavlin | 2005-12-19 06:36:10 +0100
 minor tweaks for new WebPAC core 2.00_6

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    
9 dpavlin 95 # configuration for hyper estraier full text search engine
10     hyperestraier:
11 dpavlin 222 #url: 'http://localhost:1978/node/webpac2'
12     masterurl: 'http://localhost:1978'
13 dpavlin 257 defaultnode: 'webpac2'
14     # defaultnode: 'ps'
15 dpavlin 222 defaultdepth: 1
16 dpavlin 95 user: 'admin'
17     passwd: 'admin'
18 dpavlin 142 #
19 dpavlin 143 # number of results on each page
20     hits_on_page: 30
21     # number of results to fetch for suggestion (it will fold multiple sameones)
22     hits_for_suggest: 20
23     #
24 dpavlin 142 # options used while indexing
25     #
26     # which tag type to use for search engine (used while indexing)
27     type: 'search'
28     #
29 dpavlin 95
30     webpac:
31 dpavlin 97 # default template to use
32     template: 'html_ffzg_results_short.tt'
33     # path to database files
34 dpavlin 95 db_path: '/data/webpac2/db'
35 dpavlin 97 # path to templates used by WebPAC::Output
36 dpavlin 95 template_path: '/data/webpac2/conf/output/tt'
37 dpavlin 135 # default template for results
38     default_template: 'html_ffzg.tt'
39     # default user editable css file
40     default_css: 'user.css'
41 dpavlin 139 css_path: 'root/css'
42 dpavlin 96 # encoding comming from webpac
43     webpac_encoding: 'iso-8859-2'
44     # encoding expected by Catalyst
45 dpavlin 97 out_encoding: 'utf-8'
46 dpavlin 293 # define different input formats (types) and perl modules to handle them
47     inputs:
48     isis: 'WebPAC::Input::ISIS'
49     marc: 'WebPAC::Input::MARC'
50 dpavlin 97
51 dpavlin 244 editor:
52     # open this record when opening editor
53     # (it will also be used to deduce default database and input)
54     default_record_uri: 'ps/libri/1'
55    
56 dpavlin 142 # directives after this are used when indexing using core WebPAC modules
57    
58 dpavlin 222 databases:
59 dpavlin 257 # This is empty database created only in Hyper Estraier to merge
60     # all three databases
61     'webpac2':
62     name: 'Search all'
63     links:
64     - to: ps
65     credit: 10000
66     - to: kk
67     credit: 10000
68     - to: jzav
69     credit: 10000
70    
71    
72 dpavlin 222 # Psihologija
73     'ps':
74     # all variables here will be available as config variables in template
75     name: 'Knji¾nica psihologije'
76     code: 'ps'
77    
78     # define input source
79     input:
80 dpavlin 237 # this will create unique name with name of database and mfn
81 dpavlin 232 - name: libri
82     # isis
83     type: isis
84    
85     # full path to database
86     path: '/data/isis_data/ffps-libri/LIBRI'
87    
88     # encoding of character set in isis data
89     encoding: '852'
90    
91     # lookup
92     lookup: 'conf/lookup/isis.pm'
93    
94     # limit number of records to read from database
95 dpavlin 277 #limit: 100
96 dpavlin 232
97     # define normalisation for that source
98     normalize:
99     # which tag to use in normalize xml for data?
100     tag: 'isis'
101     # path to normalization xml
102 dpavlin 270 #path: 'conf/normalize/isis_ffzg.xml'
103     path: 'conf/normalize/isis_ffzg.yml'
104 dpavlin 222
105 dpavlin 232 # another input database
106     - name: peri
107     type: isis
108     path: '/data/isis_data/ffps-peri/PERI'
109     encoding: '852'
110     lookup: 'conf/lookup/isis.pm'
111 dpavlin 277 #limit: 100
112 dpavlin 232 normalize:
113     tag: 'isis'
114     path: 'conf/normalize/isis_ffzg.xml'
115 dpavlin 142
116 dpavlin 237 # Komparativna
117 dpavlin 222 kk:
118 dpavlin 237 name: 'Komparativna'
119 dpavlin 222
120     input:
121     name: libri
122     type: isis
123     path: '/data/isis_data/ffkk/LIBRI'
124     encoding: '852'
125     lookup: 'conf/lookup/isis.pm'
126 dpavlin 277 #limit: 100
127 dpavlin 222 normalize:
128     tag: 'isis'
129     path: 'conf/normalize/isis_ffzg.xml'
130    
131 dpavlin 237 jzav:
132     name: 'Jadranski zavod'
133     input:
134     name: knjige
135     type: isis
136     path: '/data/isis_data/jzav/BIB'
137     encoding: '852'
138     lookup: 'conf/lookup/jzav.yml'
139 dpavlin 277 #limit: 100
140 dpavlin 237 normalize:
141     tag: 'isis'
142     path: 'conf/normalize/isis_ffzg.xml'
143 dpavlin 293
144     efzg:
145     name: 'Ekonomski fakutet u Zagrebu'
146     input:
147     name: knjige
148     type: marc
149     path: '/data/isis_data/efzg/unimarc.iso'
150     encoding: '852'
151     lookup: 'conf/lookup/isis.pm'
152     #limit: 100
153     normalize:
154     tag: 'isis'
155     path: 'conf/normalize/isis_ffzg.xml'
156    

  ViewVC Help
Powered by ViewVC 1.1.26