Miscellany
public text v1 · immutableimport urllib
from xml.dom import minidom
sock = urllib.urlopen("http://digg.com/rss/index.xml")
feed = minidom.parse(sock)
title = feed.getElementsByTagName('title')
for i in range(len(title)):
if not "digg" == title[i].firstChild.data:
print title[i].firstChild.data
if i == 10:
break