Ignore:
Timestamp:
2008-07-14T14:57:38+12:00 (16 years ago)
Author:
kjdon
Message:

global block pass: read_block is no more, use can_process_this_file to see whether a file is for us or not. extra arg (block_hash) to read, read_into_doc_obj, metadata_read etc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/perllib/plugins/ArchivesInfPlugin.pm

    r16257 r16392  
    109109sub read {
    110110    my $self = shift (@_);
    111     my ($pluginfo, $base_dir, $file, $metadata, $processor, $maxdocs,$total_count, $gli) = @_;
     111    my ($pluginfo, $base_dir, $file, $block_hash, $metadata, $processor, $maxdocs,$total_count, $gli) = @_;
    112112    my $outhandle = $self->{'outhandle'};
    113113
     
    137137        my $tmp = &util::filename_cat ($file, $subfile->[0]);
    138138        next if $tmp eq $file;
    139 
     139       
    140140        # We always process the file...
    141141        my $process_file = 1;
     
    156156        if ($process_file) {
    157157        # note: metadata is not carried on to the next level
    158         $count += &plugin::read ($pluginfo, $base_dir, $tmp, {}, $processor, $maxdocs, ($total_count+$count), $gli);
     158        $count += &plugin::read ($pluginfo, $base_dir, $tmp, $block_hash, {}, $processor, $maxdocs, ($total_count+$count), $gli);
    159159        }
    160160
Note: See TracChangeset for help on using the changeset viewer.