Changeset 9352


Ignore:
Timestamp:
2005-03-10T11:57:53+13:00 (19 years ago)
Author:
davidb
Message:

Processing lines for OAIPlug were not appearing in GLI (librarian mode).
This is because it don't "process" the files in the traditional manner
-> instead it passes the metadata on to a source document. Extra print
statement added if $gli=1 to generate message for GLI at the point that
it says its passing on the extracted metadata to ...

File:
1 edited

Legend:

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

    r8716 r9352  
    7979    my $self = shift (@_); 
    8080 
    81     my ($pluginfo, $base_dir, $file, $metadata, $processor, $maxdocs) = @_;
     81    my ($pluginfo, $base_dir, $file, $metadata, $processor, $maxdocs, $gli) = @_;
    8282
    8383    my $outhandle = $self->{'outhandle'};
     
    114114    }
    115115
     116    print STDERR "<Processing n='$file' p='OAIPlug'>\n" if ($gli);
    116117    print $outhandle "OAIPlug: extracting metadata from $file\n"
    117118    if ($self->{'verbosity'}>1);
Note: See TracChangeset for help on using the changeset viewer.