Changeset 23753

Show
Ignore:
Timestamp:
02.03.2011 15:57:14 (9 years ago)
Author:
davidb
Message:

Tidied up on 'book-keeping' information used by this plugin, now that it is used in the import folder (and not just the archives folder) as a result of generalized exploding being used in a collection

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/plugins/GreenstoneXMLPlugin.pm

    r23561 r23753  
    204204    # text read in by XML::Parser is in Perl's binary byte value 
    205205    # form ... need to explicitly make it UTF-8 
     206 
    206207 
    207208    my $metadata_name = decode("utf-8",$self->{'metadata_name'}); 
     
    340341    # process the document 
    341342    $self->{'processor'}->process($self->{'doc_obj'}, $self->{'file'}); 
     343 
     344    $self->{'num_processed'} ++; 
     345    undef $self->{'doc_obj'}; 
    342346} 
    343347