Changeset 16921 for gsdl/trunk/perllib/plugins
- Timestamp:
- 2008-08-20T17:39:48+12:00 (16 years ago)
- Location:
- gsdl/trunk/perllib/plugins
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/perllib/plugins/OggVorbisPlugin.pm
r16392 r16921 125 125 126 126 $doc_obj->add_metadata ($top_section, "FileFormat", "OggVorbis"); 127 $doc_obj->add_metadata ($top_section, "srclink", "<a href=\"_httpprefix_/collect/[collection]/index/assoc/[assocfilepath]/[Source ]\">");127 $doc_obj->add_metadata ($top_section, "srclink", "<a href=\"_httpprefix_/collect/[collection]/index/assoc/[assocfilepath]/[SourceFile]\">"); 128 128 $doc_obj->add_metadata ($top_section, "/srclink", "</a>"); 129 129 # srcicon (need to include "iogg.gif" in the greenstone images directory -
gsdl/trunk/perllib/plugins/RealMediaPlugin.pm
r16392 r16921 101 101 $doc_obj->add_metadata($top_section, "FileFormat", "RealMedia"); 102 102 103 $doc_obj->add_metadata($top_section, "srclink", "<a href=\"_httpprefix_/collect/[collection]/index/assoc/[assocfilepath]/[Source ]\">");103 $doc_obj->add_metadata($top_section, "srclink", "<a href=\"_httpprefix_/collect/[collection]/index/assoc/[assocfilepath]/[SourceFile]\">"); 104 104 $doc_obj->add_metadata($top_section, "/srclink", "</a>"); 105 105 # srcicon (need to include "irmvideo.gif" in the greenstone images directory 106 106 $doc_obj->add_metadata($top_section, "srcicon", "<img src=\"_httpprefix_/images/irmvideo.gif\" title=\"Download\" border=0>"); 107 107 108 # Add the actual file as an associated file 108 # Add the actual filename as it exists on the file system as an associated file 109 # by making sure we undo any URL-encoding escaping there may be 110 $filename_no_path =~ s/%25/%/g; 109 111 $doc_obj->associate_file($filename_full_path, $filename_no_path, "RealMedia", $top_section); 110 112
Note:
See TracChangeset
for help on using the changeset viewer.