/[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 237 by dpavlin, Tue Dec 6 23:49:13 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 69  databases: Line 88  databases:
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        # another input database
102        - name: peri        - name: peri
# Line 84  databases: Line 104  databases:
104          path: '/data/isis_data/ffps-peri/PERI'          path: '/data/isis_data/ffps-peri/PERI'
105          encoding: '852'          encoding: '852'
106          lookup: 'conf/lookup/isis.pm'          lookup: 'conf/lookup/isis.pm'
107          #limit: 100          limit: 100
108          normalize:          normalize:
109            tag: 'isis'            tag: 'isis'
110            path: 'conf/normalize/isis_ffzg.xml'            path: 'conf/normalize/isis_ffzg.xml'
# Line 99  databases: Line 119  databases:
119        path: '/data/isis_data/ffkk/LIBRI'        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'
# Line 112  databases: Line 132  databases:
132        path: '/data/isis_data/jzav/BIB'        path: '/data/isis_data/jzav/BIB'
133        encoding: '852'        encoding: '852'
134        lookup: 'conf/lookup/jzav.yml'        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.237  
changed lines
  Added in v.271

  ViewVC Help
Powered by ViewVC 1.1.26