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

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

  ViewVC Help
Powered by ViewVC 1.1.26