def entry(request, entry):
    if request.session.get('nickname', None):
        f = friendfeed.FriendFeed(request.session['nickname'],
            request.session['key'])
    else:
        f = friendfeed.FriendFeed()
    data = f.fetch_entry(entry)
    if 'errorCode' in data:
        return error(request, data)
    extra_context = {
        'entries': data['entries'],
        'permalink': True,
        'title': data['entries'][0]['title'],
    }
    return render_to_response('entry.html', extra_context, context_instance=RequestContext(request))
View a single entry.
dataset/ETHPy150Open bgolub/fftogo/fftogo/views.py/entry