Changeset 16697 for gsdl/trunk/perllib/plugins/MARCXMLPlugin.pm
- Timestamp:
- 2008-08-11T14:04:23+12:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/perllib/plugins/MARCXMLPlugin.pm
r16695 r16697 111 111 my $msg = "MARCXMLPlugin ERROR: Can't locate mapping file \"" . 112 112 $self->{'metadata_mapping_file'} . "\".\n " . 113 " No m arc files can be processed.\n";113 " No metadata will be extracted from MARCXML files.\n"; 114 114 115 115 print $outhandle $msg; … … 206 206 207 207 my $outhandle = $self->{'outhandle'}; 208 print $outhandle "Record $self->{'record_count'} - MARCXMLPlugin: processing $self->{'file'}\n" if $self->{'verbosity'} > 1;208 print $outhandle "Record $self->{'record_count'}\n" if $self->{'verbosity'} > 1; 209 209 210 210 $self->{'record_count'}++; … … 322 322 323 323 ## map the xmlmarc to gsdl metadata 324 if ($element eq "datafield" and defined $self->{'doc_obj'} and defined $self->{'marc_mapping'} ){324 if ($element eq "datafield" and defined $self->{'doc_obj'} and defined $self->{'marc_mapping'} and defined $self->{'metadata_mapping'}){ 325 325 my $metadata_mapping = $self->{'metadata_mapping'}; 326 326 my $marc_mapping = $self->{'marc_mapping'};
Note:
See TracChangeset
for help on using the changeset viewer.