MBMark Balakrishnan
← The build log · 05
Python tkinter feedparser

Python RSS Reader

A lightweight desktop ticker that floats over whatever you're doing, surfacing the latest from SGX and the Straits Times.

PublishedAugust 2017
ByMark Bala
FieldPython
The Python RSS reader widget floating on the desktop

A simple RSS reader written in Python. It floats on top of any open application and can be dragged anywhere on screen, so it never obscures anything important.

What it does

  • Monitors two feeds: SGX company announcements and the Straits Times Singapore section.
  • On launch it pulls the 10 latest posts from each source; thereafter each is polled once a minute for new entries.
  • It keeps a rolling list of the 10 most recent entries per source and displays a random one for eight seconds at a time.

Libraries

  • Standard library — tkinter, sys and random.
  • Third-party — feedparser to parse the RSS data.

Issues & ideas

  • Add more relevant feeds.
  • Consider a multi-line output.
  • No notification or alert yet when a new item arrives.
Code & details
Next in the log · 06

Plot Clock