Documentation
¶
Overview ¶
Package rss2 provides parsing functionality for RSS 2.0 feeds.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Channel ¶
type Channel struct {
XMLName xml.Name `xml:"channel"`
Title string `xml:"title"`
Language string `xml:"language"`
Author string `xml:"author"`
Description string `xml:"description"`
Link []Link `xml:"link"`
Image *Image `xml:"image"`
Categories []Category `xml:"category"`
Items []Item `xml:"item"`
MinsToLive int `xml:"ttl"`
SkipHours []int `xml:"skipHours>hour"`
SkipDays []string `xml:"skipDays>day"`
}
type Item ¶
type Item struct {
XMLName xml.Name `xml:"item"`
Title string `xml:"title"`
Description string `xml:"description"`
Content string `xml:"encoded"`
Categories []string `xml:"category"`
Link string `xml:"link"`
PubDate string `xml:"pubDate"`
Date string `xml:"date"`
Image *Image `xml:"image"`
ID string `xml:"guid"`
Enclosures []Enclosure `xml:"enclosure"`
}
Click to show internal directories.
Click to hide internal directories.