/[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 270 - (hide annotations)
Sat Dec 17 00:37:12 2005 UTC (18 years, 4 months ago) by dpavlin
File size: 3480 byte(s)
 r11747@llin:  dpavlin | 2005-12-17 05:37:34 +0100
 make browsers without JavaScript supported, at least for search [0.20]

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 dpavlin 257 defaultnode: 'webpac2'
9     # defaultnode: 'ps'
10 dpavlin 222 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 244 editor:
47     # open this record when opening editor
48     # (it will also be used to deduce default database and input)
49     default_record_uri: 'ps/libri/1'
50    
51 dpavlin 142 # directives after this are used when indexing using core WebPAC modules
52    
53 dpavlin 222 databases:
54 dpavlin 257 # This is empty database created only in Hyper Estraier to merge
55     # all three databases
56     'webpac2':
57     name: 'Search all'
58     links:
59     - to: ps
60     credit: 10000
61     - to: kk
62     credit: 10000
63     - to: jzav
64     credit: 10000
65    
66    
67 dpavlin 222 # Psihologija
68     'ps':
69     # all variables here will be available as config variables in template
70     name: 'Knji¾nica psihologije'
71     code: 'ps'
72    
73     # define input source
74     input:
75 dpavlin 237 # this will create unique name with name of database and mfn
76 dpavlin 232 - name: libri
77     # isis
78     type: isis
79    
80     # full path to database
81     path: '/data/isis_data/ffps-libri/LIBRI'
82    
83     # encoding of character set in isis data
84     encoding: '852'
85    
86     # lookup
87     lookup: 'conf/lookup/isis.pm'
88    
89     # limit number of records to read from database
90 dpavlin 270 limit: 100
91 dpavlin 232
92     # define normalisation for that source
93     normalize:
94     # which tag to use in normalize xml for data?
95     tag: 'isis'
96     # path to normalization xml
97 dpavlin 270 #path: 'conf/normalize/isis_ffzg.xml'
98     path: 'conf/normalize/isis_ffzg.yml'
99 dpavlin 222
100 dpavlin 232 # another input database
101     - name: peri
102     type: isis
103     path: '/data/isis_data/ffps-peri/PERI'
104     encoding: '852'
105     lookup: 'conf/lookup/isis.pm'
106 dpavlin 270 limit: 100
107 dpavlin 232 normalize:
108     tag: 'isis'
109     path: 'conf/normalize/isis_ffzg.xml'
110 dpavlin 142
111 dpavlin 237 # Komparativna
112 dpavlin 222 kk:
113 dpavlin 237 name: 'Komparativna'
114 dpavlin 222
115     input:
116     name: libri
117     type: isis
118     path: '/data/isis_data/ffkk/LIBRI'
119     encoding: '852'
120     lookup: 'conf/lookup/isis.pm'
121 dpavlin 270 limit: 100
122 dpavlin 222 normalize:
123     tag: 'isis'
124     path: 'conf/normalize/isis_ffzg.xml'
125    
126 dpavlin 237 jzav:
127     name: 'Jadranski zavod'
128     input:
129     name: knjige
130     type: isis
131     path: '/data/isis_data/jzav/BIB'
132     encoding: '852'
133     lookup: 'conf/lookup/jzav.yml'
134 dpavlin 270 limit: 1
135 dpavlin 237 normalize:
136     tag: 'isis'
137     path: 'conf/normalize/isis_ffzg.xml'

  ViewVC Help
Powered by ViewVC 1.1.26