206 |
|
|
207 |
my $input_module = $config->{webpac}->{inputs}->{$type}; |
my $input_module = $config->{webpac}->{inputs}->{$type}; |
208 |
|
|
209 |
$log->info("working on input '$input->{name}' in $input->{path} [type: $input->{type}] using $input_module lookup '$input->{lookup}'"); |
$log->info("working on input '$input->{name}' in $input->{path} [type: $input->{type}] using $input_module", |
210 |
|
$input->{lookup} ? "lookup '$input->{lookup}'" : "" |
211 |
|
); |
212 |
|
|
213 |
my $input_db = new WebPAC::Input( |
my $input_db = new WebPAC::Input( |
214 |
module => $input_module, |
module => $input_module, |
224 |
my $maxmfn = $input_db->open( |
my $maxmfn = $input_db->open( |
225 |
path => $input->{path}, |
path => $input->{path}, |
226 |
code_page => $input->{encoding}, # database encoding |
code_page => $input->{encoding}, # database encoding |
227 |
|
%{ $input }, |
228 |
); |
); |
229 |
|
|
230 |
my $n = new WebPAC::Normalize::XML( |
my $n = new WebPAC::Normalize::XML( |