Skip to main content

Improve RSS/Atom feeds

Project description

Shitty Feed To Cool Feed (sf2cf)

Some RSS feeds do not actually include any "real" content: instead, they only provide a link to a website, which makes reading your feeds in your favorite feed reader harder than it should be.

Shitty Feed To Cool Feed (sf2cf) turns such a shitty RSS/Atom feed into a really cool one, featuring the actual content users are interested in.

Some plugins come bundled with sf2cf, and users may write their own plugins in order to support more websites (see HACKING).

Installation

$ python3 setup.py install --user

OR

# python3 setup.py install

Usage example

List all the available plugins:

$ sf2cf -l
dilbert 0.1
	This feed provider creates an ATOM feed similar to the one provided by
http://www.dilbert.com, but makes sure the comic is included.

Get more help about a given plugin:

$ sf2cf --help-dilbert
* DESCRIPTION
This feed provider creates an ATOM feed similar to the one provided by
http://www.dilbert.com, but makes sure the comic is included.

* SAMPLE CONF
[feed:dilbert]
plugin=dilbert
output=/path/to/output.xml

A configuration file must be provided to sf2cf. See the relevant plugin help for its configuration documentation.

$ cat config.ini
[feed:dilbert]
plugin=dilbert
output=/home/user/rss-feeds/dilbert.xml

Then, one may run sf2cf like this:

$ sf2cf -c config.ini
[+] Loading dilbert
[+] Using http://www.dilbert.com/feed as an input feed.
[+] Writing the output feed to /home/user/rss-feeds/dilbert.xml.

This should probably be done using cron(8).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sf2cf-0.3.1.tar.gz (9.5 kB view details)

Uploaded Source

Built Distribution

sf2cf-0.3.1-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

Details for the file sf2cf-0.3.1.tar.gz.

File metadata

  • Download URL: sf2cf-0.3.1.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.4.2 requests/2.23.0 setuptools/49.3.1 requests-toolbelt/0.8.0 tqdm/4.48.2 CPython/3.8.6

File hashes

Hashes for sf2cf-0.3.1.tar.gz
Algorithm Hash digest
SHA256 1e8ac5104892af645c4f701f3690320b95b2d21c18fc698f3f614c497ada35d1
MD5 aa0876c84911962cb6a0525939b57ac7
BLAKE2b-256 c215d04dc069c5cb7e8460440ffb0c311cb378835a607a4e2c22c9ed415304c0

See more details on using hashes here.

File details

Details for the file sf2cf-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: sf2cf-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 13.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.4.2 requests/2.23.0 setuptools/49.3.1 requests-toolbelt/0.8.0 tqdm/4.48.2 CPython/3.8.6

File hashes

Hashes for sf2cf-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fd312b7c4f6973640c085fcb9eed2a9252803d985c940b4d62affc004f34461c
MD5 1e1228d36402846a518b1f1d5d5b9143
BLAKE2b-256 d00dd286735c2a6794205b51da0a8f41a9f59a5eb9ea2668136e738093a18ee3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page