I'm using following code to get the items of an RSS feed. Unfortunately I'm not able to get only the latest three items.
import feedparserfeed = feedparser.parse('http://www.macstories.net/feed/')for e in feed['entries']: print e.get('title','') print