import feedparser

def printDict(di, format="%-25s %s"):
    for (key, val) in di.items():
        print format % (str(key)+':', val)

rss = "http://pipes.yahoo.com/pipes/pipe.run?_id=08f3cfc2955ab60903bac0395783ef96&_render=rss"
feed = feedparser.parse(rss)

penisfile = open('tmp.html','wb')

penisfile.write('<ul>')
for entry in feed.entries:
    penisfile.write('<li>')
    penisfile.write('<a href="http://twitter.com/' + entry.author + '">' + entry.author + '</a> <a href="' + entry.links[0].href + '">said</a>: ' + entry.summary)
    penisfile.write('</li>')
penisfile.write("</ul>")