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ů.

fortune.rss 1.3KB

1234567891011121314151617181920212223
  1. <rss version="2.0"><channel><title>Fortune</title><link>https://linux.die.net/man/6/fortune</link><description>Random, hopefully interesting, adages</description><item><title>You will stop at nothing to reach your objective, but only because your
  2. brakes are defective.
  3. </title></item><item><title>Let us endeavor so to live that when we come to die even the undertaker will be
  4. sorry.
  5. -- Mark Twain, "Pudd'nhead Wilson's Calendar"
  6. </title></item><item><title>The lunatic, the lover, and the poet,
  7. Are of imagination all compact...
  8. -- Wm. Shakespeare, "A Midsummer Night's Dream"
  9. </title></item><item><title>Hain't we got all the fools in town on our side? And hain't that a big
  10. enough majority in any town?
  11. -- Mark Twain, "Huckleberry Finn"
  12. </title></item><item><title>You'll be sorry...
  13. </title></item><item><title>Having nothing, nothing can he lose.
  14. -- William Shakespeare, "Henry VI"
  15. </title></item><item><title>Beware of Bigfoot!
  16. </title></item><item><title>Writing is turning one's worst moments into money.
  17. -- J.P. Donleavy
  18. </title></item><item><title>Q: Why is Christmas just like a day at the office?
  19. A: You do all of the work and the fat guy in the suit
  20. gets all the credit.
  21. </title></item><item><title>Q: How many WASPs does it take to change a light bulb?
  22. A: One.
  23. </title></item></channel></rss>