/[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 348 by dpavlin, Sat Jan 7 17:34:16 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    
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'
# Line 10  hyperestraier: Line 15  hyperestraier:
15    defaultdepth: 1    defaultdepth: 1
16    user: 'admin'    user: 'admin'
17    passwd: 'admin'    passwd: 'admin'
18      # don't turn this on! it will spit huge amounts of output
19      #debug: 1
20    #    #
21    # number of results on each page    # number of results on each page
22    hits_on_page: 30    hits_on_page: 30
# Line 21  hyperestraier: Line 28  hyperestraier:
28    # which tag type to use for search engine (used while indexing)    # which tag type to use for search engine (used while indexing)
29    type: 'search'    type: 'search'
30    #    #
   # options used for Catalyst only  
   #  
   # FIXME encoding comming from Catalyst.  
   catalyst_encoding: 'UTF-8'  
31    
32  webpac:  webpac:
33    # default template to use    # default template to use
# Line 42  webpac: Line 45  webpac:
45    webpac_encoding: 'iso-8859-2'    webpac_encoding: 'iso-8859-2'
46    # encoding expected by Catalyst    # encoding expected by Catalyst
47    out_encoding: 'utf-8'    out_encoding: 'utf-8'
48      # define different input formats (types) and perl modules to handle them
49      inputs:
50        isis: 'WebPAC::Input::ISIS'
51        marc: 'WebPAC::Input::MARC'
52    
53  editor:  editor:
54    # open this record when opening editor    # open this record when opening editor
# Line 87  databases: Line 94  databases:
94          lookup: 'conf/lookup/isis.pm'          lookup: 'conf/lookup/isis.pm'
95            
96          # limit number of records to read from database          # limit number of records to read from database
97          limit: 100          #limit: 100
98            
99          # define normalisation for that source          # define normalisation for that source
100          normalize:          normalize:
101            # which tag to use in normalize xml for data?            # which tag to use in normalize xml for data?
102            tag: 'isis'            tag: 'isis'
103            # path to normalization xml            # path to normalization xml
104            #path: 'conf/normalize/isis_ffzg.xml'            path: 'conf/normalize/isis_ffzg.xml'
105            path: 'conf/normalize/isis_ffzg.yml'            #path: 'conf/normalize/isis_ffzg.yml'
106        
107        # another input database        # another input database
108        - name: peri        - name: peri
# Line 103  databases: Line 110  databases:
110          path: '/data/isis_data/ffps-peri/PERI'          path: '/data/isis_data/ffps-peri/PERI'
111          encoding: '852'          encoding: '852'
112          lookup: 'conf/lookup/isis.pm'          lookup: 'conf/lookup/isis.pm'
113          limit: 100          #limit: 100
114          normalize:          normalize:
115            tag: 'isis'            tag: 'isis'
116            path: 'conf/normalize/isis_ffzg.xml'            path: 'conf/normalize/isis_ffzg.xml'
# Line 118  databases: Line 125  databases:
125        path: '/data/isis_data/ffkk/LIBRI'        path: '/data/isis_data/ffkk/LIBRI'
126        encoding: '852'        encoding: '852'
127        lookup: 'conf/lookup/isis.pm'        lookup: 'conf/lookup/isis.pm'
128        limit: 100        #limit: 100
129        normalize:        normalize:
130          tag: 'isis'          tag: 'isis'
131          path: 'conf/normalize/isis_ffzg.xml'          path: 'conf/normalize/isis_ffzg.xml'
# Line 131  databases: Line 138  databases:
138        path: '/data/isis_data/jzav/BIB'        path: '/data/isis_data/jzav/BIB'
139        encoding: '852'        encoding: '852'
140        lookup: 'conf/lookup/jzav.yml'        lookup: 'conf/lookup/jzav.yml'
141        limit: 1        #limit: 100
142          normalize:
143            tag: 'isis'
144            path: 'conf/normalize/isis_ffzg.xml'
145      
146      efzg:
147        name: 'Ekonomski fakutet u Zagrebu'
148        input:
149          name: knjige
150          type: marc
151          path: '/data/isis_data/efzg/unimarc.iso'
152          encoding: '852'
153          lookup: 'conf/lookup/isis.pm'
154          #limit: 100
155        normalize:        normalize:
156          tag: 'isis'          tag: 'isis'
157          path: 'conf/normalize/isis_ffzg.xml'          path: 'conf/normalize/isis_ffzg.xml'
158      

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

  ViewVC Help
Powered by ViewVC 1.1.26