/[webpac2]/trunk/conf/ffcasopisi/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

Annotation of /trunk/conf/ffcasopisi/config.yml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1268 - (hide annotations)
Tue Aug 11 12:23:14 2009 UTC (14 years, 9 months ago) by mglavica
File size: 3262 byte(s)
work on journals data conversion

1 mglavica 1253 --- #YAML:1.0
2     # 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     # 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: 'hyperestraier-native'
14     #use_indexer: 'kinosearch'
15    
16     # configuration for Hyper Estraier full text search engine
17     hyperestraier:
18     #url: 'http://localhost:1978/node/webpac2'
19     masterurl: 'http://localhost:1978'
20     defaultnode: 'webpac2'
21     # defaultnode: 'ps'
22     defaultdepth: 1
23     user: 'admin'
24     passwd: 'admin'
25     # don't turn this on! it will spit huge amounts of output
26     #debug: 1
27     #
28     #
29     path: 'casket/'
30     # number of results on each page
31     hits_on_page: 10
32     # number of results to fetch for suggestion (it will fold multiple sameones)
33     hits_for_suggest: 20
34     #
35     # options used while indexing
36     #
37     # which tag type to use for search engine (used while indexing)
38     type: 'search'
39     #
40    
41     # options for pager
42     pager:
43     # how many pages to show for navigation?
44     max_pages: 20
45    
46     # configuration for KinoSearch search engine library
47     kinosearch:
48     index_path: './kinosearch/'
49     database: 'unconfigured database name'
50     label: 'unconfigured database label'
51     encoding: 'iso-8859-2'
52     # clean database before opening? (WARNING: this erases existing database)
53     clean: 1
54     # which field type to index?
55     type: 'search'
56    
57     webpac:
58     # default template to use
59     template: 'html_ffzg_results_short.tt'
60     # path to database files
61     db_path: '/data/webpac2/db'
62     # path to templates used by WebPAC::Output
63     template_path: '/data/webpac2/conf/output/tt'
64     # default template for results
65     default_template: 'html_ffzg.tt'
66     # default user editable css file
67     default_css: 'user.css'
68     css_path: 'root/css'
69     # encoding comming from webpac
70     webpac_encoding: 'iso-8859-2'
71     # encoding expected by Catalyst
72     out_encoding: 'utf-8'
73     # define different input formats (types) and perl modules to handle them
74     inputs:
75     isis: 'WebPAC::Input::ISIS'
76     marc: 'WebPAC::Input::MARC'
77     excel: 'WebPAC::Input::Excel'
78 mglavica 1264 csv: 'WebPAC::Input::CSV'
79 mglavica 1253 # define delimiters for validation
80     delimiters:
81     - ' ; '
82     - ' : '
83     - ' / '
84     - ' = '
85     editor:
86     # open this record when opening editor
87     # (it will also be used to deduce default database and input)
88     default_record_uri: 'ps/peri/1'
89    
90     # directives after this are used when indexing using core WebPAC modules
91    
92     databases:
93    
94 mglavica 1264 casopisi:
95 mglavica 1268 name: 'Casopisi FF'
96 mglavica 1253 input:
97 mglavica 1264 - name: sig
98 mglavica 1253 type: excel
99 mglavica 1264 path: '/data/FF/casopisi/Casopisi-signature-20090723.xls'
100     to: 3352
101 mglavica 1253 normalize:
102 mglavica 1264 - path: 'conf/ffcasopisi/sigxls2marc.pl'
103     - path: 'conf/ffcasopisi/tables-signature.pl'
104 mglavica 1268 - name: sfd
105 mglavica 1264 type: isis
106     path: '/data/FF/casopisi/lj2008/sfd/PERI/PERI'
107 mglavica 1268 encoding: cp852
108     collection: Časopisi
109 mglavica 1264 modify_file: 'conf/ffcasopisi/modify.pl'
110     normalize:
111     - path: 'conf/ffcasopisi/perilooksig2marc.pl'
112     - path: 'conf/ffcasopisi/tables-isis.pl'
113     output:
114     - module: 'DBI'
115     dsn: 'dbi:Pg:dbname=ffcas'
116     schema: 'conf/ffcasopisi/schema.sql'

  ViewVC Help
Powered by ViewVC 1.1.26