Changeset 12341


Ignore:
Timestamp:
2006-07-28T16:06:28+12:00 (18 years ago)
Author:
shaoqun
Message:

fixed the bugs

File:
1 edited

Legend:

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

    r12335 r12341  
    469469    $archive_info->load_info ($archive_info_filename);
    470470
    471 <<<<<<< import.pl
     471
    472472         ####Use Plugout####
    473473         my ($plugout_name);
     
    481481         my $opts=[];
    482482
    483     push @$opts,("-output_info",$export_info) if (defined $export_info);
     483    push @$opts,("-output_info",$archive_info) if (defined $archive_info);
    484484   
    485485    push @$opts,("-verbosity",$verbosity) if (defined $verbosity);
     
    488488    push @$opts,("-output_handle",$out) if (defined $out);
    489489       
    490         #$processor = new docsave ($collection, $archive_info, $verbosity, $gzip, $groupsize, $out, $service, $saveas);
     490       
    491491        $processor = &plugout::load_plugout($plugout_name,$opts);                       
    492492        $processor->setoutputdir ($archivedir);
    493493        $processor->set_sortmeta ($sortmeta, $removeprefix, $removesuffix) if defined $sortmeta;
    494494    $processor->set_OIDtype ($OIDtype);
    495     #$processor->set_saveas ($saveas);
    496     #$processor->set_saveas_version ("greenstone");
    497 =======
    498     # create a docsave object to process the documents
    499     $processor = new docsave ($collection, $archive_info, $verbosity, $gzip, $groupsize, $out, $service, $saveas);
    500     $processor->setoutputdir ($archivedir);
    501     $processor->set_sortmeta ($sortmeta, $removeprefix, $removesuffix) if defined $sortmeta;
    502     $processor->set_OIDtype ($OIDtype, $OIDmetadata);
    503     $processor->set_saveas ($saveas);
    504     $processor->set_saveas_version ("greenstone");
    505 
    506 >>>>>>> 1.78
     495
     496
    507497    } else {
    508498    $processor = new docprint ();
Note: See TracChangeset for help on using the changeset viewer.