Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Item ¶
type Item struct { // Required Title string `xml:"title"` Link string `xml:"link"` Description template.HTML `xml:"description"` // Optional Content template.HTML `xml:"encoded"` PubDate string `xml:"pubDate"` Comments string `xml:"comments"` Author string `xml:"dc:creator"` }
Item is a sub struct in Rss
type Rss ¶
type Rss struct { XMLName xml.Name `xml:"rss"` Version string `xml:"version,attr"` // Required Title string `xml:"channel>title"` Link string `xml:"channel>link"` Description string `xml:"channel>description"` // Optional PubDate string `xml:"channel>pubDate"` LastBuildDate string `xml:"channel>lastBuildDate"` ItemList []Item `xml:"channel>item"` }
Rss Feed XML struct
Click to show internal directories.
Click to hide internal directories.