Merge multiple feeds (RSS/Atom/JSON) into a single RSS feed.
Go to file
dependabot[bot] df40d760ac
Bump lxml from 4.5.2 to 4.6.2
Bumps [lxml](https://github.com/lxml/lxml) from 4.5.2 to 4.6.2.
- [Release notes](https://github.com/lxml/lxml/releases)
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt)
- [Commits](https://github.com/lxml/lxml/compare/lxml-4.5.2...lxml-4.6.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-07 23:46:07 +00:00
res [init](codebase): Initial commit 2020-08-18 00:24:10 +01:00
.env.sample [init](codebase): Initial commit 2020-08-18 00:24:10 +01:00
.gitignore [init](codebase): Initial commit 2020-08-18 00:24:10 +01:00
LICENSE [init](codebase): Initial commit 2020-08-18 00:24:10 +01:00
README.md [init](codebase): Initial commit 2020-08-18 00:24:10 +01:00
requirements.txt Bump lxml from 4.5.2 to 4.6.2 2021-01-07 23:46:07 +00:00
singlerss.py [feat](logging): Make logging Pythonic 2020-09-17 23:16:54 +01:00

singlerss

Description

singlerss combines all feeds described in a OPML file into one feed. This can either be outputted into stdout or a file, as specifed by program arguments, and configured by the environment variables.

Configuration

SingleRSS is configured by environment variables.

See .env.sample. You must copy .env.sample to .env.

SINGLERSS_FEED_OUT_PATH defines the relative OR absolute path to output the feed to, IF SINGLERSS_FEED_OUT_TYPE is set to file. If SINGLERSS_FEED_OUT_TYPE is set to stdout, you must redirect output to the file you want it written to.

SINGLERSS_FEED_LIST_PATH must be set to the input list of feeds you want to be collated into one feed. This must be a newline delimited file of URLs.

Running

You may run this directly, after sourcing .env and exporting the variables, with ./singlerss.py. Alternatively, I have provided a systemd unit and timer, which I will offer support for, and a basic crontab. I do not use cron, so I cannot offer support for it.

Licensing

This program is licensed under the Apache License 2.0.

Copyright (c) Dom Rodriguez (shymega) 2020.