https://github.com/diegocurbelo/feedex
Feedex is a simple elixir feed (atom/rss) parser
https://github.com/diegocurbelo/feedex
atom elixir parser rss
Last synced: 8 months ago
JSON representation
Feedex is a simple elixir feed (atom/rss) parser
- Host: GitHub
- URL: https://github.com/diegocurbelo/feedex
- Owner: diegocurbelo
- License: mit
- Created: 2017-08-02T02:56:29.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-03-19T21:01:06.000Z (over 8 years ago)
- Last Synced: 2025-09-20T00:00:13.603Z (9 months ago)
- Topics: atom, elixir, parser, rss
- Language: Elixir
- Homepage:
- Size: 237 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Feedex
[](https://travis-ci.org/diegocurbelo/feedex)
[](https://hex.pm/packages/feedex)
Elixir Feed Parser originally extracted from [reader.uy](https://reader.uy), a minimalist news reader.
## Installation
Add `feedex` to your list of dependencies in `mix.exs`:
```elixir
def deps do
[{:feedex, "~> 0.1"}]
end
```
## Usage
```elixir
> {:ok, feed} = Feedex.fetch_and_parse "http://9gagrss.com/feed/"
...
> {:ok, feed} = Feedex.parse " feed.title
"9GAG RSS feed"
> feed.entries |> Enum.map(&(&1.title))
["Are you the lucky one ?", "Hide and Seek", "Playing guitar for little cate", ...]
```
## Results
#### Feed
- `id` feed identifier (usually the site url)
- `title` feed title
- `description` feed description
- `url` feed url
- `site_url` feed main site url
- `updated` feed last modification timestamp
- `entries` entry list
#### Entry
- `id` unique identifier (SHA256)
- `title` entry title
- `url` entry permalink
- `content` entry content
- `updated` entry publication or modification timestamp
## Documentation
Documentation is available at [https://hexdocs.pm/feedex](https://hexdocs.pm/feedex)
## License
This software is licensed under [the MIT license](LICENSE.md).
## Credits
This project was inspired by [Feedjira](http://feedjira.com/) and [PicoFeed](https://github.com/miniflux/picoFeed).