1

Simple text-only quote of the day from http://www.brainyquote.com/. I found the site providing quality quotes for a while now.

Quote script:

curl http://feeds.feedburner.com/brainyquote/QUOTEBR | grep -m 3 description | sed -e 's/(.*)//' -e 's/.*//' | sed -e 's/(.*Quote of the Day from BrainyQuote.com)//' | sed -e 's/(.*logo)//' 

Author script:

curl http://feeds.feedburner.com/brainyquote/QUOTEBR | grep -m 3 title | sed -e 's/(.*)//' -e 's/.*//' | sed -e 's/(.*Quote of the Day)//' 

This can be customized to work on any background.

Cheers.

Comments

User Avatar
woodnut 659 days ago
Neither of the scripts work?
User Avatar
nevery 629 days ago
This is a fix but I suck at bash, so it probably could be improved:

curl -s http://feeds.feedburner.com/brainyquote/QUOTEBR | grep -m 3 description | sed -e 's/(.*Quote of the Day from BrainyQuote.com)//p' | sed -e 's/(.*logo)//' | sed '1,2d' | sed -e 's/]*>//g'
User Avatar
nevery 629 days ago
Titled:

curl -s http://feeds.feedburner.com/brainyquote/QUOTEBR | grep -m 3 title | sed -e 's/(.*Quote of the Day from BrainyQuote.com)//p' | sed -e 's/(.*logo)//' | sed '1,2d' | sed -e 's/]*>//g'
User Avatar
ren7on 118 days ago
Hi! do you know how i can show accented characters? i made a script for italian quote of the day but with every outpot codemaker i use (UTF, UNicode, ascii) i cannot show accented signs!

thank you!

Log in to comment or register here.