Get full-text content for any RSS-feed.
Can "proxy"/mirror any RSS Feed to fetch full-text Content. Allows integration into any feed reader, without plugins or further configuration required.
docker-compose up -d
git clone https://github.com/Kombustor/rss-fulltext-proxy.git
cd rss-fulltext-proxy
npm install
npm run build
node dist/server.js
Note: You have to set the environment variables described in Configuration yourself, and you have to start a local redis server.
The application is easily configurable with environment variables.
Name | Type | Default | Description |
---|---|---|---|
PORT | number | 3000 | The port the webserver listens on. |
REDIS_URL | string | redis://127.0.0.1 | The redis connection URL for caching. |
CACHE_EXPIRY_SECONDS | number | 900 | The number of seconds for cache entries to expire. |
We have to define two query parameters:
Identifier | Description |
---|---|
feed | The original feed URL to proxy. |
selectors | URL-encoded string[] of CSS-selectors. |
http://rss.sueddeutsche.de/rss/Topthemen
["figure.asset-image", "section.body > p, section.body > h3"]
%5B%22figure.asset-image%22%2C%20%22section.body%20%3E%20p%2C%20section.body%20%3E%20h3%22%5D
http://host:post/?feed=http://rss.sueddeutsche.de/rss/Topthemen&selectors=%5B%22figure.asset-image%22%2C%20%22section.body%20%3E%20p%2C%20section.body%20%3E%20h3%22%5D
A collection of selectors can be found on the wiki page. If you create or improve a selector, feel free to open a pull request to add it to the wiki page.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.