The following Python code could be used to display the titles of an RSS feed on an OLED display, attached to a Raspberry Pi.
You need to install the Python “feedparser” package:
sudo apt-get install feedparser
Don’t forget to adjust the OLED wiring values in the “OLED initialization” part.
Then, call the script with two parameters:
./feed.py http://www.yourfeed.com/rss 10
where the first parameter is the URL to the RSS feed and the second one is the number of seconds after a new title will be displayed on the OLED.
And here is the whole script: