Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/manukall/feeder_ex
Wrapper for feeder. Elixir RSS parser
https://github.com/manukall/feeder_ex
Last synced: 3 months ago
JSON representation
Wrapper for feeder. Elixir RSS parser
- Host: GitHub
- URL: https://github.com/manukall/feeder_ex
- Owner: manukall
- Created: 2015-01-16T14:47:10.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2021-08-16T09:02:37.000Z (over 3 years ago)
- Last Synced: 2024-08-10T10:18:49.401Z (6 months ago)
- Language: Elixir
- Size: 20.5 KB
- Stars: 70
- Watchers: 2
- Forks: 13
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- freaking_awesome_elixir - Elixir - RSS feed parser. Simple wrapper for feeder. (Feeds)
- fucking-awesome-elixir - feeder_ex - RSS feed parser. Simple wrapper for feeder. (Feeds)
- awesome-elixir - feeder_ex - RSS feed parser. Simple wrapper for feeder. (Feeds)
README
FeederEx
========
[![Build Status](https://travis-ci.org/manukall/feeder_ex.svg?branch=master)](https://travis-ci.org/manukall/feeder_ex)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