diff options
| author | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-07-23 13:01:33 +0200 |
|---|---|---|
| committer | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-07-23 13:01:33 +0200 |
| commit | e240d4c03cc30b583a0811553580fe2a15cd1097 (patch) | |
| tree | 616b80f2aecc1ca99200c15f7336a07d430700dc /internal/bible | |
| parent | 343a675a5a779cfce5a3dec9a3ad4a6ffb22de75 (diff) | |
| download | lectio-e240d4c03cc30b583a0811553580fe2a15cd1097.tar.gz lectio-e240d4c03cc30b583a0811553580fe2a15cd1097.zip | |
liturgy: Section type + HTML parse (fixtures)
Ports parse_sections, html_to_lines, extract_reference from ewangelia.py.
Parse(html) prefers the tabnowy0all lectionary tab (falls back to
tabstary0all) and errors loudly if the tab is present-but-empty or
absent. ExtractCitation(heading) pulls the parenthetical citation.
Section gains a PartID field (Addendum A): set from the heading prefix
(1. czytanie -> pierwsze_czytanie, a second same-day 1. czytanie ->
drugie_czytanie, Psalm -> psalm, Aklamacja -> aklamacja, Ewangelia ->
ewangelia; anything else -> "").
Adds testdata/2026-07-22.html (split-feast day, two 1. czytanie
sections) and testdata/2026-06-22.html (normal day), copied from
~/.cache/daily-reading/.
Diffstat (limited to 'internal/bible')
0 files changed, 0 insertions, 0 deletions
