Documentation ¶
Overview ¶
Package rss defines XML data structures for an RSS feed.
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,omitempty"` Link string `xml:"link,omitempty"` Description string `xml:"description,omitempty"` Author string `xml:"author,omitempty"` Enclosure *Enclosure `xml:"enclosure"` Guid *Guid `xml:"guid"` PubDate string `xml:"pubDate,omitempty"` Source *Source `xml:"source"` Content string `xml:"encoded,omitempty"` Date string `xml:"date,omitempty"` Published string `xml:"published,omitempty"` Media *MediaContent `xml:"content"` }
type MediaContent ¶
type RSS ¶
type RSS struct { XMLName string `xml:"rss"` Title string `xml:"channel>title"` Link []Link `xml:"channel>link"` Description string `xml:"channel>description"` PubDate string `xml:"channel>pubDate,omitempty"` LastBuildDate string `xml:"channel>lastBuildDate,omitempty"` Items []*Item `xml:"channel>item"` }
Click to show internal directories.
Click to hide internal directories.