https://github.com/ruivieira/rss
RSS parser for Crystal
https://github.com/ruivieira/rss
crystal parser rss
Last synced: 3 months ago
JSON representation
RSS parser for Crystal
- Host: GitHub
- URL: https://github.com/ruivieira/rss
- Owner: ruivieira
- License: mit
- Created: 2016-11-24T19:37:29.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2020-11-09T00:47:56.000Z (almost 5 years ago)
- Last Synced: 2024-12-06T19:38:44.232Z (10 months ago)
- Topics: crystal, parser, rss
- Language: Crystal
- Homepage:
- Size: 29.3 KB
- Stars: 8
- Watchers: 4
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rss
RSS parser for Crystal
## Installation
Add this to your application's `shard.yml`:
```yaml
dependencies:
rss:
github: ruivieira/rss
```## Usage
```crystal
require "rss"feed = RSS.parse "https://news.ycombinator.com/rss"
feed.items.each do |e|
str = "title: #{e.title}\nlink: #{e.link}\npubDate: #{e.pubDate}\n"
str += "description: #{e.description}\ncomments: #{e.comments}\n"
puts str
end
```Warning:
- Pre-release (API will break)
## Contributing
1. Fork it ( https://github.com/ruivieira/rss/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
- [ruivieira](https://github.com/ruivieira) Rui Vieira - creator, maintainer
- [modsognir](https://github.com/modsognir) modsognir - contributor
- [data-niklas](https://github.com/data-niklas) data-niklas - contributor
- [MineBartekSA](https://github.com/MineBartekSA) - contributor