Changeset 8171


Ignore:
Timestamp:
2004-09-28T16:48:54+12:00 (20 years ago)
Author:
mdewsnip
Message:

FileFormat metadata for PostScript files should now be set correctly.

Location:
trunk/gsdl/perllib/plugins
Files:
2 edited

Legend:

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

    r8170 r8171  
    377377    } elsif ($doc_ext eq "rtf") {
    378378    $file_type = "RTF";
     379    } elsif ($doc_ext eq "ps") {
     380    $file_type = "PS";
    379381    }
    380382
  • trunk/gsdl/perllib/plugins/PSPlug.pm

    r8121 r8171  
    176176   
    177177    &extract_metadata_from_postscript($self,"$path/$file", $doc);
    178     #$doc->add_utf8_metadata($doc->get_top_section(), "PSPlug", 1);
    179 
    180     #Add FileFormat metadata
    181     $doc->add_metadata($doc->get_top_section(), "FileFormat", "PS");
    182 
    183178
    184179    return ConvertToPlug::process_type($self,"ps",@_);
Note: See TracChangeset for help on using the changeset viewer.