Aggregate your online activites on your Drupal site using Activity Stream

One of the things that I love about Facebook is the fact that all my online activities show up as part of my “Facebook Status Updates”. Wouldn’t it be great to have all those updates available in Drupal? I recently came across a module called “Activity Stream“, which offers a Drupal aggregator pulling in updates from Delicious, Digg, Flickr, Last.FM and Twitter. Besides the big 5, it also offers a custom feed option that I haven’t tested yet.

Installation of this module was really simple. This module comes with a core package and 6 sub-modules, one for each service (and custom feed). According to the Activity Stream online documentation, those modules can be easily extended in case you’re looking to display items from a different service than the one already provided.

The display of feed items looks decent from the get-go. My visual design preference is more organized, so I applied the following style tweaks to the get the items to show up as displayed in the image below. You can just add these lines to your style.css file of your theme:

#activitystream .item-list ul li{
background:transparent none repeat scroll 0 0;
line-height:1.23em;
margin-top:7px;
padding:0;
}
#activitystream .item-list ul li img{
float:left;
margin-right:5px;
}