はてなのPython日記から2006-11-13のエントリだけ抜き出すのにDOMだと

import urllib
def hatena():
    return urllib.urlopen("http://d.hatena.ne.jp/keyworddiary/Python?mode=rss";)

import xml.dom.minidom
dom = xml.dom.minidom.parse(hatena())
for elem in dom.getElementsByTagName("item"):
    if elem.getElementsByTagName("dc:date")[0].firstChild.nodeValue == "2006-11-13":
        print elem.getElementsByTagName("title")[0].firstChild.nodeValue