episode

package
v0.0.0-...-d205bd4 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func List

func List(f common.Feed) command.Response

Types

type Enclosure

type Enclosure struct {
	URL    string `xml:"url,attr"`
	Length uint64 `xml:"length,attr"`
}

type Episode

type Episode struct {
	Name string
}

type Item

type Item struct {
	Title         string     `xml:"title"`
	Link          string     `xml:"link"`
	PubDate       string     `xml:"pubDate"`
	Enclosure     *Enclosure `xml:"enclosure"`
	ItunesEpisode int        `xml:"http://www.itunes.com/dtds/podcast-1.0.dtd episode"`
	GUID          string     `xml:"guid"`
}

type Rss

type Rss struct {
	XMLName     xml.Name `xml:"rss"`
	Title       string   `xml:"channel>title"`
	Description string   `xml:"channel>description"`
	Items       []Item   `xml:"channel>item"`
}

func ParseFeedAsRss

func ParseFeedAsRss(f common.Feed) (Rss, string)

Jump to

Keyboard shortcuts

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