Merge multiple feeds (RSS/Atom/JSON) into a single RSS feed.
Go to file
Dom Rodriguez a183c6ceab
Merge pull request #7 from shymega/dependabot/pip/lxml-4.6.3
Bump lxml from 4.6.2 to 4.6.3
2021-03-31 21:05:20 +01: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.6.2 to 4.6.3 2021-03-31 19:52:53 +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.