Rss Parser for twitter

Continuing on the line of arduino+rss hacks, here is some python code that parses Tweets. By changing the rss feed you can either follow one person’s tweets, or you can access your “follow” feed (i.e. everyone you follow on In order to do the second option you will have to supply your login credentials.

It is a simple script – select the number of tweets to display, your login and password (if you want to follow your “follows”) or a single userid to follow, enter in your serial port, and off it goes! Here is the arduino/twitter rss parser python code as a zip file.

On a related note – I would like to add a gui to this and I have no idea how. Does anyone have a suggestion as for how to create a gui that launches python scripts? I have been thinking applescript studio, but I’m not sure.

If you are wondering what is going on – this is in reference to my previous post where I set up an arduino based rss reader. That is a good place to start. Next you can check out the weather script, and you’re up to speed!

12 replies on “Rss Parser for twitter”

  1. I have a regular display, ie no serial connection. How can I get this working?



  2. I had to download the and pywin32-212.win32-py2.6.exe (both available on to get this to work. These modules weren’t included in my regular install of Python v. 2.6

  3. hi john, you can either use the parallel way of connecting it, or buy a serial lcd controller. The lcd 117 kit I used is from either paul anderson or modern device. The parallel way of connecting it is documented on the arduino playground. It uses a lot of wires, but it is cheaper. As far as i know the code i wrote would have to be modified if you go the parallell route. Good luck!

  4. When I run this I get the following error

    twitter: Testing, testing
    Traceback (most recent call last):
    File “”, line 52, in
    IndexError: list index out of range

    Can anyone help?

  5. Sorry to post again, but I’ve looked at this over and over – if I just run the code without anything attached I get this error

    no device connected – printing to terminal only
    doorsign: Testing, testing
    Traceback (most recent call last):
    File “”, line 73, in
    ser.write(“?f”) # clear lcd
    NameError: name ‘ser’ is not defined

  6. Hi, could you please update the download link for the twitter rss script or send the file via email? Thx

Comments are closed.