/[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 270 by dpavlin, Sat Dec 17 00:37:12 2005 UTC revision 399 by dpavlin, Sun Feb 19 12:37:27 2006 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    # relative path to sites templates under Catalyst root
9    sites_root: 'sites'
10    
11  # configuration for hyper estraier full text search engine  # configuration for hyper estraier full text search engine
12  hyperestraier:  hyperestraier:
13    #url: 'http://localhost:1978/node/webpac2'    #url: 'http://localhost:1978/node/webpac2'
# Line 10  hyperestraier: Line 17  hyperestraier:
17    defaultdepth: 1    defaultdepth: 1
18    user: 'admin'    user: 'admin'
19    passwd: 'admin'    passwd: 'admin'
20      # don't turn this on! it will spit huge amounts of output
21      #debug: 1
22    #    #
23    # number of results on each page    # number of results on each page
24    hits_on_page: 30    hits_on_page: 30
# Line 21  hyperestraier: Line 30  hyperestraier:
30    # which tag type to use for search engine (used while indexing)    # which tag type to use for search engine (used while indexing)
31    type: 'search'    type: 'search'
32    #    #
   # options used for Catalyst only  
   #  
   # FIXME encoding comming from Catalyst.  
   catalyst_encoding: 'UTF-8'  
33    
34  webpac:  webpac:
35    # default template to use    # default template to use
# Line 42  webpac: Line 47  webpac:
47    webpac_encoding: 'iso-8859-2'    webpac_encoding: 'iso-8859-2'
48    # encoding expected by Catalyst    # encoding expected by Catalyst
49    out_encoding: 'utf-8'    out_encoding: 'utf-8'
50      # define different input formats (types) and perl modules to handle them
51      inputs:
52        isis: 'WebPAC::Input::ISIS'
53        marc: 'WebPAC::Input::MARC'
54    
55  editor:  editor:
56    # open this record when opening editor    # open this record when opening editor
# Line 63  databases: Line 72  databases:
72        - to: jzav        - to: jzav
73          credit: 10000          credit: 10000
74    
75      # site with alternative databases
76      'hr':
77        name: 'Primjer za hrvatsko sučelje'
78        links:
79          - to: ps
80            credit: 10000
81          - to: kk
82            credit: 5000
83    
84    # Psihologija    # Psihologija
85    'ps':    'ps':
# Line 87  databases: Line 104  databases:
104          lookup: 'conf/lookup/isis.pm'          lookup: 'conf/lookup/isis.pm'
105            
106          # limit number of records to read from database          # limit number of records to read from database
107          limit: 100          #limit: 100
108            
109          # define normalisation for that source          # define normalisation for that source
110          normalize:          normalize:
111            # which tag to use in normalize xml for data?            # which tag to use in normalize xml for data?
112            tag: 'isis'            tag: 'isis'
113            # path to normalization xml            # path to normalization xml
114            #path: 'conf/normalize/isis_ffzg.xml'            path: 'conf/normalize/isis_ffzg.xml'
115            path: 'conf/normalize/isis_ffzg.yml'            #path: 'conf/normalize/isis_ffzg.yml'
116        
117        # another input database        # another input database
118        - name: peri        - name: peri
# Line 103  databases: Line 120  databases:
120          path: '/data/isis_data/ffps-peri/PERI'          path: '/data/isis_data/ffps-peri/PERI'
121          encoding: '852'          encoding: '852'
122          lookup: 'conf/lookup/isis.pm'          lookup: 'conf/lookup/isis.pm'
123          limit: 100          #limit: 100
124          normalize:          normalize:
125            tag: 'isis'            tag: 'isis'
126            path: 'conf/normalize/isis_ffzg.xml'            path: 'conf/normalize/isis_ffzg.xml'
# Line 118  databases: Line 135  databases:
135        path: '/data/isis_data/ffkk/LIBRI'        path: '/data/isis_data/ffkk/LIBRI'
136        encoding: '852'        encoding: '852'
137        lookup: 'conf/lookup/isis.pm'        lookup: 'conf/lookup/isis.pm'
138        limit: 100        #limit: 100
139        normalize:        normalize:
140          tag: 'isis'          tag: 'isis'
141          path: 'conf/normalize/isis_ffzg.xml'          path: 'conf/normalize/isis_ffzg.xml'
# Line 131  databases: Line 148  databases:
148        path: '/data/isis_data/jzav/BIB'        path: '/data/isis_data/jzav/BIB'
149        encoding: '852'        encoding: '852'
150        lookup: 'conf/lookup/jzav.yml'        lookup: 'conf/lookup/jzav.yml'
151        limit: 1        #limit: 100
152          normalize:
153            tag: 'isis'
154            path: 'conf/normalize/isis_ffzg.xml'
155      
156      efzg:
157        name: 'Ekonomski fakutet u Zagrebu'
158        input:
159          name: knjige
160          type: marc
161          path: '/data/isis_data/efzg/unimarc.iso'
162          encoding: '852'
163          lookup: 'conf/lookup/isis.pm'
164          #limit: 100
165        normalize:        normalize:
166          tag: 'isis'          tag: 'isis'
167          path: 'conf/normalize/isis_ffzg.xml'          path: 'conf/normalize/isis_ffzg.xml'
168      

Legend:
Removed from v.270  
changed lines
  Added in v.399

  ViewVC Help
Powered by ViewVC 1.1.26