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)
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
Nimrod Kerrett b0ee281cd6 Mention that fortune has to be installed :s 2 år sedan
.gitignore Remove rss file from repo 4 år sedan
README.md Mention that fortune has to be installed :s 2 år sedan
fortunefeed.py Ease fortune length (mystery why Kodi truncates) 4 år sedan
index.html Link from index.html to fortune.rss (d'Oh) 4 år sedan
install.sh Initial commit 4 år sedan
makefortune.sh Generate then mv feed (d'Oh) 4 år sedan
requirements.txt Initial commit 4 år sedan

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.