comparison myrss/myrss_test_feed.py @ 50:92e7bc3c5755

sort entries on index.php by LastMod date, descending order
author paulo
date Tue, 12 Mar 2013 22:42:13 -0600
parents
children c7bbd3805509
comparison
equal deleted inserted replaced
-1:000000000000 0:8cb62cbbeedc
1 import datetime
2
3 import myrss_app
4
5
6 x = myrss_app._process_feed(open("rottentomatoes.rss.xml"))
7 y = myrss_app._to_html(datetime.datetime.now(), [x])
8
9 print y