Changeset 16392 for gsdl/trunk/perllib/plugins/ConvertBinaryFile.pm
- Timestamp:
- 2008-07-14T14:57:38+12:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/perllib/plugins/ConvertBinaryFile.pm
r16013 r16392 366 366 sub read_into_doc_obj { 367 367 my $self = shift (@_); 368 my ($pluginfo, $base_dir, $file, $ metadata, $processor, $maxdocs, $total_count, $gli) = @_;368 my ($pluginfo, $base_dir, $file, $block_hash, $metadata, $processor, $maxdocs, $total_count, $gli) = @_; 369 369 370 370 my $outhandle = $self->{'outhandle'}; 371 371 372 my ($filename_full_path, $filename_no_path) = $self->get_full_filenames($base_dir, $file);372 my ($filename_full_path, $filename_no_path) = &util::get_full_filenames($base_dir, $file); 373 373 374 374 my $output_ext = $self->{'convert_to_ext'}; … … 411 411 412 412 # note: metadata is not carried on to the next level 413 ## **** I just replaced $metadata with {} in following 413 414 my ($rv,$doc_obj) 414 = $secondary_plugin->read_into_doc_obj ($pluginfo,"", $conv_filename, $ metadata, $processor, $maxdocs, $total_count, $gli);415 = $secondary_plugin->read_into_doc_obj ($pluginfo,"", $conv_filename, $block_hash, {}, $processor, $maxdocs, $total_count, $gli); 415 416 416 417 if ((!defined $rv) || ($rv<1)) { … … 438 439 my $topsection = $doc_obj->get_top_section(); 439 440 $self->add_associated_files($doc_obj, $filename_full_path); 441 442 # extra_metadata is already called by sec plugin in process?? 440 443 $self->extra_metadata($doc_obj, $topsection, $metadata); # do we need this here?? 441 444 # do any automatic metadata extraction
Note:
See TracChangeset
for help on using the changeset viewer.