Changeset 8350


Ignore:
Timestamp:
2004-10-18T10:15:17+13:00 (20 years ago)
Author:
kjdon
Message:

assign the fall back title after processing any other metadata, so that this is not added if we already have Title metadata

File:
1 edited

Legend:

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

    r8166 r8350  
    191191    $doc_obj->add_metadata ($section, "Source", $url);
    192192
    193     $self->title_fallback($doc_obj,$section,$file);
    194 
    195193    my ($image_type, $image_width, $image_height, $image_size)
    196194    = &identify($filename, $outhandle, $verbosity);
     
    406404    $self->auto_extract_metadata ($doc_obj);
    407405
     406    # if we haven't found any Title so far, assign one
     407    # this was shifted to here from inside read()
     408    $self->title_fallback($doc_obj,$section,$file);
    408409    # add an OID
    409410    $doc_obj->set_OID();
Note: See TracChangeset for help on using the changeset viewer.