Saturday Morning Breakfast Cereal RSS Generator
This small project allows users to generate a simple RSS feed for the Saturday Morning Breakfast Cereal web comic. This particular RSS feed includes the primary comic, the hover text joke, and the hidden comic all inline. No more visiting the SMBC website to get an extra joke!
This is a Python 3 script which relies on the following third-party libraries:
- Clone this repo to a folder of your choice.
- Copy the configuration file template (smbc-config-template.json) to a new file named smbc-config.json.
- Update the configuration file (smbc-config.json) to your liking (see below for more on how to do this).
- Set up a cron job to run the script once per day.
The configuration file template (smbc-config-template.json) has the following components that need to be filled out. Note that this is a JSON file, so JSON syntax is expected.
The absolute path to a folder in which the RSS feeds themselves will live. Example:
The absolute URL that corresponds to the RSS feed directory above (internet visible). Example:
The URL of the source RSS feed to be read in (defaults to
https://www.smbc-comics.com/comic/rss). This should only need to change if the
URL of the official RSS feed changes.