Ignore:
Timestamp:
2006-07-20T16:02:07+12:00 (18 years ago)
Author:
kjdon
Message:

set_OIDtype now takes two arguments, the type and the metadata (used if type=assigned)

File:
1 edited

Legend:

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

    r12169 r12270  
    191191    # create a new document
    192192    my $doc_obj = new doc ($filename, "indexed_doc");
    193     $doc_obj->set_OIDtype ($processor->{'OIDtype'});   
     193    $doc_obj->set_OIDtype ($processor->{'OIDtype'}, $processor->{'OIDmetadata'});   
    194194    $doc_obj->add_utf8_metadata($doc_obj->get_top_section(), "Plugin", "$self->{'plugin_type'}");
    195195    $doc_obj->add_metadata($doc_obj->get_top_section(), "Source", &ghtml::dmsafe($file)); # set the filename as Source metadata to be consistent with other plugins
Note: See TracChangeset for help on using the changeset viewer.