Documentation
¶
Overview ¶
Package fetch provides functions for fetching feed data and parsing it into raw items to be processed by the feed package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AtomEntry ¶
type AtomEntry struct { ID string `xml:"id"` GUID string `xml:"guid"` Links []struct { Href string `xml:"href,attr"` Rel string `xml:"rel,attr"` } `xml:"link"` Title string `xml:"title"` Published string `xml:"published"` Updated string `xml:"updated"` Authors []string `xml:"author>name"` Content string `xml:"content"` Summary string `xml:"summary"` }
type FetchParams ¶
FetchParams represents the parameters needed to fetch and parse a feed.
type RSSItem ¶
type RSSItem struct { ID string `xml:"id"` GUID string `xml:"guid"` Link string `xml:"link"` Title string `xml:"title"` PubDate string `xml:"pubDate"` Date string `xml:"date"` Creator []string `xml:"creator"` Authors []string `xml:"author>name"` Encoded string `xml:"encoded"` Description string `xml:"description"` }
Click to show internal directories.
Click to hide internal directories.