feed

package
v0.0.0-...-92dddc7 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2024 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	YT_FEED_URL  = "https://www.youtube.com/feeds/videos.xml?channel_id=%s"
	YT_VIDEO_URL = "https://youtube.com/watch?v=%s"
)

Variables

This section is empty.

Functions

func ConvertAtomToRSS

func ConvertAtomToRSS(w io.Writer, r io.Reader, meta RSSMetadata) error

Convert to Yt Atom to RSS given a Reader that provides xml

func ConvertYtToRss

func ConvertYtToRss(w io.Writer, channel_id string, meta RSSMetadata) error

bounce_url in the format of http://domain/?id=%s

Types

type RSSMetadata

type RSSMetadata struct {
	Summary   string
	Languge   string
	Copyright string
	BounceURL string
}

Jump to

Keyboard shortcuts

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