--- Webpacus/config.yml 2005/12/16 01:48:30 257 +++ Webpacus/config.yml 2006/01/07 17:34:16 348 @@ -1,6 +1,11 @@ --- #YAML:1.0 # DO NOT USE TABS FOR INDENTATION OR label/value SEPARATION!!! +# encoding of this configuration file +config_encoding: 'ISO-8859-2' +# encoding in Catalyst. +catalyst_encoding: 'UTF-8' + # configuration for hyper estraier full text search engine hyperestraier: #url: 'http://localhost:1978/node/webpac2' @@ -10,6 +15,8 @@ defaultdepth: 1 user: 'admin' passwd: 'admin' + # don't turn this on! it will spit huge amounts of output + #debug: 1 # # number of results on each page hits_on_page: 30 @@ -21,10 +28,6 @@ # which tag type to use for search engine (used while indexing) type: 'search' # - # options used for Catalyst only - # - # FIXME encoding comming from Catalyst. - catalyst_encoding: 'UTF-8' webpac: # default template to use @@ -42,6 +45,10 @@ webpac_encoding: 'iso-8859-2' # encoding expected by Catalyst out_encoding: 'utf-8' + # define different input formats (types) and perl modules to handle them + inputs: + isis: 'WebPAC::Input::ISIS' + marc: 'WebPAC::Input::MARC' editor: # open this record when opening editor @@ -95,6 +102,7 @@ tag: 'isis' # path to normalization xml path: 'conf/normalize/isis_ffzg.xml' + #path: 'conf/normalize/isis_ffzg.yml' # another input database - name: peri @@ -134,3 +142,17 @@ normalize: tag: 'isis' path: 'conf/normalize/isis_ffzg.xml' + + efzg: + name: 'Ekonomski fakutet u Zagrebu' + input: + name: knjige + type: marc + path: '/data/isis_data/efzg/unimarc.iso' + encoding: '852' + lookup: 'conf/lookup/isis.pm' + #limit: 100 + normalize: + tag: 'isis' + path: 'conf/normalize/isis_ffzg.xml' +