/[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

Diff of /Webpacus/config.yml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 97 by dpavlin, Tue Nov 22 12:57:35 2005 UTC revision 244 by dpavlin, Wed Dec 14 23:04:13 2005 UTC
# Line 1  Line 1 
1  --- #YAML:1.0  --- #YAML:1.0
2  # DO NOT USE TABS FOR INDENTATION OR label/value SEPARATION!!!  # DO NOT USE TABS FOR INDENTATION OR label/value SEPARATION!!!
3    
 # Catalyst::Plugin::Unicode::Encoding  
 #encoding: 'UTF-8'  
   
4  # configuration for hyper estraier full text search engine  # configuration for hyper estraier full text search engine
5  hyperestraier:  hyperestraier:
6    url: 'http://localhost:1978/node/webpac2'    #url: 'http://localhost:1978/node/webpac2'
7      masterurl: 'http://localhost:1978'
8    #  defaultnode: 'webpac2'
9      defaultnode: 'ps'
10      defaultdepth: 1
11    user: 'admin'    user: 'admin'
12    passwd: 'admin'    passwd: 'admin'
13      #
14      # 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      # 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    # FIXME encoding comming from Catalyst.    # FIXME encoding comming from Catalyst.
27    encoding: 'ISO-8859-2'    catalyst_encoding: 'UTF-8'
28    
29  webpac:  webpac:
30    # default template to use    # default template to use
# Line 19  webpac: Line 33  webpac:
33    db_path: '/data/webpac2/db'    db_path: '/data/webpac2/db'
34    # path to templates used by WebPAC::Output    # path to templates used by WebPAC::Output
35    template_path: '/data/webpac2/conf/output/tt'    template_path: '/data/webpac2/conf/output/tt'
36      # default template for results
37      default_template: 'html_ffzg.tt'
38      # default user editable css file
39      default_css: 'user.css'
40      css_path: 'root/css'
41    # encoding comming from webpac    # encoding comming from webpac
42    webpac_encoding: 'iso-8859-2'    webpac_encoding: 'iso-8859-2'
43    # encoding expected by Catalyst    # encoding expected by Catalyst
44    out_encoding: 'utf-8'    out_encoding: 'utf-8'
45    
46    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    # directives after this are used when indexing using core WebPAC modules
52    
53    databases:
54      # Psihologija
55      'ps':
56        # all variables here will be available as config variables in template
57        name: 'Knjižnica psihologije'
58        code: 'ps'
59      
60        # define input source
61        input:
62          # this will create unique name with name of database and mfn
63          - name: libri
64            # isis
65            type: isis
66        
67            # full path to database
68            path: '/data/isis_data/ffps-libri/LIBRI'
69        
70            # encoding of character set in isis data
71            encoding: '852'
72        
73            # lookup
74            lookup: 'conf/lookup/isis.pm'
75        
76            # limit number of records to read from database
77            #limit: 100
78        
79            # define normalisation for that source
80            normalize:
81              # which tag to use in normalize xml for data?
82              tag: 'isis'
83              # path to normalization xml
84              path: 'conf/normalize/isis_ffzg.xml'
85      
86          # another input database
87          - name: peri
88            type: isis
89            path: '/data/isis_data/ffps-peri/PERI'
90            encoding: '852'
91            lookup: 'conf/lookup/isis.pm'
92            #limit: 100
93            normalize:
94              tag: 'isis'
95              path: 'conf/normalize/isis_ffzg.xml'
96    
97      # Komparativna
98      kk:
99        name: 'Komparativna'
100      
101        input:
102          name: libri
103          type: isis
104          path: '/data/isis_data/ffkk/LIBRI'
105          encoding: '852'
106          lookup: 'conf/lookup/isis.pm'
107          #limit: 100
108          normalize:
109            tag: 'isis'
110            path: 'conf/normalize/isis_ffzg.xml'
111      
112      jzav:
113        name: 'Jadranski zavod'
114        input:
115          name: knjige
116          type: isis
117          path: '/data/isis_data/jzav/BIB'
118          encoding: '852'
119          lookup: 'conf/lookup/jzav.yml'
120          #limit: 100
121          normalize:
122            tag: 'isis'
123            path: 'conf/normalize/isis_ffzg.xml'

Legend:
Removed from v.97  
changed lines
  Added in v.244

  ViewVC Help
Powered by ViewVC 1.1.26