/[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 222 by dpavlin, Mon Dec 5 19:15:01 2005 UTC revision 271 by dpavlin, Sat Dec 17 03:19:58 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    
4    # encoding of this configuration file
5    config_encoding: 'ISO-8859-2'
6    # encoding in Catalyst.
7    catalyst_encoding: 'UTF-8'
8    
9  # configuration for hyper estraier full text search engine  # configuration for hyper estraier full text search engine
10  hyperestraier:  hyperestraier:
11    #url: 'http://localhost:1978/node/webpac2'    #url: 'http://localhost:1978/node/webpac2'
12    masterurl: 'http://localhost:1978'    masterurl: 'http://localhost:1978'
13  #  defaultnode: 'webpac2'    defaultnode: 'webpac2'
14    defaultnode: 'ps'  #  defaultnode: 'ps'
15    defaultdepth: 1    defaultdepth: 1
16    user: 'admin'    user: 'admin'
17    passwd: 'admin'    passwd: 'admin'
# Line 21  hyperestraier: Line 26  hyperestraier:
26    # which tag type to use for search engine (used while indexing)    # which tag type to use for search engine (used while indexing)
27    type: 'search'    type: 'search'
28    #    #
   # options used for Catalyst only  
   #  
   # FIXME encoding comming from Catalyst.  
   catalyst_encoding: 'UTF-8'  
29    
30  webpac:  webpac:
31    # default template to use    # default template to use
# Line 43  webpac: Line 44  webpac:
44    # encoding expected by Catalyst    # encoding expected by Catalyst
45    out_encoding: 'utf-8'    out_encoding: 'utf-8'
46    
47    editor:
48      # open this record when opening editor
49      # (it will also be used to deduce default database and input)
50      default_record_uri: 'ps/libri/1'
51    
52  # directives after this are used when indexing using core WebPAC modules  # directives after this are used when indexing using core WebPAC modules
53    
54  databases:  databases:
55      # This is empty database created only in Hyper Estraier to merge
56      # all three databases
57      'webpac2':
58        name: 'Search all'
59        links:
60          - to: ps
61            credit: 10000
62          - to: kk
63            credit: 10000
64          - to: jzav
65            credit: 10000
66    
67    
68    # Psihologija    # Psihologija
69    'ps':    'ps':
70      # all variables here will be available as config variables in template      # all variables here will be available as config variables in template
# Line 55  databases: Line 74  databases:
74      # define input source      # define input source
75      input:      input:
76        # this will create unique name with name of database and mfn        # this will create unique name with name of database and mfn
77        name: libri        - name: libri
78        # isis          # isis
79        type: isis          type: isis
80          
81        # full path to database          # full path to database
82        path: '/data/isis_data/ffps-libri/LIBRI'          path: '/data/isis_data/ffps-libri/LIBRI'
83          
84        # encoding of character set in isis data          # encoding of character set in isis data
85        encoding: '852'          encoding: '852'
86          
87        # lookup          # lookup
88        lookup: 'conf/lookup/isis.pm'          lookup: 'conf/lookup/isis.pm'
89          
90        # limit number of records to read from database          # limit number of records to read from database
91        #limit: 100          limit: 100
92          
93        # define normalisation for that source          # define normalisation for that source
94        normalize:          normalize:
95          # which tag to use in normalize xml for data?            # which tag to use in normalize xml for data?
96          tag: 'isis'            tag: 'isis'
97          # path to normalization xml            # path to normalization xml
98          path: 'conf/normalize/isis_ffzg.xml'            #path: 'conf/normalize/isis_ffzg.xml'
99              path: 'conf/normalize/isis_ffzg.yml'
100      
101          # another input database
102          - name: peri
103            type: isis
104            path: '/data/isis_data/ffps-peri/PERI'
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      # another input database    # Komparativna
113      kk:
114        name: 'Komparativna'
115      
116      input:      input:
117        name: peri        name: libri
118        type: isis        type: isis
119        path: '/data/isis_data/ffps-peri/PERI'        path: '/data/isis_data/ffkk/LIBRI'
120        encoding: '852'        encoding: '852'
121        lookup: 'conf/lookup/isis.pm'        lookup: 'conf/lookup/isis.pm'
122        #limit: 100        limit: 100
123        normalize:        normalize:
124          tag: 'isis'          tag: 'isis'
125          path: 'conf/normalize/isis_ffzg.xml'          path: 'conf/normalize/isis_ffzg.xml'
   
   # Kooo... k?  
   kk:  
     name: 'Tko zna?'  
126        
127      jzav:
128        name: 'Jadranski zavod'
129      input:      input:
130        name: libri        name: knjige
131        type: isis        type: isis
132        path: '/data/isis_data/ffkk/LIBRI'        path: '/data/isis_data/jzav/BIB'
133        encoding: '852'        encoding: '852'
134        lookup: 'conf/lookup/isis.pm'        lookup: 'conf/lookup/jzav.yml'
135        #limit: 100        limit: 1
136        normalize:        normalize:
137          tag: 'isis'          tag: 'isis'
138          path: 'conf/normalize/isis_ffzg.xml'          path: 'conf/normalize/isis_ffzg.xml'
     

Legend:
Removed from v.222  
changed lines
  Added in v.271

  ViewVC Help
Powered by ViewVC 1.1.26