Logo

0x5a.live

for different kinds of informations and explorations.

GitHub - manukall/feeder_ex: Wrapper for feeder. Elixir RSS parser

Wrapper for feeder. Elixir RSS parser. Contribute to manukall/feeder_ex development by creating an account on GitHub.

Visit SiteGitHub - manukall/feeder_ex: Wrapper for feeder. Elixir RSS parser

GitHub - manukall/feeder_ex: Wrapper for feeder. Elixir RSS parser

Wrapper for feeder. Elixir RSS parser. Contribute to manukall/feeder_ex development by creating an account on GitHub.

Powered by 0x5a.live ๐Ÿ’—

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

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

FeederEx.Entry

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

FeederEx.Enclosure

  • url
  • size
  • type

Elixir Resources

are all listed below.

Resources

listed to get explored on!!

Made with โค๏ธ

to provide different kinds of informations and resources.