Changeset 13886


Ignore:
Timestamp:
2007-02-09T15:47:09+13:00 (14 years ago)
Author:
shaoqun
Message:

doesn't need to check the doctype for the oai files

File:
1 edited

Legend:

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

    r13222 r13886  
    9595    my ($expat, $name, $sysid, $pubid, $internal) = @_;
    9696
    97     # allow the short-lived and badly named "GreenstoneArchive" files to be processed
    98     # as well as the "Archive" files which should now be created by import.pl
    99     die "" if ($name !~ /^OAI-PMH$/);
     97    ##die "" if ($name !~ /^OAI-PMH$/);
    10098
    10199    my $outhandle = $self->{'outhandle'};
     
    379377}
    380378
     379## we know from the file extension, so doesn't need to check the doctype
     380sub check_doctype {
     381
     382    return 1;
     383}
     384
    3813851;
Note: See TracChangeset for help on using the changeset viewer.