activity-streams

From DiSo wiki

Jump to: navigation, search

Activity streams, lifestreams or newsfeeds (in Facebook jargon) are aggregated lists of events or actions that a single user or group of people took, often across varied and distributed contexts.

Contents

Examples

Jeremy Keith's Lifestream

Explanation.

Facebook Newsfeed

newsfeed_example.png

Tumblr

2113204171_ac0802d0c8_m.jpg

Crowdstorm

1806119412_4d9cdaed8d_m.jpg

LinkedIN

2102268596_c7a3fdca5b_m.jpg

30Boxes

375079039_25156f3a72_m.jpg

Lifestrea.ms

2114028638_237a9276d9_m.jpg

Digg

2114006844_2461bcca46_m.jpg

FriendFeed

2113984998_b3c6574266_m.jpg

Jaiku

2113200889_838229503a_m.jpg

Readr

1348801733_e51927997e_m.jpg

Spokeo

Markup samples

FriendFeed

 <div class="summary"><a class="friend" href="/factoryjoe">Chris Messina</a> published three photos on <a href="http://www.flickr.com/photos/25419820%40N00/">Flickr</a></div>

Facebook

 <div id="div_title_545290421" class="header_container clearfix"><h2 class="feed_story_header"><a href="http://www.facebook.com/profile.php?id=507716697&ref=nf">Curtis James Healy</a> is attending <a href="http://www.facebook.com/event.php?eid=30140523272&ref=nf">IRON MAN</a>.</h2></div>

socialthing!

<td class="StreamBody">
        <span class="bold StreamName">
          Rachel Neumeister
    	  </span>
            posted 12 new photos to 
            <a target="_blank" href="http://www.facebook.com/album.php?aid=7057&id=502295491">I have Awesome Friends</a>
...snip...


Publishing Activity Streams

The typical approach for aggregating and publishing activity streams requires that you first pull together the various feeds and sources that you want aggregated, and then adding them, one at a time, to a feed parsing engine that can intermingle each activity, typically in reverse chronological order.

Plugins

Markup

  • the microformats wiki suggests marking up activity streams with both hAtom and hCalendar;
  • it is possibly to more semantic describe the activities themselves and is worth further investigation (consider hAudio, xFolk, etc)
    • XOXO also works well for more generic/arbitrary data singpolyma 19:06, 15 December 2007 (PST)
    • Straight RSS is probably also useful since existing aggregation solutions support this directly singpolyma 19:06, 15 December 2007 (PST)

DiSo Callback Activities

  • when signing in to a relying party, a callback could be registered such that activities taken on the relying party are recorded by the identity provider
  • OpenSocial achieves this by creating atom entries.
  • XMPP Extensions: There are a couple of XEPs (XMPP Extension Protocols) defining a general mechanism for, and specific formats for, publishing activity streams: