Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Channel ¶
type Channel struct { // Required fields Description string `xml:"description"` Links []Link `xml:"link"` Title string `xml:"title"` Items []Item `xml:"item,omitempty"` // Optional fields Author string `xml:"author,omitempty"` Category string `xml:"category,,omitempty"` Cloud string `xml:"cloud,omitempty"` Copyright string `xml:"copyright,omitempty"` Documentation string `xml:"docs,omitempty"` Generator string `xml:"generator,omitempty"` Language string `xml:"language,omitempty"` LastBuildDate string `xml:"lastBuildDate,omitempty"` ManagingEditor string `xml:"managingEditor,omitempty"` PublicationDate string `xml:"pubDate,omitempty"` Rating string `xml:"rating,omitempty"` SkipHours string `xml:"skipHours,omitempty"` SkipDays string `xml:"skipDays,omitempty"` TextInputs []TextInput `xml:"textInput,omitempty"` TimeToLive string `xml:"ttl,omitempty"` WebMaster string `xml:"webMaster,omitempty"` // Fields with optional subelements Images []Image `xml:"image,omitempty"` ImageWidth int `xml:"image,attr"` }
type Item ¶
type Item struct { Description string `xml:"description"` Link string `xml:"link"` Title string `xml:"title"` Author string `xml:"author,omitempty"` Category string `xml:"category,omitempty"` Comment string `xml:"comment,omitempty"` Enclosures []Enclosure `xml:"enclosure"` Guid string `xml:"guid,omitempty"` PublicationDate string `xml:"pubDate,omitempty"` }
type RSS ¶
func RSSFeedParse ¶
Click to show internal directories.
Click to hide internal directories.