Ignore:
Timestamp:
2005-03-18T14:10:58+13:00 (19 years ago)
Author:
kjdon
Message:

ConvertToPlug now accepts the gli arg in read() and passes it in process(), and all the convert plugins now print a processing message for gli in their process() method.

File:
1 edited

Legend:

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

    r9067 r9465  
    267267sub read {
    268268    my $self = shift (@_);
    269     my ($pluginfo, $base_dir, $file, $metadata, $processor, $maxdocs) = @_;
     269    my ($pluginfo, $base_dir, $file, $metadata, $processor, $maxdocs, $gli) = @_;
    270270#    if ($self->is_recursive()) {
    271271#        die "BasPlug::read function must be implemented in sub-class for recursive plugins\n";
     
    337337    $self->extra_metadata ($doc_obj, $doc_obj->get_top_section(), $metadata);
    338338    # do plugin specific processing of doc_obj
    339     return -1 unless defined ($self->process (\$text, $pluginfo, $base_dir, $file, $metadata, $doc_obj));
     339    return -1 unless defined ($self->process (\$text, $pluginfo, $base_dir, $file, $metadata, $doc_obj, $gli ));
    340340    # do any automatic metadata extraction
    341341    $self->auto_extract_metadata ($doc_obj);
Note: See TracChangeset for help on using the changeset viewer.