Documentation ¶
Overview ¶
Package rss provides a RSS parser
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Item ¶
type Item struct { Title string `xml:"title"` Link string `xml:"link"` Comments string `xml:"comments"` PubDate string `xml:"pubDate"` GUID string `xml:"guid"` Category []string `xml:"category"` Enclosure []ItemEnclosure `xml:"enclosure"` Description string `xml:"description"` Content string `xml:"content"` }
Item represents an episode with all of its content
type ItemEnclosure ¶
ItemEnclosure contains an URL and its MIME-Type of an episode file
type Main ¶
type Main struct { Title string `xml:"title"` Link string `xml:"link"` Copyright string `xml:"copyright"` Description string `xml:"description"` Generator string `xml:"generator"` Language string `xml:"language"` LastBuildDate string `xml:"lastBuildDate"` Items []Item `xml:"item"` Image Image `xml:"image"` }
Main struct represents the root of the RSS feed
func ReadCustomClient ¶
ReadCustomClient allows to read with an custom http client
Click to show internal directories.
Click to hide internal directories.