rss

package
v1.11.1 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Channel

type Channel struct {
	Title          string `xml:"title"`
	Link           []Link `xml:"link"`
	Description    string `xml:"description"`
	Language       string `xml:"language"`
	PubDate        string `xml:"pubDate"`
	LastBuildDate  string `xml:"lastBuildDate"`
	Docs           string `xml:"docs"`
	Generator      string `xml:"generator"`
	ManagingEditor string `xml:"managingEditor"`
	WebMaster      string `xml:"webMaster"`
	Item           []Item `xml:"item"`
}

type Enclosure

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

type Item

type Item struct {
	Title       *string    `xml:"title"`
	Link        Link       `xml:"link"`
	Description string     `xml:"description"`
	PubDate     string     `xml:"pubDate"`
	GUID        string     `xml:"guid"`
	Enclosure   *Enclosure `xml:"enclosure"`
}
type Link struct {
	Href     *string `xml:"href,attr"`
	Rel      *string `xml:"rel,attr"`
	Type     *string `xml:"type,attr"`
	CharData string  `xml:",chardata"`
}

type RSS

type RSS struct {
	Channel Channel `xml:"channel"`
}

Jump to

Keyboard shortcuts

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