feeds

package
v0.0.0-...-950b7a2 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AtomFeed

type AtomFeed struct {
	XMLName xml.Name   `xml:"feed"`
	Title   string     `xml:"title"`
	Links   []AtomLink `xml:"link"`
	Updated string     `xml:"updated"`
	Entries []Entry    `xml:"entry"`
}
type AtomLink struct {
	Rel  string `xml:"rel,attr"`
	Href string `xml:"href,attr"`
}

type Channel

type Channel struct {
	Title   string    `xml:"title"`
	Link    string    `xml:"link"`
	PubDate string    `xml:"pubDate"`
	Items   []RssItem `xml:"item"`
}

type Entry

type Entry struct {
	Title   string     `xml:"title"`
	Content string     `xml:"content"`
	Summary string     `xml:"summary"`
	Links   []AtomLink `xml:"link"`
	Updated string     `xml:"updated"`
}

type Feed

type Feed struct {
	Title string
	Link  string
	Date  string
	Items []Item
}

type Item

type Item struct {
	Title   string
	Content string
	Link    string
	Date    string
}

type Root

type Root struct {
	XMLName xml.Name
}

type RssFeed

type RssFeed struct {
	XMLName xml.Name `xml:"rss"`
	Channel Channel  `xml:"channel"`
}

type RssItem

type RssItem struct {
	Title       string `xml:"title"`
	Description string `xml:"description"`
	Link        string `xml:"link"`
	PubDate     string `xml:"pubDate"`
}

Jump to

Keyboard shortcuts

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