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
-
Develop Denver @dvlpdnvr looks cool. http://t.co/hX3GVEUkSnow covered skylights give the @doubleencore office a weird glow this morning. (at @doubleencore) [pic] — http://t.co/YaUzBsOkToday @doubleencore I.. Shipped an app Setup our 5th build server Played a game Played with TV & Airplay Now hiring http://t.co/I9UPTNu3Terminal has an icon with white text on a dark bkgrnd. The default Terminal window is black text on a white bkgrnd Why? http://t.co/AyJDZZK7What ever happened to Burnout Crash for iOS. http://t.co/OjKCdJ8r Wasn't that supposed to be out last year?I spent some time today sitting at my desk playing video games. Because it's my job :)DESCENDENTS (at Fillmore Auditorium) — http://t.co/CMoFYGQ4I just earned the 'I Believe in IPA! (Level 2)' badge on @untappd from Hoptopia! http://t.co/2Xzkbhx2 #ibelieveinIPASuck it Carl! (with Nick at Yazoo BBQ Company) [pic] — http://t.co/Dk7qV8i9
