https://github.com/pixelinc/rss-feed.cr
A rewrite of https://github.com/ga2mer/rss-feed-emitter.cr
https://github.com/pixelinc/rss-feed.cr
crystal crystal-lang crystal-language feed-aggregator feed-parser rss-feed-parser rss-feed-xml
Last synced: about 2 months ago
JSON representation
A rewrite of https://github.com/ga2mer/rss-feed-emitter.cr
- Host: GitHub
- URL: https://github.com/pixelinc/rss-feed.cr
- Owner: PixeLInc
- License: mit
- Created: 2018-07-15T23:41:54.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-16T00:45:40.000Z (over 6 years ago)
- Last Synced: 2025-01-30T19:56:24.349Z (4 months ago)
- Topics: crystal, crystal-lang, crystal-language, feed-aggregator, feed-parser, rss-feed-parser, rss-feed-xml
- Language: Crystal
- Size: 10.7 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RSS Feed Emitter
An rss feed aggregator based on/rewritten of https://github.com/ga2mer/rss-feed-emitter.cr
## Installation
Add this to your application's `shard.yml`:
```yaml
dependencies:
rss_feed:
github: pixelinc/rss-feed.cr
```## Usage
```crystal
require "rss_feed"# refresh_interval is a Timespan
# This means you can use something like 5.seconds, 5.minutes, etc.RSSFeeder::Feed.listen("url", refresh_interval: 5.seconds) do |item|
puts item.title
end
```## Contributing
1. Fork it ( https://github.com/pixelinc/rss-feed.cr/fork )
2. Create your feature branch (git checkout -b my-new-feature)
3. Commit your changes (git commit -am 'Add some feature')
4. Push to the branch (git push origin my-new-feature)
5. Create a new Pull Request## Contributors
- [PixeLInc](https://github.com/pixelinc) PixeLInc - maintainer
- [ga2mer](https://github.com/ga2mer) Nikita Savyolov - original creator