Using Python to get push notifications from an RSS feed?

John Salerno johnjsal at gmail.com
Fri Apr 25 22:48:53 EDT 2014


As a little project for myself (and to help get immediate player notes for my fantasy baseball team), I'm wondering what modules I might need to do this. Basically, I'd like to get immediate notification when a new player note has been added to an RSS feed.

Since it will only be for specified players, I suppose I would use something like ElementTree to read the data and figure out if the update is about a relevant player, but how do I check the RSS feed (constantly) in the first place? I was reading a little about Universal Feed Parser, but I'm still not sure about how to do the "push" notification aspect.

I'd like immediate notifications if possible, or will I have to settle for periodically checking the feed? If the latter, how do I ensure I only check the newest updates since the last time, and not everything?

Thanks!
John



More information about the Python-list mailing list