diff 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
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/myrss/myrss_test_feed.py	Wed Feb 13 00:11:58 2013 -0800
     1.3 @@ -0,0 +1,9 @@
     1.4 +import datetime
     1.5 +
     1.6 +import myrss_app
     1.7 +
     1.8 +
     1.9 +x = myrss_app._process_feed(open("rottentomatoes.rss.xml"))
    1.10 +y = myrss_app._to_html(datetime.datetime.now(), [x])
    1.11 +
    1.12 +print y