MobileBlur

stories.py at [b33aaf3ac3]
Login

stories.py at [b33aaf3ac3]

File applications/mobileblur/controllers/stories.py artifact 59984e848a part of check-in b33aaf3ac3


# -*- coding: utf-8 -*-

from pprint import pprint

def view():
    stories = newsblur.feed(request.vars["feed_id"])["stories"]
    story = [story for story in stories if story["id"]==request.vars["story"]][0]
    return dict(story=story)