Changeset 23261

Show
Ignore:
Timestamp:
01.11.2010 13:50:53 (9 years ago)
Author:
kjdon
Message:

ZIPPlugin needs to do a block pass on the extracted folder so we don't eg get all html images processed as individual files

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/plugins/ZIPPlugin.pm

    r16824 r23261  
    133133    chdir ($cwd) || die "Unable to change back to $cwd"; 
    134134     
     135    # do the blocking step inside the folder 
     136    &plugin::file_block_read ($pluginfo, "", $tmpdir, 
     137                  $block_hash, $metadata, $gli); 
    135138    my $numdocs = &plugin::read ($pluginfo, "", $tmpdir, $block_hash, $metadata, $processor, $maxdocs, $total_count, $gli); 
    136139    &util::rm_r ($tmpdir);