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/ReadTextFile.pm

    r16308 r16392  
    122122sub read_into_doc_obj {
    123123    my $self = shift (@_); 
    124     my ($pluginfo, $base_dir, $file, $metadata, $processor, $maxdocs, $total_count, $gli) = @_;
     124    my ($pluginfo, $base_dir, $file, $block_hash, $metadata, $processor, $maxdocs, $total_count, $gli) = @_;
    125125
    126126    my $outhandle = $self->{'outhandle'};
    127 
    128127    # should we move this to read? What about secondary plugins?
    129128    print STDERR "<Processing n='$file' p='$self->{'plugin_type'}'>\n" if ($gli);
     
    131130        if $self->{'verbosity'} > 1;
    132131
    133     my ($filename_full_path, $filename_no_path) =  $self->get_full_filenames($base_dir, $file);
     132    my ($filename_full_path, $filename_no_path) =  &util::get_full_filenames($base_dir, $file);
     133
    134134    # Do encoding stuff
    135135    my ($language, $encoding) = $self->textcat_get_language_encoding ($filename_full_path);
Note: See TracChangeset for help on using the changeset viewer.