Mercurial > hg > index.fcgi > www > www-1
comparison myrss/myrss_test_feed.py @ 75:ec48011dca1e
pics2: lazy load images in index page
author | paulo |
---|---|
date | Thu, 11 Feb 2016 00:02:19 -0800 |
parents | 315afeb47e52 |
children | e2817e789895 |
comparison
equal
deleted
inserted
replaced
0:8cb62cbbeedc | 1:db37cf336f5a |
---|---|
1 import datetime | 1 import datetime |
2 | 2 |
3 import myrss_app | 3 import myrss_app |
4 | 4 |
5 | 5 |
6 x = myrss_app._process_feed(open("rottentomatoes.rss.xml")) | 6 x = myrss_app._process_feed(open("yahoo_blogs.rss.xml")) |
7 y = myrss_app._to_html(datetime.datetime.now(), [x]) | 7 y = myrss_app._to_html(datetime.datetime.now(), [x]) |
8 | 8 |
9 print y | 9 print y |