html-to-rss
Version, currently 1.0.12 versions
- 1.0.1latestJun 14, 2021
- 1.0.0not indexedJun 30, 2021
github.com/sseyren/html-to-rss
RSS feed generator for couple of web pages.
Installation
# Add this to your shard.yml
dependencies:
html-to-rss:
github: sseyren/html-to-rss
version: ~> 1.0.1Then run:
shards installshard.yml
- Crystal
1.0.0- License
- MIT
- Author
- Serhat Seyren
- Target
html-to-rssfrom src/html-to-rss.cr
Dependencies
Runtime Dependencies
- cryss*github: xeals/cryss, branch: master
- kemal*github: kemalcr/kemal
- myhtml*github: kostya/myhtml
- spec-kemal*github: kemalcr/spec-kemal
README
html-to-rss
This project aims to parse HTML page and generate a RSS feed from it. That's it. RSS is a great thing to have, whenever something changes in a website you will be notified. I don't want to go and check websites regularly. A computer/mobile device should do this, not me.
Installation
Get the latest release.
Usage
Environment variables:
KEMAL_ENV: (Optional) It's because this project uses Kemal. Options;development,production,test.HTMLTORSS_HOST: (Optional) Hostname for generated urls. Example;HTMLTORSS_HOST='https://mywebsite.com'
You can use --help to get command line arguments.
Development
A new scraper needs to be in RssScrapers module, based on
RssScrapers::BaseScraper and should be in src/scrapers/. After that, It
needs to be registered in HtmlToRss::SCRAPER_TREE constant.
Testing
Scraper test scripts needs to be in spec/scrapers/. A new folder can be
created for a scraper. One or more HTML examples can be located in this folder.
This project uses Kemal, so you need to test this with a environment variable:
$ KEMAL_ENV=test crystal spec
Contributing
- Fork it (https://github.com/thesseyren/html-to-rss/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
Contributors
- Serhat Seyren - creator and maintainer
License
MIT
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
1.0.1- Tagged
- Jun 14, 2021
- Commit
726108ebdce0- Crystal
1.0.0- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/sseyren/html-to-rss
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 15, 2026
- Synced
- Aug 15, 2026
- Versions
- 2