blob: 498b201bdfc97095cb7e423ed2d315b8dec538ec (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
// Package liturgy parses the daily Catholic liturgy readings page into
// structured sections (1st reading, psalm, acclamation, gospel).
package liturgy
// Section is one reading section of the liturgy page (e.g. "1. czytanie",
// "Psalm", "Aklamacja", "Ewangelia"): its heading, optional subtitle, the
// citation extracted from the heading, a stable identifier for which liturgical
// part it is, and its body split into paragraphs of text lines.
type Section struct {
Heading, Subtitle, Citation, PartID string
Paragraphs [][]string
}
|