View Source Gluttony (gluttony v0.1.0)
Parses RSS 2.0 and Atom 1.0 feeds.
References
- RSS 2.0 Specs: https://www.rssboard.org/rss-specification
- Atom 1.0 Specs: https://xml2rfc.tools.ietf.org/public/rfc/html/rfc4287.html
extra-information
Extra information
- W3C Feed Docs: https://validator.w3.org/feed/docs/
- RSS 2.0 and Atom 1.0 compared: http://www.intertwingly.net/wiki/pie/Rss20AndAtom10Compared
Link to this section Summary
Functions
Parses the given string and returns the values.
Link to this section Functions
Parses the given string and returns the values.
Examples
Parsing a xml string from a RSS feed:
{:ok, %{feed: feed, entries: entries}} = Gluttone.parse_string(xml)When a error happens, the reason is returned:
{:halt, reason} = Gluttone.parse_string(xml)