Script to generate an RSS feed containing a few `fortune -s` items. Use it as a cron job to generate something you can see in a ticker (e.g. on Kodi)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Nimrod Kerrett b0ee281cd6 Mention that fortune has to be installed :s пре 2 година
.gitignore Remove rss file from repo пре 3 година
README.md Mention that fortune has to be installed :s пре 2 година
fortunefeed.py Ease fortune length (mystery why Kodi truncates) пре 3 година
index.html Link from index.html to fortune.rss (d'Oh) пре 3 година
install.sh Initial commit пре 3 година
makefortune.sh Generate then mv feed (d'Oh) пре 3 година
requirements.txt Initial commit пре 3 година

README.md

To install

./install.sh

Also make sure /usr/games/fortune exists (for example, on Ubuntu nowadays you run sudo apt install fortune-mod in order to install it).

To run

/PATH/TO/makefortune.sh would generate /PATH/TO/fortune.rss.

Tip: do this as a cron job, and make /PATH/TO/ accessible by web.