khabar-corner-parser
Grab Khabar corner text from Republika online
This tiny python script let you grab khabar corner text on http://www.republika.co.id. I made this basically for Today Scripts, a notification widget application for OS X 10.+ , but it could be used from another application like Conky(Linux), GeekTool, or directly from Terminal.
About Khabar corner.
It is simply part of Republika website that displays verses of al-Quran and Hadith randomly.
What do you need?
This script requires beautifulsoup4 python module. You can use pip or easy_install to install it.
# pip install beautifulsoup4
or
# easy_install beautifulsoup4
How to use it?
In Today Scripts widget, just add new script:
Set the label, fill program with the location of Python command, and finally copy-paste the khabar-corner.py content into the text field:
You're done!
"Though a program be but three lines long, someday it will have to
be maintained."
-- The Tao of Programming