Differences From Artifact [1863aef141]:
- File applications/mobileblur/controllers/feeds.py — part of check-in [b2d6f6e2e9] at 2011-11-22 05:22:25 on branch feature/pretty — Added some color. It doesn't look very good, but it's at least not atrocious anymore. (user: spiffy, size: 706) [annotate] [blame] [check-ins using]
To Artifact [30c965b149]:
- File applications/mobileblur/controllers/feeds.py — part of check-in [21cebdfb51] at 2011-11-22 22:50:39 on branch feature/pretty — Set the page title for the stories list page (user: spiffy, size: 747) [annotate] [blame] [check-ins using] [more...]
︙ | |||
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | + + | s = time.time() feeds = newsblur.feeds(flat=True)["feeds"] print time.time() - s s = time.time() feed = [feed for feed in feeds.itervalues() if feed["id"]==int(request.args[0])][0] print time.time() - s response.title = feed["feed_title"] return dict(stories=stories, feed=feed) def mark_read(): if len(request.args) > 0: newsblur.mark_feed_as_read(request.args[0]) redirect(URL("default", "index")) |