What's new? | Help | Directory | Sign in
Google
  
  
  
  
    
Code License: Apache License 2.0
Labels: Django, Python, FriendFeed
Join project
Project owners:
  skabber

lifefeed is a simple Django life stream app that lets you pull in your life stream from FriendFeed.

Install

Once you have the code add the following line to your INSTALLED_APPS

'lifefeed'

If you wish to used the default html template be sure your TEMPLATE_LOADERS has the following

'django.template.loaders.app_directories.load_template_source'

Template Tag

In any template where you would like your FriendFeed lifestream to show

{% load lifefeed %}{% load cache %}
{% cache 900 friendfeed %}
    {% lifefeed "YOUR FRIEND FEED USERNAME" 10 %}
{% endcache %}

Template

If you would like to use your own template to render the items create a friendfeed.html template in the root of your templates directory. Or you can render any sources items differntley by dropping a template named after a friendfeed source id. For example netflix.html

CSS

You will most likely want to create your own CSS for the items. For an example see friendfeed.css

Demo

You can see a demo here