Changeset 16425

Show
Ignore:
Timestamp:
16.07.2008 13:12:53 (11 years ago)
Author:
kjdon
Message:

added in block pass and changed arguments to plugin::read - do we want to do blocking here??

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/bin/script/export.pl

    r15620 r16425  
    610610         
    611611        # process the import directory 
    612         &plugin::read ($pluginfo, $importdir, "", {}, $processor, $maxdocs,0, $gli); 
     612        my $block_hash = {}; 
     613        my $metadata = {}; 
     614        # gobal blocking pass may set up some metadata 
     615        &plugin::file_block_read($pluginfo, $importdir, "", $block_hash, $metadata, $gli); 
     616        &plugin::read ($pluginfo, $importdir, "", $block_hash, $metadata, $processor, $maxdocs, 0, $gli); 
     617 
    613618 
    614619        if ($saveas eq "FedoraMETS")