Skip to content
This repository has been archived by the owner on Sep 23, 2024. It is now read-only.

LegalText import improvements #18

Open
8 tasks
fabstei opened this issue Feb 21, 2023 · 0 comments
Open
8 tasks

LegalText import improvements #18

fabstei opened this issue Feb 21, 2023 · 0 comments

Comments

@fabstei
Copy link
Contributor

fabstei commented Feb 21, 2023

The current workaround to import the legal texts will be removed once the consultation procedure drafts are available via API. We expect an update by late April

  • Whitespace regex matches

    • Use implode('\s*', str_split('$$-seal')); instead of \s
  • Too eager roman divider #19

  • Endpoint error when importing legacy documents #20

  • Artifacts

    • Vorentwurf
    • Page numbers: sometimes there is just the page number, like "1", so there is no good pattern
    • Footnotes: difficult because we don't get the marker
    • YYYY- at the beginning of the file
  • During import

    • control and set tags
    • check and set human title
  • Add importedBy / createdBy

  • Check relation to ExternalStatement (latter should work independently)

To make special characters invisible, use, e.g., json_encode($legalText);

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant