Ignore:
Timestamp:
2010-03-03T11:09:07+13:00 (14 years ago)
Author:
kjdon
Message:

srclink now generated dynamically at runtime. instead of storing srclink metadata, we store srclink_file metadata, which can be a value (doc.doc) or a metadata format element (eg [SourceFile]).

File:
1 edited

Legend:

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

    r21746 r21760  
    137137
    138138    $doc_obj->add_metadata ($top_section, "FileFormat", "OggVorbis");
    139     $doc_obj->add_metadata ($top_section, "srclink", "<a href=\"_httpprefix_/collect/[collection]/index/assoc/[assocfilepath]/[SourceFile]\">");
    140     $doc_obj->add_metadata ($top_section, "/srclink", "</a>");
     139    #$doc_obj->add_metadata ($top_section, "srclink", "<a href=\"_httpprefix_/collect/[collection]/index/assoc/[assocfilepath]/[SourceFile]\">");
     140    #$doc_obj->add_metadata ($top_section, "/srclink", "</a>");
     141    $doc_obj->add_metadata ($section, "srclink_file", "[SourceFile]");
    141142    $doc_obj->add_metadata ($top_section, "srcicon", "_iconogg_");
    142143
Note: See TracChangeset for help on using the changeset viewer.