Skip to content

Commit

Permalink
Rename f71_ to edition, include in lobid output (RPB-160)
Browse files Browse the repository at this point in the history
  • Loading branch information
fsteeg committed May 14, 2024
1 parent acffbde commit f1a7acf
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 13 deletions.
3 changes: 2 additions & 1 deletion conf/output/test-output-27.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,6 @@
"label" : "Autor/in"
},
"type" : [ "Contribution" ]
} ]
} ],
"edition" : [ "Nachdr. der Original-Ausg." ]
}
3 changes: 2 additions & 1 deletion conf/output/test-output-3.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,5 +113,6 @@
"fulltextOnline" : [ {
"id" : "https://nbn-resolving.org/urn:nbn:de:hbz:061:2-24485",
"label" : "urn:nbn:de:hbz:061:2-24485"
} ]
} ],
"edition" : [ "[Nur Ill.]" ]
}
3 changes: 2 additions & 1 deletion conf/output/test-output-4.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,5 +106,6 @@
"fulltextOnline" : [ {
"id" : "https://nbn-resolving.org/urn:nbn:de:hbz:061:2-1643",
"label" : "urn:nbn:de:hbz:061:2-1643"
} ]
} ],
"edition" : [ "[Ausg. Ill. mit Text]" ]
}
3 changes: 2 additions & 1 deletion conf/output/test-output-57.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,5 +84,6 @@
"label" : "Autor/in"
},
"type" : [ "Contribution" ]
} ]
} ],
"edition" : [ "11. Aufl." ]
}
3 changes: 2 additions & 1 deletion conf/output/test-output-81.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,5 +105,6 @@
"label" : "Bearb."
},
"type" : [ "Contribution" ]
} ]
} ],
"edition" : [ "2. dt. Ausg." ]
}
3 changes: 2 additions & 1 deletion conf/output/test-output-85.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,6 @@
"description" : [ {
"id" : "http://d-nb.info/1069609889/04",
"label" : "http://d-nb.info/1069609889/04"
} ]
} ],
"edition" : [ "4., aktualisierte Auflage" ]
}
12 changes: 6 additions & 6 deletions conf/output/test-output-strapi.json

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion conf/rpb-titel-to-lobid.fix
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,8 @@ do list(path:"url[]", "var": "$i")
end
end

retain( "type[]", "contribution[]", "extent", "hasItem[]", "responsibilityStatement[]", "language[]", "medium[]", "subject[]", "title", "hbzId", "oclcNumber[]", "otherTitleInformation[]", "natureOfContent[]", "publication[]", "sameAs[]", "describedBy", "@context", "id", "zdbId", "spatial[]", "inCollection[]", "rpbId", "schoeneNummer", "bibliographicCitation", "isPartOf[]", "note[]", "fulltextOnline[]", "description[]")
move_field("edition", "edition[]")

retain( "type[]", "contribution[]", "edition[]", "extent", "hasItem[]", "responsibilityStatement[]", "language[]", "medium[]", "subject[]", "title", "hbzId", "oclcNumber[]", "otherTitleInformation[]", "natureOfContent[]", "publication[]", "sameAs[]", "describedBy", "@context", "id", "zdbId", "spatial[]", "inCollection[]", "rpbId", "schoeneNummer", "bibliographicCitation", "isPartOf[]", "note[]", "fulltextOnline[]", "description[]")

vacuum()
1 change: 1 addition & 0 deletions conf/rpb-titel-to-strapi.fix
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ move_field("f70h", "issue")
move_field("f70j", "year")
move_field("f70s", "pages")
move_field("f70z", "alternativeNumbering")
move_field("f71_", "edition")
move_field("f74_", "publicationLocation")
move_field("f75_", "publishedBy")
move_field("f76a", "publicationDate")
Expand Down

0 comments on commit f1a7acf

Please sign in to comment.