Skip to content
Snippets Groups Projects
Commit dcdbf1c2 authored by Jens Steidl's avatar Jens Steidl :baby_chick:
Browse files

- added mapping rules for title information

parent fc5542bb
Branches
Tags
No related merge requests found
...@@ -85,6 +85,15 @@ package SLUB::LZA::SIPBuilderBagIt; ...@@ -85,6 +85,15 @@ package SLUB::LZA::SIPBuilderBagIt;
my $recordschema_swb = 'marcxmlvbos'; my $recordschema_swb = 'marcxmlvbos';
my $recordschema_k10p = 'marcxmlk10os'; my $recordschema_k10p = 'marcxmlk10os';
# MARC21 -> bag-info.txt mapping
# reference: https://www.loc.gov/marc/bibliographic/bd20x24x.html
my $marc21_to_baginfo_mappings = [
{ tag => "245", code => "a", key => "Title" },
{ tag => "245", code => "b", key => "Title" },
{ tag => "245", code => "c", key => "Title" },
{ tag => "246", code => "a", key => "Title" },
{ tag => "246", code => "b", key => "Title" },
];
sub get_marc21_from_catalogue($){ sub get_marc21_from_catalogue($){
if(! defined $_[0]){ croak "ppn not defined!"; } if(! defined $_[0]){ croak "ppn not defined!"; }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment