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)
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
Nimrod Kerrett b0ee281cd6 Mention that fortune has to be installed :s před 2 roky
.gitignore Remove rss file from repo před 3 roky
README.md Mention that fortune has to be installed :s před 2 roky
fortunefeed.py Ease fortune length (mystery why Kodi truncates) před 3 roky
index.html Link from index.html to fortune.rss (d'Oh) před 3 roky
install.sh Initial commit před 3 roky
makefortune.sh Generate then mv feed (d'Oh) před 3 roky
requirements.txt Initial commit před 3 roky

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.