feed

package
v0.9.12 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2021 License: MIT Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(ctx context.Context, production string, validateOnly bool) error

Build gathers all resources and builds the feed.xml

func TransformToItem

func TransformToItem(e *a.Episode) (*rss.Item, error)

TransformToItem returns the episode struct needed for a podcast feed struct

func TransformToPodcast

func TransformToPodcast(s *a.Show) (*rss.Channel, error)

TransformToPodcast transforms Show metadata into a podcast feed struct

Types

type EpisodeList

type EpisodeList []*a.Episode

EpisodeList holds the list of valid episodes that will be added to a podcast

func (EpisodeList) Len

func (e EpisodeList) Len() int

func (EpisodeList) Less

func (e EpisodeList) Less(i, j int) bool

func (EpisodeList) Swap

func (e EpisodeList) Swap(i, j int)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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