Skip to content
Wrapper for feeder. Elixir RSS parser
Elixir
Latest commit 82e74f8 Jun 19, 2016 @manukall 0.0.3
Failed to load latest commit information.
config initial commit Jan 16, 2015
lib added enclosure struct Jan 17, 2015
test added enclosure struct Jan 17, 2015
.gitignore initial commit Jan 16, 2015
.travis.yml Update .travis.yml May 29, 2015
README.md added enclosure struct Jan 17, 2015
mix.exs 0.0.3 Jun 19, 2016
mix.lock initial commit Jan 16, 2015

README.md

FeederEx

Build Status

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

Usage

iex> HTTPoison.start
iex> {:ok, %HTTPoison.Response{body: body}} = HTTPoison.get("http://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

  • author
  • id
  • image
  • link
  • language
  • subtitle
  • summary
  • title
  • updated
  • entries

FeederEx.Entry

  • author
  • duration
  • enclosure
  • id
  • image
  • link
  • subtitle
  • summary
  • title
  • updated

FeederEx.Enclosure

  • url
  • size
  • type
Something went wrong with that request. Please try again.