annotate myrss/myrss_test_feed.py @ 47:315afeb47e52

myrss: fix handling embedded HTML tags and special characters; add myrss_test_feed.py
author paulo
date Wed, 13 Feb 2013 00:11:58 -0800
parents
children c7bbd3805509
rev   line source
paulo@47 1 import datetime
paulo@47 2
paulo@47 3 import myrss_app
paulo@47 4
paulo@47 5
paulo@47 6 x = myrss_app._process_feed(open("rottentomatoes.rss.xml"))
paulo@47 7 y = myrss_app._to_html(datetime.datetime.now(), [x])
paulo@47 8
paulo@47 9 print y