Changeset 17513


Ignore:
Timestamp:
2008-10-09T14:44:51+13:00 (14 years ago)
Author:
kjdon
Message:

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

File:
1 edited

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);
Note: See TracChangeset for help on using the changeset viewer.