Skip to content

manukall/feeder_ex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 Cannot retrieve latest commit at this time.

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Wrapper for feeder. Elixir RSS parser

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages