A simple Django life stream
Published Thu Jul 03rd 2008 in Django Python FriendFeedAfter reading Ryan Bergs' "The basics of creating a tumblelog with Django" (part1) and (part2), I realized that I wanted a similar tumblog/life stream but I didn't want to have to go through all the work of saving those objects to the database. After all, isn't all that data already stored in their respective systems. And since I am using FriendFeed, which is again duplicating all that data, I don't want to be duplicating it yet another time.
That's when the light bulb went off. Using the FriendFeed API and a bit of caching I can pull in my lifestream from FriendFeed using only a custom tag. So I came up with what I call lifefeed Just add "lifefeed" to your installed apps and you can now do this from any template
{% load lifefeed %}{% load cache %}
{% cache 900 friendfeed %}
{% lifefeed "YOUR FRIEND FEED USERNAME" %}
{% endcache %}
- Consolidate duplicate twitter/pownce/brightkite posts
- Display FriendFeed comments
Latest
Xbox Live Gamercard
-
Retweeting @Squeat: Hug a developer! ยป http://svvarm.com/raI just saw a Woodleys.com ad on TV and thought, "huh, I built that" well @twentystar helped ;)Riot police - Photo: http://bkite.com/01onH

Riot police
Jackass on a segway