Fetches and parses Ruthe.de website and stores timestamp and current comic number in a state file
Reads state file and generates RSS feed out of it.
By default, the RSS feed is written to
-o <filename>: Write RSS feed to
-o -: Write RSS feed to standard output instead of
ruthe.xml. Useful when called by RSS feed readers which can read feeds by calling scripts like Liferea.
-f: Fetch data from website before generating the RSS feed.
Default name for the generated RSS feed.
- RSS Maker
I suggest to create a subdirectory
scripts in your
folder to store feed generating scripts like this. Examples below for
Liferea 1.8. Adapt version number in paths as necessary.
mkdir ~/.liferea_1.8/scripts cd ~/.liferea_1.8/scripts git clone git://github.com/beanieboi/ruthe-rss.git
Then create a new subscription in Liferea with the source type "command". Enter
~/.liferea_1.8/scripts/ruthe_rss.rb -o - -f
as command. Liferea should show today's comics as sole entry for the feed.