Changeset 22656

Show
Ignore:
Timestamp:
17.08.2010 17:07:45 (9 years ago)
Author:
mdewsnip
Message:

Changed to add "srclink_file" metadata instead of the deprecated "srclink" and "/srclink" values.

Files:
1 modified

Legend:

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

    r22401 r22656  
    145145    $doc_obj->add_utf8_metadata ($section, $assoc_field, $doc_obj->get_source()); # Source metadata is already in utf8 
    146146 
    147     $doc_obj->add_metadata ($section, "srclink", 
    148                             "<a href=\"_httpprefix_/collect/[collection]/index/assoc/[assocfilepath]/[SourceFile]\">"); 
     147    $doc_obj->add_metadata ($section, "srclink_file", "[SourceFile]");  
    149148    $doc_obj->add_metadata ($section, "srcicon", "_iconogg_"); 
    150     $doc_obj->add_metadata ($section, "/srclink", "</a>"); 
    151149 
    152150    # we have no text - add dummy text and NoText metadata