/[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 440 by dpavlin, Sun Apr 30 23:20:12 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  # configuration for hyper estraier full text search engine  # 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    # which indexing engine to use? (hyperestraier is default)
12    use_indexer: 'hyperestraier'
13    #use_indexer: 'kinosearch'
14    
15    # configuration for Hyper Estraier full text search engine
16  hyperestraier:  hyperestraier:
17    #url: 'http://localhost:1978/node/webpac2'    #url: 'http://localhost:1978/node/webpac2'
18    masterurl: 'http://localhost:1978'    masterurl: 'http://localhost:1978'
19  #  defaultnode: 'webpac2'    defaultnode: 'webpac2'
20    defaultnode: 'ps'  #  defaultnode: 'ps'
21    defaultdepth: 1    defaultdepth: 2
22    user: 'admin'    user: 'admin'
23    passwd: 'admin'    passwd: 'admin'
24      # don't turn this on! it will spit huge amounts of output
25      #debug: 1
26    #    #
27    # number of results on each page    # number of results on each page
28    hits_on_page: 30    hits_on_page: 30
# Line 21  hyperestraier: Line 34  hyperestraier:
34    # which tag type to use for search engine (used while indexing)    # which tag type to use for search engine (used while indexing)
35    type: 'search'    type: 'search'
36    #    #
37    # options used for Catalyst only  
38    #  # options for pager
39    # FIXME encoding comming from Catalyst.  pager:
40    catalyst_encoding: 'UTF-8'    # how many pages to show for navigation?
41      max_pages: 20
42    
43    # configuration for KinoSearch search engine library
44    kinosearch:
45      index_path: './kinosearch/'
46      fields:
47        - 'uri'
48        - 'AccompanyingMaterial'
49        - 'APA'
50        - 'CallNo'
51        - 'ContentsNote'
52        - 'CorporateName'
53        - 'CorporateName2'
54        - 'DatePublication'
55        - 'EditionNote'
56        - 'EditionStatement'
57        - 'ExpandedTitle'
58        - 'fond'
59        - 'Form'
60        - 'Frequency'
61        - 'GeneralNote'
62        - 'ID'
63        - 'IdentificationNumbers'
64        - 'IntellectResponsNote'
65        - 'InternalBibliographies'
66        - 'InvNo'
67        - 'ISBN'
68        - 'ISSN'
69        - 'ISN'
70        - 'IssuedWith'
71        - 'Language'
72        - 'level'
73        - 'MaterialDesignation'
74        - 'MFN'
75        - 'NamePublisher'
76        - 'Names'
77        - 'OriginatingSource'
78        - 'ParallelTitle'
79        - 'Parts'
80        - 'PartsEF'
81        - 'PartsID'
82        - 'PersonalName'
83        - 'PersonalName2'
84        - 'PersonalNameOther'
85        - 'PhysicalDescription'
86        - 'PhysicalDescriptionNote'
87        - 'PhysicalDetails'
88        - 'Piece'
89        - 'PieceAnalitic'
90        - 'PieceNum'
91        - 'PieceSubtitle'
92        - 'PlacePublication'
93        - 'Responsibility'
94        - 'ResponsibilityFirst'
95        - 'ResponsibilitySecond'
96        - 'SerialNo'
97        - 'Series'
98        - 'SeriesTitle'
99        - 'Set'
100        - 'Set2'
101        - 'Subtitle'
102        - 'Summary'
103        - 'SystemRequirements'
104        - 'titleNo'
105        - 'TitleProper'
106        - 'TitleProper2'
107        - 'UDC'
108        - 'UDC_All'
109        - 'UDCb'
110        - 'UncontrolledTerms'
111        - 'UniformHeading'
112        - 'URL'
113        - 'VolumeDesignation'
114        - 'AllThes'
115        - 'BroaderTerm'
116        - 'ClassCode'
117        - 'DescriptorEN'
118        - 'DescriptorFR'
119        - 'DescriptorGE'
120        - 'DescriptorHR'
121        - 'filename'
122        - 'format'
123        - 'headline'
124        - 'IDths'
125        - 'line'
126        - 'line2'
127        - 'line3'
128        - 'line4'
129        - 'MicrothesaurusEN'
130        - 'MicrothesaurusFR'
131        - 'MicrothesaurusGE'
132        - 'MicrothesaurusHR'
133        - 'NarrowerTerm'
134        - 'NonDescriptorEN'
135        - 'NonDescriptorFR'
136        - 'NonDescriptorGE'
137        - 'NonDescriptorHR'
138        - 'RelatedTerm'
139        - 'ScopeNoteEN'
140        - 'ScopeNoteHR'
141        - 'SeeBefore'
142        - 'SeeNext'
143        - 'Source'
144        - 'SubjectAreaHR'
145        - 'SubjectIndex'
146        - 'URL'
147      database: 'unconfigured database name'
148      label: 'unconfigured database label'
149      encoding: 'iso-8859-2'
150      # clean database before opening? (WARNING: this erases existing database)
151      clean: 1
152      # which field type to index?
153      type: 'search'
154    
155  webpac:  webpac:
156    # default template to use    # default template to use
# Line 42  webpac: Line 168  webpac:
168    webpac_encoding: 'iso-8859-2'    webpac_encoding: 'iso-8859-2'
169    # encoding expected by Catalyst    # encoding expected by Catalyst
170    out_encoding: 'utf-8'    out_encoding: 'utf-8'
171      # define different input formats (types) and perl modules to handle them
172      inputs:
173        isis: 'WebPAC::Input::ISIS'
174        marc: 'WebPAC::Input::MARC'
175    
176    editor:
177      # open this record when opening editor
178      # (it will also be used to deduce default database and input)
179      default_record_uri: 'ps/libri/1'
180    
181  # directives after this are used when indexing using core WebPAC modules  # directives after this are used when indexing using core WebPAC modules
182    
183  databases:  databases:
184      # This is empty database created only in Hyper Estraier to merge
185      # all three databases
186      'webpac2':
187        name: 'Search all'
188        links:
189          - to: ps
190            credit: 10000
191          - to: kk
192            credit: 10000
193          - to: jzav
194            credit: 10000
195    
196      # site with alternative databases
197      'hr':
198        name: 'Primjer za hrvatsko suèelje'
199        links:
200          - to: ps
201            credit: 10000
202          - to: kk
203            credit: 5000
204    
205    # Psihologija    # Psihologija
206    'ps':    'ps':
207      # all variables here will be available as config variables in template      # all variables here will be available as config variables in template
# Line 77  databases: Line 233  databases:
233            tag: 'isis'            tag: 'isis'
234            # path to normalization xml            # path to normalization xml
235            path: 'conf/normalize/isis_ffzg.xml'            path: 'conf/normalize/isis_ffzg.xml'
236              #path: 'conf/normalize/isis_ffzg.yml'
237        
238        # another input database        # another input database
239        - name: peri        - name: peri
# Line 116  databases: Line 273  databases:
273        normalize:        normalize:
274          tag: 'isis'          tag: 'isis'
275          path: 'conf/normalize/isis_ffzg.xml'          path: 'conf/normalize/isis_ffzg.xml'
276      
277      efzg:
278        name: 'Ekonomski fakutet u Zagrebu'
279        input:
280          name: knjige
281          type: marc
282          path: '/data/isis_data/efzg/unimarc.iso'
283          encoding: '852'
284          # CroList recoding pairs to fix encoding problems
285          recode: 'ÏC È Ïc è ÂC Æ Âc æ ò ð ÏS © Ïs ¹ ÏZ ® Ïz ¾'
286          lookup: 'conf/lookup/isis.pm'
287          #limit: 100
288          normalize:
289            tag: 'isis'
290            path: 'conf/normalize/isis_ffzg.xml'
291      

Legend:
Removed from v.237  
changed lines
  Added in v.440

  ViewVC Help
Powered by ViewVC 1.1.26