Changeset 8170
- Timestamp:
- 2004-09-28T16:40:19+12:00 (20 years ago)
- Location:
- trunk/gsdl/perllib/plugins
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/plugins/ConvertToPlug.pm
r8166 r8170 380 380 381 381 my $file_format = $file_type || "unknown"; 382 383 $doc_obj->add_metadata($cursection, "FileFormat", $file_format); 382 383 # We use set instead of add here because we only want one value 384 $doc_obj->set_utf8_metadata_element($cursection, "FileFormat", $file_format); 384 385 385 386 my $doclink = "<a href=\"_httpcollection_/index/assoc/[archivedir]/doc.$doc_ext\">"; -
trunk/gsdl/perllib/plugins/PDFPlug.pm
r8139 r8170 213 213 $doc_obj->add_utf8_metadata($cursection, "Date", "$1$2$3"); 214 214 } 215 216 # Add FileFormat metadata217 $doc_obj->add_metadata($cursection, "FileFormat", "PDF");218 215 219 216 # Add NumPages metadata (we have "<a name=1>" etc for each page)
Note:
See TracChangeset
for help on using the changeset viewer.