import feedparser try: feed_in = feedparser.parse('http://www.biblegateway.com/votd/get/?format=atom') try: feed = str(feed_in.entries[0].title) print feed except: print 'No Content' except: print 'Not Connected'