Ignore:
Timestamp:
2004-09-28T13:42:16+12:00 (20 years ago)
Author:
mdewsnip
Message:

Added FileSize metadata in most plugins.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/plugins/ConvertToPlug.pm

    r8121 r8166  
    313313    }
    314314    $doc_obj->add_utf8_metadata($doc_obj->get_top_section(), "Plugin", "$self->{'plugin_type'}");
     315    $doc_obj->add_utf8_metadata($doc_obj->get_top_section(), "FileSize", (-s $filename));
     316
    315317    # include any metadata passed in from previous plugins
    316318    # note that this metadata is associated with the top level section
Note: See TracChangeset for help on using the changeset viewer.