Changeset 15179

Show
Ignore:
Timestamp:
10.04.2008 09:09:17 (11 years ago)
Author:
kjdon
Message:

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

Files:
1 modified

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);