Changeset 17026 for gsdl/trunk/perllib/plugins/ReadXMLFile.pm
- Timestamp:
- 2008-08-27T20:40:20+12:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/perllib/plugins/ReadXMLFile.pm
r16822 r17026 199 199 } 200 200 201 202 # we need to implement read cos we are not just using process_exp to determine203 # whether to process this or not.204 201 sub read { 205 202 my $self = shift (@_); … … 363 360 # create a new document 364 361 $self->{'doc_obj'} = new doc ($self->{'filename'}, "indexed_doc"); 365 $self->{'doc_obj'}->set_OIDtype ($self->{'processor'}->{'OIDtype'}, $self->{'processor'}->{'OIDmetadata'});366 362 $self->{'doc_obj'}->add_utf8_metadata($self->{'doc_obj'}->get_top_section(), "Plugin", "$self->{'plugin_type'}"); 367 363 … … 385 381 386 382 # add an OID 387 $self->add_OID( );383 $self->add_OID($doc_obj); 388 384 389 385 $doc_obj->add_utf8_metadata($doc_obj->get_top_section(), "Plugin", "$self->{'plugin_type'}");
Note:
See TracChangeset
for help on using the changeset viewer.