rss

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrParsePubDateTimeHour = errors.New("failed to parse PubDateTimeHour")
	ErrParsePubDateTimeMin  = errors.New("failed to parse PubDateTimeMin")
	ErrParseFileName        = errors.New("failed to parse FileName")
)

Functions

func GenRSSString

func GenRSSString(dir string, baseURLStr string, channelTitle string, pubDateTimeStr string, thumbnailURLStr string) (string, error)

Types

type PodcastRSS

type PodcastRSS struct {
	ChannelTitle    string
	ThumbnailURLStr string
	PodcastRSSItems []PodcastRSSItem
}

type PodcastRSSItem

type PodcastRSSItem struct {
	Title           string
	URL             url.URL
	AudioType       string
	FormatedPubDate string
}

Jump to

Keyboard shortcuts

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