view myrss/myrss_test_feed.py @ 69:ae0f2f438a95

myrss: add support for new "purl" RSS type
author paulo
date Thu, 11 Jun 2015 22:03:34 -0700
parents
children c7bbd3805509
line source
1 import datetime
3 import myrss_app
6 x = myrss_app._process_feed(open("rottentomatoes.rss.xml"))
7 y = myrss_app._to_html(datetime.datetime.now(), [x])
9 print y