|
Project Information
Members
|
lifefeed is a simple Django life stream app that lets you pull in your life stream from FriendFeed. InstallOnce 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 TagIn 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 %}TemplateIf 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 CSSYou will most likely want to create your own CSS for the items. For an example see friendfeed.css DemoYou can see a demo here |