📇 A growing collection of html2rss feed configs. Generate configs with the handy generator.
✌️ This repository contains html2rss
feed configs for many websites.
👉 Find all feed configs in the configs/
directory.
☝️ A handy usage method is via html2rss-web
.
💪 Contributions are more than welcome!
Fork this repository,
add your feed config and
create a pull request.
The html2rss “ecosystem” is a community project. We welcome contributions of all kinds. This includes new feed configs, suggesting and implementing features, providing bug fixes, documentation improvements, and any other kind of help.
Which way you choose to add a new feed config is up to you. You can do it manually or risk the “wizard-like” generator. Please submit a pull request!
After you’re done, you can test your feed config by running bundle exec html2rss feed lib/html2rss/configs/<domainname.tld>/<path>.yml
.
bundle install
(you need to have Ruby >= 3.1 installed).lib/html2rss/configs/<domainname.tld>/<path>.yml
<path>.yml
file.spec/html2rss/configs/<domainname.tld>/<path>_spec.rb
file.
RSpec.describe '<domainname.tld>/<path>' do
include_examples 'config.yml', described_class
end
There’s was a try to build a wizard like TUI based generator for that! 🆒 It hasn’t seen much love, tho, but it might gets you going or crash in the middle of the process.
bundle install
(you need to have Ruby >= 3.1 installed).bin/generator
html2rss
‘s README to see what is possible or browse existing configs for inspiration.bundle exec html2rss feed lib/html2rss/configs/domainname.tld/whatever
channel
attributesWhen you’re using dynamic parameters, you have to provide the parameters to the spec, too:
include_examples 'config.yml', 'domainname.tld/whatever.yml', id: 42
CLI usage:
bundle exec html2rss feed lib/html2rss/configs/domainname.tld/whatever id=42
Add to your Gemfile:
gem 'html2rss-configs', git: 'https://github.com/html2rss/html2rss-configs.git'
Use it in your code:
require 'html2rss/configs'
config = Html2rss::Configs.find_by_name('domainname.tld/whatever')
This will return the feed config.
html2rss-web
If you’re running html2rss-web
,
you have nothing more to do! 🎉 Just request them from your instance at path: /<domainname.tld/path>.rss
and you’ll be served the RSS.
Modifying existing or adding new feed configs will trigger the CI to fetch the feed
and check for the presence of feed items.