Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vinibrsl/liverss
⌛️ Library to stream RSS feeds built with Elixir/OTP
https://github.com/vinibrsl/liverss
elixir elixir-lang genserver rss rss-feed
Last synced: about 2 months ago
JSON representation
⌛️ Library to stream RSS feeds built with Elixir/OTP
- Host: GitHub
- URL: https://github.com/vinibrsl/liverss
- Owner: vinibrsl
- License: mit
- Created: 2022-07-12T00:22:45.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-13T16:40:52.000Z (over 2 years ago)
- Last Synced: 2024-11-02T13:42:16.789Z (about 2 months ago)
- Topics: elixir, elixir-lang, genserver, rss, rss-feed
- Language: Elixir
- Homepage: https://hexdocs.pm/liverss/readme.html
- Size: 47.9 KB
- Stars: 11
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG
- License: LICENSE
Awesome Lists containing this project
README
# LiveRSS
Stream RSS feeds with this GenServer.
Some of the features of LiveRSS are:
- Automatically polling of RSS feeds with a GenServer process
- Configurable polling rate
- RSS feed parsing using pure Elixir with `feeder_ex````elixir
LiveRSS.Poll.start_link(
name: :new_york_times,
url: "https://rss.nytimes.com/services/xml/rss/nyt/World.xml",
refresh_every: :timer.hours(2)
)LiveRSS.get(:new_york_times)
# %FeederEx.Feed{
# id: nil,
# author: nil,
# entries: [],
# image: "https://static01.nyt.com/images/misc/NYT_logo_rss_250x40.png",
# language: "en-us",
# link: "https://www.nytimes.com/section/world",
# subtitle: nil,
# summary: nil,
# title: "NYT > World News",
# updated: "Tue, 12 Jul 2022 00:11:46 +0000",
# url: "https://rss.nytimes.com/services/xml/rss/nyt/World.xml"
# }
```## Installation
The package can be installed using [hex.pm](http://hex.pm/packages/liverss) by adding
`liverss` to your list of dependencies in `mix.exs`:```elixir
def deps do
[
{:liverss, "~> 0.1.0"}
]
end
```## Documentation
The documentation for this library can be found at [HexDocs](https://hexdocs.pm/liverss/readme.html).