Changeset 15179


Ignore:
Timestamp:
2008-04-10T09:09:17+12:00 (16 years ago)
Author:
kjdon
Message:

needed to add extra_metadata() call in close_document so that can get metadata from metadata.xml files

File:
1 edited

Legend:

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

    r13357 r15179  
    258258    $doc_obj->set_utf8_metadata_element("", "FileSize", (-s $filename));
    259259     
     260    # include any metadata passed in from previous plugins
     261    # note that this metadata is associated with the top level section
     262    $self->extra_metadata ($doc_obj,
     263               $doc_obj->get_top_section(),
     264               $self->{'metadata'});
     265   
    260266    # add a Title if none has been found yet
    261267    $self->title_fallback($doc_obj,"",$file_only);
Note: See TracChangeset for help on using the changeset viewer.