slub / mets-mods2tei

Convert bibliographic meta data in MODS format to TEI headers
Apache License 2.0
8 stars 7 forks source link

Handle margins #32

Open wrznr opened 4 years ago

wrznr commented 4 years ago

ALTO has dedicated elements to represent margins (e.g. https://digital.slub-dresden.de/data/kitodo/WeidLieb_513730826/WeidLieb_513730826_ocr/00000025.xml). Text contained there has to be treated differently to the main body of the page. Right know it is simply serialized in the order of occurrence.

bertsky commented 2 years ago

Right: https://github.com/slub/mets-mods2tei/blob/fc7b0f7cfb8a58e483bd355a7ae2eaaa7aebc6fe/mets_mods2tei/api/alto.py#L75-L80

So we don't want the TextBlocks under TopMargin / LeftMargin / RightMargin / BottomMargin to appear linearly/randomly mixed with PrintSpace blocks.

But what about @IDNEXT (if available)?

And how would we have to represent that difference in TEI? As a milestone footer/header (what about LeftMargin and RightMargin then)? Or fw, or note/@place? @tboenig?