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)
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
Nimrod Kerrett b0ee281cd6 Mention that fortune has to be installed :s il y a 2 ans
.gitignore Remove rss file from repo il y a 3 ans
README.md Mention that fortune has to be installed :s il y a 2 ans
fortunefeed.py Ease fortune length (mystery why Kodi truncates) il y a 3 ans
index.html Link from index.html to fortune.rss (d'Oh) il y a 3 ans
install.sh Initial commit il y a 3 ans
makefortune.sh Generate then mv feed (d'Oh) il y a 3 ans
requirements.txt Initial commit il y a 3 ans

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.