arsd.rss

RSS/Atom feed reading

References:

  • https://cyber.harvard.edu/rss/rss.html
  • http://www.rssboard.org/rss-specification
  • https://tools.ietf.org/html/rfc4287
  • https://en.wikipedia.org/wiki/Atom_(Web_standard)

Members

Enums

FeedType
enum FeedType

Functions

identifyFeed
FeedType identifyFeed(Element e)
parseAtom
AtomFeed parseAtom(Element ele)
parseFeed
Feed parseFeed(Element e)

Parses a feed generically

parseRss
RssChannel parseRss(Element element)

Parses RSS into structs. Requires the element to be RSS; if you are unsure of the type and want a generic response, use parseFeed instead.

parseRss
RssChannel parseRss(string s)

Structs

AtomContent
struct AtomContent
AtomEnclosure
struct AtomEnclosure
AtomEntry
struct AtomEntry
AtomFeed
struct AtomFeed
AtomPerson
struct AtomPerson
Feed
struct Feed

generic subset of rss and atom, normalized for easy consumption

Meta