Changeset 14117
- Timestamp:
- 2007-06-05T14:03:48+12:00 (17 years ago)
- Location:
- trunk/gsdl/perllib/plugins
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/plugins/ImagePlug.pm
r13879 r14117 200 200 $doc_obj->add_metadata ($section, "ImageHeight", $image_height); 201 201 $doc_obj->add_metadata ($section, "ImageSize", $image_size); 202 $doc_obj->add_metadata ($section, "NoText", "1"); 202 203 203 204 $doc_obj->add_metadata ($section, "srclink", -
trunk/gsdl/perllib/plugins/MP3Plug.pm
r13269 r14117 158 158 $doc_obj->add_metadata ($section, $assoc_field, $assoc_name); 159 159 $doc_obj->add_metadata ($section, "srcurl", $assoc_url); 160 $doc_obj->add_metadata ($section, "NoText", "1"); 160 161 161 162 my $mp3_info = get_mp3info($filename); -
trunk/gsdl/perllib/plugins/NULPlug.pm
r13727 r14117 125 125 $doc_obj->add_utf8_metadata($doc_obj->get_top_section(), "FileSize", (-s $filename)); 126 126 127 # the metadata NoText is used to suppress the dummy text 'This document has no text.' 128 $doc_obj->add_metadata ($doc_obj->get_top_section(), "NoText", "1"); 129 127 130 my $assoc_field = $self->{'assoc_field'} || "null_file"; 128 131 $doc_obj->add_metadata ($doc_obj->get_top_section(), $assoc_field, $file); -
trunk/gsdl/perllib/plugins/OggVorbisPlug.pm
r13543 r14117 153 153 $doc_obj->add_metadata ($section, "srcicon", "<img src=\"_httpprefix_/images/iogg.gif\" title=\"Download\" border=0>"); 154 154 155 # add NoText metadata which can be used to suppress the dummy text 156 $doc_obj->add_metadata ($section, "NoText", "1"); 157 155 158 # Add the actual file as an associated file 156 159 $doc_obj->associate_file($filename, $file, "VORBIS", $section); -
trunk/gsdl/perllib/plugins/PagedImgPlug.pm
r13544 r14117 849 849 $doc_obj->add_metadata ($topsection, "Source", $file); 850 850 851 # add NoText metadata which can be used to suppress the dummy text 852 $doc_obj->add_metadata ($topsection, "NoText", "1"); 853 851 854 open (ITEMFILE, $filename) || die "couldn't open $filename\n"; 852 855 my $line = ""; … … 870 873 # the page number becomes the Title 871 874 $doc_obj->set_utf8_metadata_element($cursection, 'Title', $pagenum); 875 # add NoText metadata which can be used to suppress the dummy text 876 $doc_obj->add_utf3_metadata_element ($cursection, "NoText", "1"); 877 872 878 # process the image for this page if there is one 873 879 if (defined $imgname && $imgname ne "") { -
trunk/gsdl/perllib/plugins/UnknownPlug.pm
r13544 r14117 157 157 $doc_obj->add_metadata ($section, "/srclink", "</a>"); 158 158 159 # add NoText metadata which can be used to suppress the dummy text 160 $doc_obj->add_metadata ($section, "NoText", "1"); 161 159 162 return 1; 160 163 }
Note:
See TracChangeset
for help on using the changeset viewer.