Home

Awesome

FeederEx

Build Status

Simple wrapper for https://github.com/michaelnisi/feeder

Usage

iex> HTTPoison.start
iex> {:ok, %HTTPoison.Response{body: body}} = HTTPoison.get("https://www.rssboard.org/files/sample-rss-2.xml")
iex> {:ok, feed, _} = FeederEx.parse(body)
...
iex> feed.title
"Liftoff News"
iex> Enum.map feed.entries, fn(entry) -> entry.title end
["Star City", :undefined, "The Engine That Does More",
 "Astronauts' Dirty Laundry"]

Results

FeederEx.Feed

FeederEx.Entry

FeederEx.Enclosure