Documentation ¶
Overview ¶
Package rss provide support for parsing RSS files as used in podcast 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"` Links []string `xml:"link"` // want <link> not <atom:link> Description string `xml:"description"` Author string `xml:"author,itunes"` Language string `xml:"language"` Copyright string `xml:"copyright"` LastBuildDate string `xml:"lastBuildDate"` Image Image `xml:"image"` TTL int `xml:"ttl"` Items []Item `xml:"item"` }
func (Channel) LastBuildTime ¶
type Item ¶
type Item struct { XMLName xml.Name `xml:"item"` Title string `xml:"title"` Link string `xml:"link"` PubDate string `xml:"pubDate"` Description string `xml:"description"` Categories []string `xml:"category"` GUID GUID `xml:"guid"` Author string `xml:"author,itunes"` Episode string `xml:"episode,itunes"` Image Image `xml:"image,itunes"` Duration string `xml:"duration,itunes"` Content Content `xml:"content,media"` Enclosure Enclosure `xml:"enclosure"` Comments string `xml:"comments"` }
func (Item) ContentType ¶
func (Item) PublishTime ¶
Click to show internal directories.
Click to hide internal directories.