Documentation
¶
Overview ¶
Package opds1 encodes the version-neutral opds model to OPDS 1.2 feeds and entry documents, serialized as Atom (XML) with the OPDS extension namespaces.
Index ¶
Constants ¶
View Source
const Header = xml.Header
Header is the XML declaration emitted before every document.
Variables ¶
This section is empty.
Functions ¶
func Marshal ¶
Marshal returns the OPDS 1.2 Atom encoding of the feed, including the XML declaration.
func MarshalEntry ¶
func MarshalEntry(p *opds.Publication) ([]byte, error)
MarshalEntry returns a standalone OPDS 1.2 entry document for a single publication (media type application/atom+xml;type=entry;profile=opds-catalog).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.