Miscellany
public python v1 · immutableimport urllibimport stringimport sqlite3from BeautifulSoup import BeautifulStoneSoup feed_url = 'http://search.twitter.com/search.atom?geocode=41.012379%2C28.975926%2C15.0mi&q=+near%3Aistanbul+within%3A15mi'feed_xml = urllib.urlopen(feed_url).read()soup = BeautifulStoneSoup(feed_xml, convertEntities=BeautifulStoneSoup.HTML_ENTITIES)for entry in soup.findAll('entry'): print entry