Ignore:
Timestamp:
2010-08-18T10:50:18+12:00 (14 years ago)
Author:
mdewsnip
Message:

Changed "srclink_file" metadata to always contain the filename, instead of referencing another metadata element. This is so the C++ code can escape underscores in the filename values correctly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/plugins/RealMediaPlugin.pm

    r22655 r22663  
    108108    $doc_obj->add_metadata($top_section, "FileFormat", "RealMedia");
    109109
    110     $doc_obj->add_metadata ($top_section, "srclink_file", "[SourceFile]");
     110    $doc_obj->add_metadata ($top_section, "srclink_file", $doc_obj->get_sourcefile());
    111111    $doc_obj->add_metadata($top_section, "srcicon", "_iconrmvideo_");
    112112
Note: See TracChangeset for help on using the changeset viewer.