Show
Ignore:
Timestamp:
04.06.2010 11:36:07 (10 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.

Files:
1 modified

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