Files
epuppy/pkg/epub/ncx.go

18 lines
373 B
Go
Raw Normal View History

2025-10-15 00:54:19 +02:00
package epub
// Ncx OPS/toc.ncx
type Ncx struct {
Points []*NavPoint `xml:"navMap>navPoint" json:"points"`
}
// NavPoint nav point
type NavPoint struct {
Text string `xml:"navLabel>text" json:"text"`
Content Content `xml:"content" json:"content"`
Points []NavPoint `xml:"navPoint" json:"points"`
2025-10-15 00:54:19 +02:00
}
type Title struct {
Content string `xml:"head>title"`
}