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

    r8795 r9465  
    140140sub process {
    141141    my $self = shift (@_);
     142    #my ($textref, $pluginfo, $base_dir, $file, $metadata, $doc_obj, $gli) = @_;
     143
    142144    my $outhandle=$self->{'outhandle'};
    143145
     
    208210    print $outhandle "PDFPlug: passing $_[3] on to $self->{'converted_to'}Plug\n"
    209211    if $self->{'verbosity'} > 1;
     212    print STDERR "<Processing n='$_[3]' p='PDFPlug'>\n" if ($_[6]);
    210213
    211214    # tell htmlplug to extract these metadata fields from the HEAD META fields
     
    214217    my $result = ConvertToPlug::process_type($self,"pdf",@_);
    215218
    216     my $doc_obj = pop(@_);
    217 
     219    #my $doc_obj = pop(@_);
     220    my $doc_obj = $_[5];
    218221    # fix up the extracted date metadata to be in Greenstone date format,
    219222    # and fix the capitalisation of 'date'
Note: See TracChangeset for help on using the changeset viewer.