feed

package
v0.17.3 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2022 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CatalogFeed

type CatalogFeed interface {
	SetAuthor(name, uri string)
	SetUpdated(t time.Time)
	AddSeries(id, title string, updated time.Time)
}

func NewCatalogFeed

func NewCatalogFeed(root string) CatalogFeed

type Relation

type Relation string
const (
	RelSelf        Relation = "self"
	RelStart       Relation = "start"
	RelSearch      Relation = "search"
	RelCover       Relation = "http://opds-spec.org/image"
	RelThumbnail   Relation = "http://opds-spec.org/image/thumbnail"
	RelAcquisition Relation = "http://opds-spec.org/acquisition"
	RelPageStream  Relation = "http://vaemendis.net/opds-pse/stream"
)

type SeriesFeed

type SeriesFeed interface {
	SetAuthor(name, uri string)
	SetUpdated(t time.Time)
	AddEntry(id, title, thumbType, coverType, pageType string, pageCount int, updated time.Time, a *manga.Archive)
}

func NewSeriesFeed

func NewSeriesFeed(root, sid, title string) SeriesFeed

type Type

type Type string
const (
	Navigation  Type = "application/atom+xml;profile=opds-catalog;kind=navigation"
	Acquisition Type = "application/atom+xml;profile=opds-catalog;kind=acquisition"
)

Jump to

Keyboard shortcuts

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