Ignore:
Timestamp:
2001-11-05T16:29:23+13:00 (23 years ago)
Author:
sjboddie
Message:

Added cover_image option to BasPlug for associating a jpeg image as a
cover image (like the old HBPlug used to do).

File:
1 edited

Legend:

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

    r2811 r2816  
    272272    my ($filemeta) = $file =~ /([^\\\/]+)$/;
    273273    $doc_obj->add_utf8_metadata($doc_obj->get_top_section(), "Source", &ghtml::dmsafe($filemeta));
     274    if ($self->{'cover_image'}) {
     275    $self->associate_cover_image($doc_obj, $filename);
     276    }
    274277
    275278    # include any metadata passed in from previous plugins
Note: See TracChangeset for help on using the changeset viewer.