/[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 232 by dpavlin, Tue Dec 6 16:35:11 2005 UTC revision 329 by dpavlin, Tue Dec 27 21:36:42 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 42  webpac: Line 43  webpac:
43    webpac_encoding: 'iso-8859-2'    webpac_encoding: 'iso-8859-2'
44    # encoding expected by Catalyst    # encoding expected by Catalyst
45    out_encoding: 'utf-8'    out_encoding: 'utf-8'
46      # define different input formats (types) and perl modules to handle them
47      inputs:
48        isis: 'WebPAC::Input::ISIS'
49        marc: 'WebPAC::Input::MARC'
50    
51    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  # directives after this are used when indexing using core WebPAC modules  # directives after this are used when indexing using core WebPAC modules
57    
58  databases:  databases:
59      # 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    # Psihologija    # Psihologija
73    'ps':    'ps':
74      # all variables here will be available as config variables in template      # all variables here will be available as config variables in template
# Line 54  databases: Line 77  databases:
77        
78      # define input source      # define input source
79      input:      input:
80          # this will create unique name with name of database and mfn        # this will create unique name with name of database and mfn
81        - name: libri        - name: libri
82          # isis          # isis
83          type: isis          type: isis
# Line 69  databases: Line 92  databases:
92          lookup: 'conf/lookup/isis.pm'          lookup: 'conf/lookup/isis.pm'
93            
94          # limit number of records to read from database          # limit number of records to read from database
95          limit: 100          #limit: 100
96            
97          # define normalisation for that source          # define normalisation for that source
98          normalize:          normalize:
# Line 77  databases: Line 100  databases:
100            tag: 'isis'            tag: 'isis'
101            # path to normalization xml            # path to normalization xml
102            path: 'conf/normalize/isis_ffzg.xml'            path: 'conf/normalize/isis_ffzg.xml'
103              #path: 'conf/normalize/isis_ffzg.yml'
104        
105        # another input database        # another input database
106        - name: peri        - name: peri
# Line 89  databases: Line 113  databases:
113            tag: 'isis'            tag: 'isis'
114            path: 'conf/normalize/isis_ffzg.xml'            path: 'conf/normalize/isis_ffzg.xml'
115    
116    # Kooo... k?    # Komparativna
117    kk:    kk:
118      name: 'Tko zna?'      name: 'Komparativna'
119        
120      input:      input:
121        name: libri        name: libri
# Line 99  databases: Line 123  databases:
123        path: '/data/isis_data/ffkk/LIBRI'        path: '/data/isis_data/ffkk/LIBRI'
124        encoding: '852'        encoding: '852'
125        lookup: 'conf/lookup/isis.pm'        lookup: 'conf/lookup/isis.pm'
126        limit: 100        #limit: 100
127          normalize:
128            tag: 'isis'
129            path: 'conf/normalize/isis_ffzg.xml'
130      
131      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          #limit: 100
140          normalize:
141            tag: 'isis'
142            path: 'conf/normalize/isis_ffzg.xml'
143      
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:        normalize:
154          tag: 'isis'          tag: 'isis'
155          path: 'conf/normalize/isis_ffzg.xml'          path: 'conf/normalize/isis_ffzg.xml'

Legend:
Removed from v.232  
changed lines
  Added in v.329

  ViewVC Help
Powered by ViewVC 1.1.26