Skip to content

Commit

Permalink
Fix invalid URLs in note (RPB-256)
Browse files Browse the repository at this point in the history
  • Loading branch information
fsteeg committed Feb 18, 2025
1 parent 9ca7217 commit 1c89bbb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion conf/output/test-output-95.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"label" : "Rheinland-Pfälzische Bibliographie"
} ],
"title" : "Herzlich willkommen auf der Homepage der Ortsgemeinde Bonefeld [Elektronische Ressource]",
"note" : [ "edoweb - Rheinland-pfälzischer Archivserver für elektronische Dokumente und Websites", "http://www.bonefeld.de/. -" ],
"note" : [ "edoweb - Rheinland-pfälzischer Archivserver für elektronische Dokumente und Websites", "http://www.bonefeld.de/" ],
"publication" : [ {
"startDate" : "0000",
"type" : [ "PublicationEvent" ]
Expand Down
2 changes: 1 addition & 1 deletion conf/output/test-output-strapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,4 @@
{"rpbId":"929t163432b1","numbering":"1 (1989)","title":"Adressbuch der Stadt Ems : in 3 Heften : 1 (1989)","type":"Band","publicationDate":"1989","publicationYear":"1989","extent":"40 S.","isPartOf":[{"value":"Bad Emser Hefte ; 76"},{"value":"Adressbuch der Stadt Ems : in 3 Heften"}],"item":[{"value":"89/449:1","type":"KO"}],"inCollection":"nur RPB","volumeIn":{"numbering":"1 (1989)","sortBy":"1989","value":"http://rpb.lobid.org/929t163432"}}
{"rpbId":"929t163432b2","numbering":"2 ([1989])","title":"Adressbuch der Stadt Ems : in 3 Heften : 2 ([1989])","type":"Band","publicationDate":"1989","publicationYear":"1989","extent":"S. 42 - 84","isPartOf":[{"value":"Bad Emser Hefte ; 77"},{"value":"Adressbuch der Stadt Ems : in 3 Heften"}],"item":[{"value":"89/449:2","type":"KO"}],"inCollection":"nur RPB","volumeIn":{"numbering":"2 ([1989])","sortBy":"1989","value":"http://rpb.lobid.org/929t163432"}}
{"rpbId":"929t163432b3","numbering":"3 ([1989])","title":"Adressbuch der Stadt Ems : in 3 Heften : 3 ([1989])","type":"Band","publicationDate":"1989","publicationYear":"1989","extent":"S. 86 - 128","isPartOf":[{"value":"Bad Emser Hefte ; 78"},{"value":"Adressbuch der Stadt Ems : in 3 Heften"}],"item":[{"value":"89/449:3","type":"KO"}],"inCollection":"nur RPB","volumeIn":{"numbering":"3 ([1989])","sortBy":"1989","value":"http://rpb.lobid.org/929t163432"}}
{"f96_":"ZR-20070817/00:00:00\u001FEDOWEBimp","f97y":"Einspielung: Edoweb","rpbId":"929t01034846","title":"Herzlich willkommen auf der Homepage der Ortsgemeinde Bonefeld [Elektronische Ressource]","type":"Monografie","publicationDate":"0000","publicationYear":"1111","note":[{"value":"edoweb - Rheinland-pfälzischer Archivserver für elektronische Dokumente und Websites"},{"value":"http://www.bonefeld.de/. -"}],"created":"ZR-20061011/00:00:00\u001FEDOWEBimp","hbzId":"TT002234691","url":[{"value":"https://www.edoweb-rlp.de/resource/edoweb:1312","type":"Volltext"}],"corporateBody":[{"value":"https://d-nb.info/gnd/4487276-8","type":"Geistiger Schöpfer"}],"inCollection":"nur RPB"}
{"f96_":"ZR-20070817/00:00:00\u001FEDOWEBimp","f97y":"Einspielung: Edoweb","rpbId":"929t01034846","title":"Herzlich willkommen auf der Homepage der Ortsgemeinde Bonefeld [Elektronische Ressource]","type":"Monografie","publicationDate":"0000","publicationYear":"1111","note":[{"value":"edoweb - Rheinland-pfälzischer Archivserver für elektronische Dokumente und Websites"},{"value":"http://www.bonefeld.de/"}],"created":"ZR-20061011/00:00:00\u001FEDOWEBimp","hbzId":"TT002234691","url":[{"value":"https://www.edoweb-rlp.de/resource/edoweb:1312","type":"Volltext"}],"corporateBody":[{"value":"https://d-nb.info/gnd/4487276-8","type":"Geistiger Schöpfer"}],"inCollection":"nur RPB"}
1 change: 1 addition & 0 deletions conf/rpb-titel-to-strapi.fix
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ move_field("f76a", "publicationDate")
move_field("f76b", "publicationYear")
move_field("f77_", "extent")
call_macro("move_all", from: "f81?", to: "note")
replace_all("note[].*.value", "/\\. -$", "/")
call_macro("move_all", from: "f85?", to: "isPartOf")
call_macro("move", to: "isPartOf", from: "f20u", type: "")
move_field("f86_", "otherId")
Expand Down

0 comments on commit 1c89bbb

Please sign in to comment.