Skip to content

Commit

Permalink
Don't try to fill f76[ab] from f01_, point to it instead (RPB-58)
Browse files Browse the repository at this point in the history
Like all independent works, volumes require f76[ab]; often not set
  • Loading branch information
fsteeg committed Aug 22, 2023
1 parent 2b16d02 commit 92e1952
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 24 deletions.
4 changes: 0 additions & 4 deletions app/rpb/Decode.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,6 @@ private void processFields(final String[] vals) {
getReceiver().literal(fieldName("#20ü"), recordTitle);
String volumeTitle = recordTitle + " : " + v;
getReceiver().literal(fieldName("#20 "), volumeTitle);
String issuedDate = v;
getReceiver().literal(fieldName("#76a"), issuedDate);
String issuedYear = v.replaceAll(".*?(\\d{4}).*", "$1");
getReceiver().literal(fieldName("#76b"), issuedYear);
}
getReceiver().literal(fieldName(k), v);
}
Expand Down
20 changes: 10 additions & 10 deletions conf/output/test-output-strapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,20 @@
{"f00_":"107t982370","f20_":"\"¬Der¬ Holocaust ist immer da\": Kooperationsprojekt Offener Kanal Ludwigshafen, Vorderpfalz und Community Television, Israel","f30_":"_sn632050_","f30a":"_sn882060_","f31_":"_r99_ _o31400000_","f31a":"_r99_ _o31400000_","f32_":"_4036472n0_ ; _4172489n6_ ; _4073091n8_","f35_":"_r99_ _o31400000_ ; _sn632050_","f35a":"_r99_ _o31400000_ ; _sn882060_","f36_":"u","f37_":"_sn632050_ ; _r99_ _o31400000_","f37a":"_sn882060_ ; _r99_ _o31400000_","f40_":"_106837800X_","f70_":"Handbuch Medien: Offene Kanäle / Bundeszentrale für Politische Bildung. Hrsg.: Ulrich Kamp. - Bonn, 1997. - ISBN 3-89331-303-6. - S. 102-106","f76a":"1997","f76b":"1997","f87_":"3-89331-303-6","f90b":"3a 5094","f95_":"19990702/13:46:41\u001FSP","f96_":"20060111/13:16:43\u001FSP","f30":[{"f30_":"_sn632050_"},{"f30_":"_sn882060_"}],"f31":[{"f31_":"_r99_ _o31400000_"},{"f31_":"_r99_ _o31400000_"}],"f32":[{"f32_":"_4036472n0_ ; _4172489n6_ ; _4073091n8_"}],"f70":[{"f70_":"Handbuch Medien: Offene Kanäle / Bundeszentrale für Politische Bildung. Hrsg.: Ulrich Kamp. - Bonn, 1997. - ISBN 3-89331-303-6. - S. 102-106"}],"f70s":"Aus f70_: S. 102-106","f40":[{"f40_":"_106837800X_","n40a":"Verfasser"}]}
{"f00_":"107t982371","f20_":"Ältere Menschen machen Fernsehen : aktivierende Medienarbeit in Offenen Kanälen","f30_":"_sn786000_","f30a":"_sn882060_","f31_":"_r99_ _o31400000_","f31a":"_r99_ _o31400000_","f32_":"_4036472n0_ ; _4136151n9_ ; _z64_","f32a":"_4036472n0_ ; _4172489n6_ ; _z64_","f32b":"_4036472n0_ ; _4001446n0_ ; _z64_","f35_":"_r99_ _o31400000_ ; _sn786000_","f35a":"_r99_ _o31400000_ ; _sn882060_","f36_":"u","f37_":"_sn786000_ ; _r99_ _o31400000_","f37a":"_sn882060_ ; _r99_ _o31400000_","f40_":"_00Pn02s0022a_","f70_":"Handbuch Medien: Offene Kanäle / Bundeszentrale für Politische Bildung. Hrsg.: Ulrich Kamp. - Bonn, 1997. - ISBN 3-89331-303-6. - S. 119-123","f76a":"1997","f76b":"1997","f81_":"Videoprojekt zwischen Volkshochschule u. Offener Kanal","f87_":"3-89331-303-6","f90b":"3a 5094","f95_":"19991008/16:58:26\u001FSP","f96_":"19991008/16:58:26\u001FSP","f30":[{"f30_":"_sn786000_"},{"f30_":"_sn882060_"}],"f31":[{"f31_":"_r99_ _o31400000_"},{"f31_":"_r99_ _o31400000_"}],"f32":[{"f32_":"_4036472n0_ ; _4136151n9_ ; _z64_"},{"f32_":"_4036472n0_ ; _4172489n6_ ; _z64_"},{"f32_":"_4036472n0_ ; _4001446n0_ ; _z64_"}],"f70":[{"f70_":"Handbuch Medien: Offene Kanäle / Bundeszentrale für Politische Bildung. Hrsg.: Ulrich Kamp. - Bonn, 1997. - ISBN 3-89331-303-6. - S. 119-123"}],"f70s":"Aus f70_: S. 119-123","f81":[{"f81_":"Videoprojekt zwischen Volkshochschule u. Offener Kanal"}],"f40":[{"f40_":"_00Pn02s0022a_","n40a":"Verfasser"}]}
{"f00_":"107t982372","f20_":"Zur politischen Tragweite schulischer Medienarbeit : was \"lernen\" Gymnasiasten, wenn sie \"im Auftrag\" eines Berufsinformationszentrums Live-Sendungen für Schüler anderer Schularten produzieren?","f30_":"_sn784080_","f30a":"_sn882060_","f31_":"_r99_ _o31400000_","f31a":"_r99_ _o31400000_","f32_":"_4036472n0_ ; _4172489n6_","f32a":"_107n220353_","f35_":"_r99_ _o31400000_ ; _sn784080_","f35a":"_r99_ _o31400000_ ; _sn882060_","f36_":"u","f37_":"_sn784080_ ; _r99_ _o31400000_","f37a":"_sn882060_ ; _r99_ _o31400000_","f39_":"Karl-Ludwig Kemen ; Gerhard Laubscher","f40_":"_00Pn98s2372a_","f401":"_00Pn98s2372b_","f70_":"Handbuch Medien: Offene Kanäle / Bundeszentrale für Politische Bildung. Hrsg.: Ulrich Kamp. - Bonn, 1997. - ISBN 3-89331-303-6. - S. 124-144","f76a":"1997","f76b":"1997","f77_":"Graph. Darst.","f81_":"Medien-AG d. Wilhelm-von-Humboldt-Gymnasiums","f87_":"3-89331-303-6","f90b":"3a 5094","f95_":"19990702/14:55:39\u001FSP","f96_":"20220826/12:03:41\u001FSP","f30":[{"f30_":"_sn784080_"},{"f30_":"_sn882060_"}],"f31":[{"f31_":"_r99_ _o31400000_"},{"f31_":"_r99_ _o31400000_"}],"f32":[{"f32_":"_4036472n0_ ; _4172489n6_"},{"f32_":"_107n220353_"}],"f70":[{"f70_":"Handbuch Medien: Offene Kanäle / Bundeszentrale für Politische Bildung. Hrsg.: Ulrich Kamp. - Bonn, 1997. - ISBN 3-89331-303-6. - S. 124-144"}],"f70s":"Aus f70_: S. 124-144","f81":[{"f81_":"Medien-AG d. Wilhelm-von-Humboldt-Gymnasiums"}],"f40":[{"f40_":"_00Pn98s2372a_","n40a":"Verfasser"},{"f40_":"_00Pn98s2372b_","n40a":"Verfasser"}]}
{"f00_":"107t982373b1","f20ü":"SWR-3-Clubmagazin","f20_":"SWR-3-Clubmagazin : 1998,1(Sept.) -","f76a":"1998,1(Sept.) -","f76b":"1998","f01_":"1998,1(Sept.) -","f36_":"sbd","f90b":"Per. 15621/1998-"}
{"f00_":"107t982374b1","f20ü":"On : SWF 3, das Magazin","f20_":"On : SWF 3, das Magazin : 1992 - 1998,2","f76a":"1992 - 1998,2","f76b":"1992","f01_":"1992 - 1998,2","f36_":"sbd","f81_":"Damit Erscheinen eingest. - Forts. u.d.T.: SWR-3-Clubmagazin","f90b":"Per. 14726/1995-1998,2","f81":[{"f81_":"Damit Erscheinen eingest. - Forts. u.d.T.: SWR-3-Clubmagazin"}]}
{"f00_":"107t982375b1","f20ü":"¬Die¬ Zeitschrift : der Südwestrundfunk und seine Programme. Rheinland-Pfalz","f20_":"¬Die¬ Zeitschrift : der Südwestrundfunk und seine Programme. Rheinland-Pfalz : 1998,1(Sept.) - 2001,9(Sept.)","f76a":"1998,1(Sept.) - 2001,9(Sept.)","f76b":"1998","f01_":"1998,1(Sept.) - 2001,9(Sept.)","f36_":"sbd","f81_":"Forts. u.d.T.: Doppelpfeil","f90b":"Per. 15620/1998,1-2001,9","f81":[{"f81_":"Forts. u.d.T.: Doppelpfeil"}]}
{"f00_":"107t982376b1","f20ü":"Flieg und flatter : Aktuelles aus der Vogelschutzwarte","f20_":"Flieg und flatter : Aktuelles aus der Vogelschutzwarte : Ausg. 1.1997(Dez.) -","f76a":"Ausg. 1.1997(Dez.) -","f76b":"1997","f01_":"Ausg. 1.1997(Dez.) -","f36_":"sbd","f90b":"Per. 15655/1.1997-"}
{"f00_":"107t982377b1","f20ü":"¬Der¬ Rasenspieler : das Journal zur Saison ...","f20_":"¬Der¬ Rasenspieler : das Journal zur Saison ... : Nachgewiesen 1998/99(1998) - 2000/01; 2001/02 - 2002/03","f76a":"Nachgewiesen 1998/99(1998) - 2000/01; 2001/02 - 2002/03","f76b":"1998","f01_":"Nachgewiesen 1998/99(1998) - 2000/01; 2001/02 - 2002/03","f36_":"sbd","f81_":"Damit Erscheinen eingest.","f90b":"Per. 15748/1998/99-2000/01;Per. 17032/2001/02-2002/03","f81":[{"f81_":"Damit Erscheinen eingest."}]}
{"f00_":"107t982378b1","f20ü":"¬'s¬ Derfsche : Ebertsheim-Rodenbach, das Dorf im Grünen","f20_":"¬'s¬ Derfsche : Ebertsheim-Rodenbach, das Dorf im Grünen : 1998,Apr.","f76a":"1998,Apr.","f76b":"1998","f01_":"1998,Apr.","f36_":"sbd","f81_":"Mit dieser Ausg. Erscheinen eingest.","f90b":"Per. 15740/1998","f81":[{"f81_":"Mit dieser Ausg. Erscheinen eingest."}]}
{"f00_":"107t982379b1","f20ü":"Wer ist wo","f20_":"Wer ist wo : 1994/95(1995)","f76a":"1994/95(1995)","f76b":"1994","f76b":"1995","f01_":"1994/95(1995)","f36_":"sbd","f81_":"Letzter Jahrgang, damit Erscheinen eingestellt","f90b":"Per. 11060/ 1994/95","f81":[{"f81_":"Letzter Jahrgang, damit Erscheinen eingestellt"}]}
{"f00_":"107t982373b1","f20ü":"SWR-3-Clubmagazin","f20_":"SWR-3-Clubmagazin : 1998,1(Sept.) -","f01_":"1998,1(Sept.) -","f36_":"sbd","f90b":"Per. 15621/1998-","f76a":"s. Zählung in f01_","f76b":"s. Zählung in f01_"}
{"f00_":"107t982374b1","f20ü":"On : SWF 3, das Magazin","f20_":"On : SWF 3, das Magazin : 1992 - 1998,2","f01_":"1992 - 1998,2","f36_":"sbd","f81_":"Damit Erscheinen eingest. - Forts. u.d.T.: SWR-3-Clubmagazin","f90b":"Per. 14726/1995-1998,2","f76a":"s. Zählung in f01_","f76b":"s. Zählung in f01_","f81":[{"f81_":"Damit Erscheinen eingest. - Forts. u.d.T.: SWR-3-Clubmagazin"}]}
{"f00_":"107t982375b1","f20ü":"¬Die¬ Zeitschrift : der Südwestrundfunk und seine Programme. Rheinland-Pfalz","f20_":"¬Die¬ Zeitschrift : der Südwestrundfunk und seine Programme. Rheinland-Pfalz : 1998,1(Sept.) - 2001,9(Sept.)","f01_":"1998,1(Sept.) - 2001,9(Sept.)","f36_":"sbd","f81_":"Forts. u.d.T.: Doppelpfeil","f90b":"Per. 15620/1998,1-2001,9","f76a":"s. Zählung in f01_","f76b":"s. Zählung in f01_","f81":[{"f81_":"Forts. u.d.T.: Doppelpfeil"}]}
{"f00_":"107t982376b1","f20ü":"Flieg und flatter : Aktuelles aus der Vogelschutzwarte","f20_":"Flieg und flatter : Aktuelles aus der Vogelschutzwarte : Ausg. 1.1997(Dez.) -","f01_":"Ausg. 1.1997(Dez.) -","f36_":"sbd","f90b":"Per. 15655/1.1997-","f76a":"s. Zählung in f01_","f76b":"s. Zählung in f01_"}
{"f00_":"107t982377b1","f20ü":"¬Der¬ Rasenspieler : das Journal zur Saison ...","f20_":"¬Der¬ Rasenspieler : das Journal zur Saison ... : Nachgewiesen 1998/99(1998) - 2000/01; 2001/02 - 2002/03","f01_":"Nachgewiesen 1998/99(1998) - 2000/01; 2001/02 - 2002/03","f36_":"sbd","f81_":"Damit Erscheinen eingest.","f90b":"Per. 15748/1998/99-2000/01;Per. 17032/2001/02-2002/03","f76a":"s. Zählung in f01_","f76b":"s. Zählung in f01_","f81":[{"f81_":"Damit Erscheinen eingest."}]}
{"f00_":"107t982378b1","f20ü":"¬'s¬ Derfsche : Ebertsheim-Rodenbach, das Dorf im Grünen","f20_":"¬'s¬ Derfsche : Ebertsheim-Rodenbach, das Dorf im Grünen : 1998,Apr.","f01_":"1998,Apr.","f36_":"sbd","f81_":"Mit dieser Ausg. Erscheinen eingest.","f90b":"Per. 15740/1998","f76a":"s. Zählung in f01_","f76b":"s. Zählung in f01_","f81":[{"f81_":"Mit dieser Ausg. Erscheinen eingest."}]}
{"f00_":"107t982379b1","f20ü":"Wer ist wo","f20_":"Wer ist wo : 1994/95(1995)","f01_":"1994/95(1995)","f36_":"sbd","f76b":"1995","f81_":"Letzter Jahrgang, damit Erscheinen eingestellt","f90b":"Per. 11060/ 1994/95","f76a":"s. Zählung in f01_","f81":[{"f81_":"Letzter Jahrgang, damit Erscheinen eingestellt"}]}
{"f00_":"929t112192","f20_":"Aus der Vereinsgeschichte der KKG \"Kowelenzer Schängelcher\" 1922 e.V.","f30_":"_sn704043_","f31_":"_r99_ _o11100000_","f32_":"_5114232n6_ ; _00Sn11k2192145a_","f35_":"_r99_ _o11100000_ ; _sn704043_","f36_":"u","f37_":"_sn704043_ ; _r99_ _o11100000_","f70j":"2011","f70k":"KKG Rot-Weiss-Gruen Kowelenzer Schaengelcher","f70s":"23-33","f70t":"Sessionsheft","f70y":"KKG Rot-Weiss-Gruen Kowelenzer Schaengelcher: Sessionsheft. - 2011, S. 23-33","f76a":"2011","f76b":"2011","f77_":"Ill.","f88_":"2253285-7","f90d":"Z 2287:2011","f95_":"20110531/16:02:12\u001FKO","f96_":"20110531/16:02:12\u001FKO","f30":[{"f30_":"_sn704043_"}],"f31":[{"f31_":"_r99_ _o11100000_"}],"f32":[{"f32_":"_5114232n6_ ; _00Sn11k2192145a_"}],"f70":[{"f70_":"s. spez. Felder f70b ff."}]}
{"f00_":"929t112193b1","f20ü":"Aktuell : das Krankenhaus in Ihrer Region","f20_":"Aktuell : das Krankenhaus in Ihrer Region : Nachgewiesen 2010 - 2012,1","f76a":"Nachgewiesen 2010 - 2012,1","f76b":"2010","f01_":"Nachgewiesen 2010 - 2012,1","f36_":"sbd","f81_":"Nachfolger: Kaleidoskop. 2012 -","f81":[{"f81_":"Nachfolger: Kaleidoskop. 2012 -"}]}
{"f00_":"929t112194b1","f20ü":"Clubzeitung","f20_":"Clubzeitung : Nachgewiesen 2006,2 -","f76a":"Nachgewiesen 2006,2 -","f76b":"2006","f01_":"Nachgewiesen 2006,2 -","f36_":"sbd"}
{"f00_":"929t112193b1","f20ü":"Aktuell : das Krankenhaus in Ihrer Region","f20_":"Aktuell : das Krankenhaus in Ihrer Region : Nachgewiesen 2010 - 2012,1","f01_":"Nachgewiesen 2010 - 2012,1","f36_":"sbd","f81_":"Nachfolger: Kaleidoskop. 2012 -","f76a":"s. Zählung in f01_","f76b":"s. Zählung in f01_","f81":[{"f81_":"Nachfolger: Kaleidoskop. 2012 -"}]}
{"f00_":"929t112194b1","f20ü":"Clubzeitung","f20_":"Clubzeitung : Nachgewiesen 2006,2 -","f01_":"Nachgewiesen 2006,2 -","f36_":"sbd","f76a":"s. Zählung in f01_","f76b":"s. Zählung in f01_"}
{"f00_":"929t112195","f20_":"¬Der¬ BAP kam aus Unkel","f30_":"_sn824000_","f31_":"_r99_ _o13807073_","f32_":"_4061836n5_ ; _118942247_ ; _4006804n3_","f35_":"_r99_ _o13807073_ ; _sn824000_","f36_":"u","f37_":"_sn824000_ ; _r99_ _o13807073_","f40_":"_00Pn08k0685884a_","f70_":"¬Der¬ Rheinländer : das Heimatmagazin. - 4 (2011), Juni = H. 34, S. 16-18","f76a":"2011","f76b":"2011","f77_":"Ill.","f88_":"2515501-5","f90d":"ZA 5649:2011 MAG","f95_":"20110601/08:50:59\u001FKO","f96_":"20110603/08:31:46\u001FKO","f30":[{"f30_":"_sn824000_"}],"f31":[{"f31_":"_r99_ _o13807073_"}],"f32":[{"f32_":"_4061836n5_ ; _118942247_ ; _4006804n3_"}],"f70":[{"f70_":"¬Der¬ Rheinländer : das Heimatmagazin. - 4 (2011), Juni = H. 34, S. 16-18"}],"f70s":"Aus f70_: S. 16-18","f40":[{"f40_":"_00Pn08k0685884a_","n40a":"Verfasser"}]}
{"f00_":"929t112196","f20_":"Coming home mit Commende","f30_":"_sn844200_","f30a":"_sn844000_","f31_":"_r99_ _o13809076_","f31a":"_r99_ _o13809076_","f32_":"_929n090287_ ; _4011457n0_ ; _00Sn09k1362487a_ ; _4454409n1_ ; _00Sn09m0508511a_","f35_":"_r99_ _o13809076_ ; _sn844200_","f35a":"_r99_ _o13809076_ ; _sn844000_","f36_":"u","f37_":"_sn844200_ ; _r99_ _o13809076_","f37a":"_sn844000_ ; _r99_ _o13809076_","f40_":"_00Pn08k0685884a_","f70_":"¬Der¬ Rheinländer : das Heimatmagazin. - 4 (2011), Juni = H. 34, S. 26-27","f76a":"2011","f76b":"2011","f77_":"Ill.","f88_":"2515501-5","f90d":"ZA 5649:2011 MAG","f95_":"20110601/08:57:45\u001FKO","f96_":"20110603/08:31:32\u001FKO","f30":[{"f30_":"_sn844200_"},{"f30_":"_sn844000_"}],"f31":[{"f31_":"_r99_ _o13809076_"},{"f31_":"_r99_ _o13809076_"}],"f32":[{"f32_":"_929n090287_ ; _4011457n0_ ; _00Sn09k1362487a_ ; _4454409n1_ ; _00Sn09m0508511a_"}],"f70":[{"f70_":"¬Der¬ Rheinländer : das Heimatmagazin. - 4 (2011), Juni = H. 34, S. 26-27"}],"f70s":"Aus f70_: S. 26-27","f40":[{"f40_":"_00Pn08k0685884a_","n40a":"Verfasser"}]}
{"f00_":"929t112197","f20_":"Seit 1911 weht im Vinzenzhaus der Geist der Nächstenliebe : 100-Jahr-Feier in Gebhardshain ; vom Konvent zum Seniorenheim","f30_":"_sn611070_","f31_":"_r99_ _o13209039_","f32_":"_16326855n1_ ; _00Sn10s3817103a_","f35_":"_r99_ _o13209039_ ; _sn611070_","f36_":"u","f37_":"_sn611070_ ; _r99_ _o13209039_","f40_":"_929n991002_","f70b":"66","f70h":"126 vom 31.05.","f70j":"2011","f70s":"24","f70t":"Rhein-Zeitung, Ausg. H","f70y":"Rhein-Zeitung, Ausg. H. - 66 (2011), 126 vom 31.05., S. 24","f76a":"2011","f76b":"2011","f77_":"Ill.","f88_":"2522761-0","f90d":"ZB 151:2011;MZ 52:2011","f95_":"20110601/09:14:31\u001FKO","f96_":"20120809/16:13:40\u001FZR","f30":[{"f30_":"_sn611070_"}],"f31":[{"f31_":"_r99_ _o13209039_"}],"f32":[{"f32_":"_16326855n1_ ; _00Sn10s3817103a_"}],"f70":[{"f70_":"s. spez. Felder f70b ff."}],"f40":[{"f40_":"_929n991002_","n40a":"Verfasser"}]}
{"f00_":"929t111801b1","f20ü":"Rhein-Zeitung : unabhängige Tageszeitung","f20_":"Rhein-Zeitung : unabhängige Tageszeitung : 66.2011,77(1.Apr.) -","f76a":"66.2011,77(1.Apr.) -","f76b":"2011","f01_":"66.2011,77(1.Apr.) -","f36_":"sbd"}
{"f00_":"929t111801b1","f20ü":"Rhein-Zeitung : unabhängige Tageszeitung","f20_":"Rhein-Zeitung : unabhängige Tageszeitung : 66.2011,77(1.Apr.) -","f01_":"66.2011,77(1.Apr.) -","f36_":"sbd","f76a":"s. Zählung in f01_","f76b":"s. Zählung in f01_"}
{"f00_":"929t084656","f20_":"Weinteufel [Elektronische Ressource]","f30_":"_sn802040_","f31_":"_r28_","f32_":"_4084812n7_ ; _4031952n0_ ; _4585131n1_","f35_":"_r28_ ; _sn802040_","f36_":"s","f37_":"_sn802040_ ; _r28_","f39_":"nach der Operette von Michael Thelen, Text. Musik Hans Wolf. Regie u. Bearb.: Gisbert Stenz","f57_":"_00Pn08k4656727a_","f571":"_00Pn95s0673b_","f74_":"[Ahrweiler]","f75_":"Ahrtal-Video Faupel","f76a":"2006","f76b":"2006","f90d":"T 2539","f95_":"20081111/10:40:14\u001FHBZ","f96_":"20081111/10:41:33\u001FKO","f30":[{"f30_":"_sn802040_"}],"f31":[{"f31_":"_r28_"}],"f32":[{"f32_":"_4084812n7_ ; _4031952n0_ ; _4585131n1_"}],"f40":[{"f40_":"_00Pn08k4656727a_","n40a":"Sonstige"},{"f40_":"_00Pn95s0673b_","n40a":"Sonstige"}]}
{"f00_":"929t084657","f20_":"Fit zur WM 2006 [Elektronische Ressource]","f30_":"_sn784041_","f31_":"_r99_ _o13807019_","f32_":"_4839067n7_ ; _4510321n5_ ; _4585131n1_","f35_":"_r99_ _o13807019_ ; _sn784041_","f36_":"s","f37_":"_sn784041_ ; _r99_ _o13807019_","f39_":"Grundschule St. Johannes","f61_":"_10120647n1_","f74_":"Erpel","f76a":"2006","f76b":"2006","f90d":"T 2478","f95_":"20081111/10:42:38\u001FHBZ","f96_":"20081111/10:43:28\u001FKO","f30":[{"f30_":"_sn784041_"}],"f31":[{"f31_":"_r99_ _o13807019_"}],"f32":[{"f32_":"_4839067n7_ ; _4510321n5_ ; _4585131n1_"}],"f60":[{"f60_":"_10120647n1_","n60a":"NE hrsg. Körperschaft"}]}
{"f00_":"929t084658","f20_":"Ausstellung \"Auf den Spuren Mozarts\" [Elektronische Ressource]","f27_":"Auf den Spuren Mozarts","f30_":"_sn841060_","f31_":"_r99_ _o13809076_","f32_":"_136595545_ ; _118584596_ ; _4049275n8_ ; _4037220n0_ ; _4129601n1_ ; _00Sn08k4658445b_ ; _4139307n7_","f32a":"_136596061_ ; _118584596_ ; _4049275n8_ ; _4037220n0_ ; _4129601n1_ ; _00Sn08k4658445b_ ; _4139307n7_","f35_":"_r99_ _o13809076_ ; _sn841060_","f36_":"s","f37_":"_sn841060_ ; _r99_ _o13809076_","f57_":"_136595545_","f74_":"Waldbreitbach","f76a":"2007","f76b":"2007","f83_":"Kussmaul, Heiner / 1943-","f83a":"Kussmaul, Yvonne / 1972-","f90d":"T 2946","f95_":"20081111/10:44:31\u001FHBZ","f96_":"20081111/10:46:35\u001FKO","f27":[{"f27_":"Auf den Spuren Mozarts"}],"f30":[{"f30_":"_sn841060_"}],"f31":[{"f31_":"_r99_ _o13809076_"}],"f32":[{"f32_":"_136595545_ ; _118584596_ ; _4049275n8_ ; _4037220n0_ ; _4129601n1_ ; _00Sn08k4658445b_ ; _4139307n7_"},{"f32_":"_136596061_ ; _118584596_ ; _4049275n8_ ; _4037220n0_ ; _4129601n1_ ; _00Sn08k4658445b_ ; _4139307n7_"}],"f40":[{"f40_":"_136595545_","n40a":"Sonstige"}]}
Expand Down
12 changes: 12 additions & 0 deletions conf/rpb-titel-to-strapi.fix
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ do put_macro("add_url")
end
end

do put_macro("ref_f01_unless_exists")
unless exists("$[field]")
add_field("$[field]", "s. Zählung in f01_")
end
end

call_macro("add_all", to: "24", from: "24?") # Paralleltitel
call_macro("add_all", to: "27", from: "27?") # Abweichende Titel

Expand All @@ -47,6 +53,12 @@ call_macro("add_all", to: "32", from: "32?") # Schlagwortkette

call_macro("add_all", to: "70", from: "70[_123456789]") # Quelle

# 76a und 76b sind Pflicht, bei Bänden aber oft nur f01_ (Zählung) vorhanden:
if all_equal("f36_", "sbd")
call_macro("ref_f01_unless_exists", field: "f76a")
call_macro("ref_f01_unless_exists", field: "f76b")
end

# 70 ist Pflicht für Aufsätze, ist aber häufig nicht gesetzt, nur spezifische Einzelfelder:
if all_equal("f36_", "u")
unless exists("f70[].1")
Expand Down
Loading

0 comments on commit 92e1952

Please sign in to comment.