Documentation ¶
Index ¶
- func Reader(filename string, onChapter func(chapter string, data []byte) bool) error
- func ToTxt(filename string, output io.Writer) error
- type Author
- type Book
- type Container
- type Content
- type Date
- type Identifier
- type Manifest
- type Metadata
- type Metafield
- type NavPoint
- type Ncx
- type Opf
- type Rootfile
- type Spine
- type SpineItem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Book ¶
type Container ¶
type Container struct {
Rootfile Rootfile `xml:"rootfiles>rootfile" json:"rootfile"`
}
type Identifier ¶
type Metadata ¶
type Metadata struct { Title []string `xml:"title"` Language []string `xml:"language"` Identifier []Identifier `xml:"identifier"` Creator []Author `xml:"creator"` Subject []string `xml:"subject"` Description []string `xml:"description"` Publisher []string `xml:"publisher"` Contributor []Author `xml:"contributor"` Date []Date `xml:"date"` Type []string `xml:"type"` Format []string `xml:"format"` Source []string `xml:"source"` Relation []string `xml:"relation"` Coverage []string `xml:"coverage"` Rights []string `xml:"rights"` Meta []Metafield `xml:"meta"` }
Click to show internal directories.
Click to hide internal directories.