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 twitter.com) 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 Responses to Rss Parser for twitter

  1. Pingback: Rss Parser for twitter

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

    Regards,

    John

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

  4. 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!

  5. When I run this I get the following error

    1
    twitter: Testing, testing
    2
    Traceback (most recent call last):
    File “check_twitter.py”, line 52, in
    TXT2SCROLL=(d.entries[i-1].title)
    IndexError: list index out of range

    Can anyone help?

  6. 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
    1
    doorsign: Testing, testing
    Traceback (most recent call last):
    File “check_twitter_tiny.py”, line 73, in
    ser.write(“?f”) # clear lcd
    NameError: name ‘ser’ is not defined

  7. Pingback: Arduino Twitter LCD | Internet and Ecommerce Consultant

  8. Sorry, but it appears the download link is broken. Please change/re-upload. I really want to make this project. Thanks.

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