Create an awesome lifestream with FriendFeed
A lifestream is an aggregation of all your online activities that are spread over multiple sites into a single location. In other words it is a log of your internet exploits. There is no way that you can blog about everything that you find interesting on the internet. So, adding a lifestream to your blog can be a way to tell people more about your interests and what you are up to. This gives people a better idea of who you are. Adding a lifestream page to your blog using FriendFeed is pretty easy.
First, sign up for an account on FriendFeed and add all your favorite services to it. FriendFeed only asks for your usernames for these services; you don’t have have to provide your passwords. The whole process will take only a few minutes, even if you have a dozen services.
Next, add a template file called lifestream.php to your WordPress theme folder. You can declare the template as follows.
<?php
/*
Template Name: Lifestream
*/
?> The rest of the template can be exactly like your main index.php file.
Next, go to the Embeddable Widgets page on FriendFeed under the Tools section. Select the Feed Widget and configure it as shown below.
Copy the HTML and change the number of entries from the default 10 to a large number such as 100 or 500. The HTML should look like so.
<script type="text/javascript" src="http://friendfeed.com/embed/widget/cleverdoll?v=2&num=100&hide_logo=1&hide_subscribe=1&width=500"></script><noscript><a href="http://friendfeed.com/cleverdoll"><img alt="View my FriendFeed" style="border:0;" src="http://friendfeed.com/embed/widget/cleverdoll?v=2&num=10&hide_logo=1&hide_subscribe=1&width=500&format=png"/></a></noscript>
Go back to the lifestream.php template and add the HTML in place of your wordpress loop. That is, replace the following section with the HTML.
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<?php endif; ?>Now create a new empty WordPress Page and select Lifestream as it’s template. Done! Your lifestream should now appear on this page.
Check out my about page to see my Lifestream in action.
The default Feed Widget has a blue border that may look out of place on your page. I recommend adding the following to your stylesheet to remove it.
.friendfeed.widget {
border: none !important;
}You can modify the widget further using this FriendFeed CSS guide.
See Robert’s post for further CSS changes for making the widget look more at home with the rest of your theme.
-
no matches

