Changeset 17513

Show
Ignore:
Timestamp:
09.10.2008 14:44:51 (11 years ago)
Author:
kjdon
Message:

extrametadata keys need to be regexs, so windows paths need converting

Files:
1 modified

Legend:

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

    r17319 r17513  
    225225    # return all the metadata we have extracted to the caller. 
    226226    # Directory plug will pass it back in at read time, so we don't need to extract it again. 
     227    # extrametadata keys should be regular expressions 
     228    $filename_for_metadata = &util::filename_to_regex($filename_for_metadata); 
    227229    $extrametadata->{$filename_for_metadata} = $new_metadata; 
    228230    push(@$extrametakeys, $filename_for_metadata);