--- Webpacus/config.yml 2005/11/22 14:45:17 100 +++ Webpacus/config.yml 2005/12/16 01:48:30 257 @@ -3,11 +3,28 @@ # configuration for hyper estraier full text search engine hyperestraier: - url: 'http://localhost:1978/node/webpac2' + #url: 'http://localhost:1978/node/webpac2' + masterurl: 'http://localhost:1978' + defaultnode: 'webpac2' +# defaultnode: 'ps' + defaultdepth: 1 user: 'admin' passwd: 'admin' + # + # number of results on each page + hits_on_page: 30 + # number of results to fetch for suggestion (it will fold multiple sameones) + hits_for_suggest: 20 + # + # options used while indexing + # + # which tag type to use for search engine (used while indexing) + type: 'search' + # + # options used for Catalyst only + # # FIXME encoding comming from Catalyst. - encoding: 'UTF-8' + catalyst_encoding: 'UTF-8' webpac: # default template to use @@ -16,8 +33,104 @@ db_path: '/data/webpac2/db' # path to templates used by WebPAC::Output template_path: '/data/webpac2/conf/output/tt' + # default template for results + default_template: 'html_ffzg.tt' + # default user editable css file + default_css: 'user.css' + css_path: 'root/css' # encoding comming from webpac webpac_encoding: 'iso-8859-2' # encoding expected by Catalyst out_encoding: 'utf-8' +editor: + # open this record when opening editor + # (it will also be used to deduce default database and input) + default_record_uri: 'ps/libri/1' + +# directives after this are used when indexing using core WebPAC modules + +databases: + # This is empty database created only in Hyper Estraier to merge + # all three databases + 'webpac2': + name: 'Search all' + links: + - to: ps + credit: 10000 + - to: kk + credit: 10000 + - to: jzav + credit: 10000 + + + # Psihologija + 'ps': + # all variables here will be available as config variables in template + name: 'Knjižnica psihologije' + code: 'ps' + + # define input source + input: + # this will create unique name with name of database and mfn + - name: libri + # isis + type: isis + + # full path to database + path: '/data/isis_data/ffps-libri/LIBRI' + + # encoding of character set in isis data + encoding: '852' + + # lookup + lookup: 'conf/lookup/isis.pm' + + # limit number of records to read from database + #limit: 100 + + # define normalisation for that source + normalize: + # which tag to use in normalize xml for data? + tag: 'isis' + # path to normalization xml + path: 'conf/normalize/isis_ffzg.xml' + + # another input database + - name: peri + type: isis + path: '/data/isis_data/ffps-peri/PERI' + encoding: '852' + lookup: 'conf/lookup/isis.pm' + #limit: 100 + normalize: + tag: 'isis' + path: 'conf/normalize/isis_ffzg.xml' + + # Komparativna + kk: + name: 'Komparativna' + + input: + name: libri + type: isis + path: '/data/isis_data/ffkk/LIBRI' + encoding: '852' + lookup: 'conf/lookup/isis.pm' + #limit: 100 + normalize: + tag: 'isis' + path: 'conf/normalize/isis_ffzg.xml' + + jzav: + name: 'Jadranski zavod' + input: + name: knjige + type: isis + path: '/data/isis_data/jzav/BIB' + encoding: '852' + lookup: 'conf/lookup/jzav.yml' + #limit: 100 + normalize: + tag: 'isis' + path: 'conf/normalize/isis_ffzg.xml'