Ignore:
Timestamp:
2010-06-04T11:36:07+12:00 (14 years ago)
Author:
mdewsnip
Message:

New OAIMetadataXMLPlugin.pm for extracting information from OAI servers where metadata.xml files specify what to download from the OAI server. Done for Koha integration, but may be useful for other OAI servers. By Jeffrey Ke at DL Consulting Ltd.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/plugouts/BasePlugout.pm

    r21584 r22232  
    564564   my $doc_dir = "";
    565565   my $doc_dir_rest = $OID;
     566
    566567   # remove any \ and / from the OID
    567568   $doc_dir_rest =~ s/[\\\/]//g;
     569
     570   # Remove ":" if we are on Windows OS, as otherwise they get confused with the drive letters
     571   $doc_dir_rest =~ s/\://g if ($ENV{'GSDLOS'} =~ /^windows$/i);
     572
    568573   my $doc_dir_num = 0;
    569574
Note: See TracChangeset for help on using the changeset viewer.