Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Channel ¶
type Channel struct { Title string `xml:"title"` Link string `xml:"link"` Description string `xml:"description"` Language string `xml:"language"` Copyright string `xml:"copyright"` ManagingEditor string `xml:"managingEditor"` WebMaster string `xml:"webMaster"` Images []*Image `xml:"images"` LastBuildDate Time `xml:"lastBuildDate"` Category string `xml:"category"` Generator string `xml:"generator"` Items []*Item `xml:"item"` }
Channel represents `rss>channel` doc.
type Image ¶
type Image struct { URL string `xml:"url"` Title string `xml:"title"` Link string `xml:"link"` Width int64 `xml:"width"` Height int64 `xml:"height"` }
Image represents `rss>channel>image` doc.
type Item ¶
type Item struct { Title string `xml:"title"` Link string `xml:"link"` Description string `xml:"description"` Author string `xml:"author"` Category string `xml:"category"` Comments string `xml:"comments"` GUID string `xml:"guid"` PubDate Time `xml:"pubDate"` ContentEncoded string `xml:"encoded"` }
Item represents `rss>item` doc.
type Rss2Scraper ¶
type Rss2Scraper struct{}
Click to show internal directories.
Click to hide internal directories.