fb2parser

package
v1.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FB2Author

type FB2Author struct {
	FirstName  string `xml:"first-name"`
	MiddleName string `xml:"middle-name"`
	LastName   string `xml:"last-name"`
}

type FB2Description

type FB2Description struct {
	TitleInfo    FB2TitleInfo  `xml:"title-info"`
	SrcTitleInfo *FB2TitleInfo `xml:"src-title-info"`
	PublishInfo  *FB2Publisher `xml:"publish-info"`
}

type FB2Publisher

type FB2Publisher struct {
	BookName  string `xml:"book-name"`
	Publisher string `xml:"publisher"`
	City      string `xml:"city"`
	Year      string `xml:"year"`
	ISBN      string `xml:"isbn"`
}

type FB2Sequence

type FB2Sequence struct {
	Number string `xml:"number,attr"`
	Name   string `xml:"name,attr"`
}

type FB2TitleInfo

type FB2TitleInfo struct {
	BookTitle  string        `xml:"book-title"`
	Keywords   string        `xml:"keywords"`
	Date       string        `xml:"date"`
	Lang       string        `xml:"lang"`
	SrcLang    string        `xml:"src-lang"`
	Genre      []string      `xml:"genre"`
	Author     []FB2Author   `xml:"author"`
	Translator []FB2Author   `xml:"translator"`
	Sequence   []FB2Sequence `xml:"sequence"`
	Annotation struct {
		HTML string `xml:",innerxml"`
	} `xml:"annotation"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL