Changeset 20319
- Timestamp:
- 2009-08-18T16:38:36+12:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/bin/script/export.pl
r20098 r20319 491 491 if ($saveas eq "DSpace"){ 492 492 $expinfo_doc_filename = &util::filename_cat ($exportdir, "contents"); 493 } elsif ($saveas =~ m/^.*METS$/ || $saveas eq "MARC " ) {493 } elsif ($saveas =~ m/^.*METS$/ || $saveas eq "MARCXML" ) { 494 494 ## $expinfo_doc_filename = &util::filename_cat ($exportdir, "export.inf"); 495 495 my $doc_db = "archiveinf-doc"; … … 523 523 push @$plugout,("-gzip_output",$gzip) if (defined $gzip); 524 524 push @$plugout,("-output_handle",$out) if (defined $out); 525 push @$plugout,("-xslt_file",$xsltfile) if (defined $xsltfile );525 push @$plugout,("-xslt_file",$xsltfile) if (defined $xsltfile && $xsltfile ne ""); 526 526 push @$plugout,("-group") if ($group_marc && $plugout_name =~ m/^MARCXMLPlugout$/); 527 push @$plugout,("-mapping_file",$mapping_file) if (defined $mapping_file && $ plugout_name =~ m/^MARCXMLPlugout$/);528 push @$plugout,("-xslt_mets",$xslt_mets) if (defined $xslt_mets && $ plugout_name =~ m/^.*METSPlugout$/);529 push @$plugout,("-xslt_txt",$xslt_txt) if (defined $xslt_txt && $ plugout_name =~ m/^.*METSPlugout$/);530 push @$plugout,("-fedora_namespace",$fedora_namespace) if (defined $fedora_namespace && $ plugout_name eq "FedoraMETSPlugout");527 push @$plugout,("-mapping_file",$mapping_file) if (defined $mapping_file && $mapping_file ne "" && $plugout_name =~ m/^MARCXMLPlugout$/); 528 push @$plugout,("-xslt_mets",$xslt_mets) if (defined $xslt_mets && $xslt_mets ne "" && $plugout_name =~ m/^.*METSPlugout$/); 529 push @$plugout,("-xslt_txt",$xslt_txt) if (defined $xslt_txt && $xslt_txt ne "" && $plugout_name =~ m/^.*METSPlugout$/); 530 push @$plugout,("-fedora_namespace",$fedora_namespace) if (defined $fedora_namespace && $fedora_namespace ne "" && $plugout_name eq "FedoraMETSPlugout"); 531 531 532 532 $processor = &plugout::load_plugout($plugout); … … 579 579 $processor->close_group_output() if $processor->is_group(); 580 580 581 if (($saveas =~ m/^.*METS$/) || ($saveas eq "MARC ")) {581 if (($saveas =~ m/^.*METS$/) || ($saveas eq "MARCXML")) { 582 582 # Not all export types need this (e.g. DSpace) 583 583 $export_info->save_info($expinfo_doc_filename);
Note:
See TracChangeset
for help on using the changeset viewer.