Skip to content

Commit

Permalink
Copy f76b to f76a, unless f76a exists (RPB-258, RPB-256)
Browse files Browse the repository at this point in the history
  • Loading branch information
fsteeg committed Feb 10, 2025
1 parent b704290 commit 7effc38
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions conf/output/test-output-46.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"title" : "Wer ist wo : 1994/95(1995)",
"note" : [ "Letzter Jahrgang, damit Erscheinen eingestellt" ],
"publication" : [ {
"startDate" : "1995",
"type" : [ "PublicationEvent" ]
} ]
}
2 changes: 1 addition & 1 deletion conf/output/test-output-strapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
{"f35_":"_r99_ _o332070120200_ ; _sn882026_","f36a":"z","f37_":"_sn882026_ ; _r99_ _o332070120200_","f96_":"20120221/13:09:28\u001FSP","f97x":"per","f36t":"MultiVolumeBook","rpbId":"107t982378","hbzId":"HT012715308","title":"'s Derfsche : Ebertsheim-Rodenbach, das Dorf im Grünen","type":"Mehrt. Mono (ÜO)","publicationLocation":"Ebertsheim-Rodenbach","publicationDate":"1998","publicationYear":"1998","created":"19990702/17:18:42\u001FSP","subject":[{"value":"http://purl.org/lobid/rpb#n882026"}],"spatial":[{"value":"https://rpb.lobid.org/spatial#n332070120200"}],"subjectComponentList":[{"subjectComponent":[{"value":"http://rpb.lobid.org/sw/z64"},{"value":"https://d-nb.info/gnd/4067488-5"}]}],"item":[{"value":"Per. 15740","type":"SP"}],"corporateBody":[{"value":"https://d-nb.info/gnd/7832695-3","type":"Herausgebendes Organ"}],"inCollection":"nur RPB"}
{"rpbId":"107t982378b1","numbering":"1998,Apr.","title":"'s Derfsche : Ebertsheim-Rodenbach, das Dorf im Grünen : 1998,Apr.","type":"Band","note":[{"value":"Mit dieser Ausg. Erscheinen eingest."}],"isPartOf":[{"value":"'s Derfsche : Ebertsheim-Rodenbach, das Dorf im Grünen"}],"publicationDate":"s. Zählung in numbering","publicationYear":"s. Zählung in numbering","item":[{"value":"Per. 15740/1998","type":"SP"}],"inCollection":"nur RPB","volumeIn":{"numbering":"1998,Apr.","sortBy":"1998","value":"http://rpb.lobid.org/107t982378"}}
{"f35_":"_r99_ _o31200000_ ; _sn794010_","f37_":"_sn794010_ ; _r99_ _o31200000_","f96_":"20120220/12:45:56\u001FSP","f97x":"per","f36t":"MultiVolumeBook","rpbId":"107t982379","hbzId":"HT003194201","title":"Wer ist wo","type":"Mehrt. Mono (ÜO)","publicationLocation":"Kaiserslautern","publicationDate":"1995","publicationYear":"1995","note":[{"value":"Adressen- u. Personenverz."}],"created":"19990705/09:44:16\u001FSP","subject":[{"value":"http://purl.org/lobid/rpb#n794010"}],"spatial":[{"value":"https://rpb.lobid.org/spatial#n31200000"}],"subjectComponentList":[{"subjectComponent":[{"value":"https://d-nb.info/gnd/10066624-3"},{"value":"http://rpb.lobid.org/sw/z64"},{"value":"https://d-nb.info/gnd/4155569-7"}]}],"responsibilityStatement":"Universität Kaiserslautern","item":[{"value":"Per. 11060","type":"SP"}],"corporateBody":[{"value":"https://d-nb.info/gnd/26332-1","type":"Herausgebendes Organ"}],"inCollection":"nur RPB"}
{"rpbId":"107t982379b1","numbering":"1994/95(1995)","title":"Wer ist wo : 1994/95(1995)","type":"Band","publicationYear":"1995","note":[{"value":"Letzter Jahrgang, damit Erscheinen eingestellt"}],"isPartOf":[{"value":"Wer ist wo"}],"publicationDate":"s. Zählung in numbering","item":[{"value":"Per. 11060/ 1994/95","type":"SP"}],"inCollection":"nur RPB","volumeIn":{"numbering":"1994/95(1995)","sortBy":"1995","value":"http://rpb.lobid.org/107t982379"}}
{"rpbId":"107t982379b1","numbering":"1994/95(1995)","title":"Wer ist wo : 1994/95(1995)","type":"Band","publicationDate":"1995","publicationYear":"1995","note":[{"value":"Letzter Jahrgang, damit Erscheinen eingestellt"}],"isPartOf":[{"value":"Wer ist wo"}],"item":[{"value":"Per. 11060/ 1994/95","type":"SP"}],"inCollection":"nur RPB","volumeIn":{"numbering":"1994/95(1995)","sortBy":"1995","value":"http://rpb.lobid.org/107t982379"}}
{"f35_":"_r22_ _4221819n6_ ; _sn102045_","f37_":"_sn102045_ ; _r22_ _4221819n6_","f96_":"20110531/15:50:00\u001FKO","rpbId":"929t112190","title":"[Kalender] 2011","type":"Monografie","publicationLocation":"[Boppard]","publicationDate":"[2010]","publicationYear":"2010","extent":"[13] Bl. : überw. Ill. ; 292 x 420 mm","created":"20110531/15:47:42\u001FHBZ","hbzId":"HT016832268","subject":[{"value":"http://purl.org/lobid/rpb#n102045"}],"spatial":[{"value":"https://d-nb.info/gnd/4221819-6"}],"subjectComponentList":[{"subjectComponent":[{"value":"https://d-nb.info/gnd/4221819-6"},{"value":"https://d-nb.info/gnd/4029290-3"}]},{"subjectComponent":[{"value":"https://d-nb.info/gnd/4335389-7"},{"value":"https://d-nb.info/gnd/4029290-3"}]}],"item":[{"value":"Kalender = K 2927","type":"KO"}],"corporateBody":[{"value":"https://d-nb.info/gnd/10366667-9","type":"Geistiger Schöpfer"}],"inCollection":"nur RPB"}
{"f35_":"_r10_ _4119314n3_ ; _sn848000_","f35a":"_r10_ _4119314n3_ ; _sn163000_","f37_":"_sn848000_ ; _r10_ _4119314n3_","f37a":"_sn163000_ ; _r10_ _4119314n3_","f74d":"Neuwied","f75d":"Dr. Johann","f96_":"20110531/16:00:36\u001FKO","rpbId":"929t112191","title":"Geheimnisvolle Tierwelten : am Flüsschen Wied gesehen und photographiert ; [Kalender] 2011","type":"Monografie","publicationDate":"[2010]","publicationYear":"2010","extent":"[14] Bl. : überw. Ill. ; 210 x 297 mm","created":"20110531/15:55:34\u001FHBZ","hbzId":"HT016831992","subject":[{"value":"http://purl.org/lobid/rpb#n848000"},{"value":"http://purl.org/lobid/rpb#n163000"}],"spatial":[{"value":"https://d-nb.info/gnd/4119314-3"}],"subjectComponentList":[{"subjectComponent":[{"value":"https://d-nb.info/gnd/4108127-4"},{"value":"https://d-nb.info/gnd/4185464-0"},{"value":"https://d-nb.info/gnd/4029290-3"}]}],"responsibilityStatement":"von Erich Oetz","item":[{"value":"Kalender = K 2922","type":"KO"}],"person":[{"value":"http://rpb.lobid.org/sw/00Pn11k2191236a","type":"Verfasser/in"}],"inCollection":"nur RPB"}
{"f35_":"_r99_ _o11100000_ ; _sn704043_","f37_":"_sn704043_ ; _r99_ _o11100000_","f70k":"KKG Rot-Weiss-Gruen Kowelenzer Schaengelcher","f70t":"Sessionsheft","f70y":"KKG Rot-Weiss-Gruen Kowelenzer Schaengelcher: Sessionsheft. - 2011, S. 23-33","f88_":"2253285-7","f96_":"20110531/16:02:12\u001FKO","rpbId":"929t112192","title":"Aus der Vereinsgeschichte der KKG \"Kowelenzer Schängelcher\" 1922 e.V.","type":"u","bibliographicCitation":[{"value":"In: KKG Rot-Weiss-Gruen Kowelenzer Schaengelcher: Sessionsheft. - (2011), Seite 23-33. -","year":"2011","pages":"23-33"}],"publicationDate":"2011","publicationYear":"2011","extent":"Ill.","created":"20110531/16:02:12\u001FKO","subject":[{"value":"http://purl.org/lobid/rpb#n704043"}],"spatial":[{"value":"https://rpb.lobid.org/spatial#n11100000"}],"subjectComponentList":[{"subjectComponent":[{"value":"https://d-nb.info/gnd/5114232-6"},{"value":"http://rpb.lobid.org/sw/00Sn11k2192145a"}]}],"item":[{"value":"Z 2287:2011","type":"KO"}],"inCollection":"nur RPB"}
Expand Down
3 changes: 3 additions & 0 deletions conf/rpb-titel-to-strapi.fix
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ move_field("f70z", "bibliographicCitation[].1.alternativeNumbering")
move_field("f71_", "edition")
move_field("f74_", "publicationLocation")
move_field("f75_", "publishedBy")
unless exists("f76a")
copy_field("f76b", "f76a")
end
move_field("f76a", "publicationDate")
move_field("f76b", "publicationYear")
move_field("f77_", "extent")
Expand Down

0 comments on commit 7effc38

Please sign in to comment.