MobileBlur

stories.py at [a162dcef14]
Login

stories.py at [a162dcef14]

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


# -*- 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)