Changeset 22879

Show
Ignore:
Timestamp:
08.09.2010 12:56:19 (9 years ago)
Author:
kjdon
Message:

now have an html_multi option to convert_to (for PowerPointPlugin?)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/plugins/ConvertBinaryFile.pm

    r22874 r22879  
    158158    } 
    159159 
    160     if ($convert_to eq "html") { 
     160    if ($convert_to =~ /^html/) { # may be html or html_multi 
    161161    $self->{'convert_to_plugin'} = "HTMLPlugin"; 
    162162    $self->{'convert_to_ext'} = "html"; 
     
    429429    my ($tailname, $dirname, $suffix) 
    430430    = &File::Basename::fileparse($filename_full_path, "\\.[^\\.]+\$"); 
    431 $doc_obj->set_utf8_metadata_element($doc_obj->get_top_section(), "FilenameRoot", $tailname); 
     431    $doc_obj->set_utf8_metadata_element($doc_obj->get_top_section(), "FilenameRoot", $tailname); 
    432432 
    433433    # do plugin specific processing of doc_obj