Actvity Streams meets Community Equity

Activity Streams (https://activitystrea.ms/) is a extension of the Atom feed format to express what people are doing around web. This standard is still in Beta

SUN_CE_LOGO_P_O.pngbut already adopted by Facebook, MySpace, Microsoft and others.

Why is this relevant to Community Equity ? Well – to calculate the social value of a content object, person, community or tag we need to capture all activities of a person on whatever site the activity happens. Activity Streams seems to be a perfect fit.

The article below explains the concept of the activity streams standard and provides a mapping between the activity streams verbs and the Community Equity activities.

List of Basic Activities (enclosed sections have been co-authored by Josef Holy and Max Wegmüller)

All activities are described with a user, a verb and object.
Applications implementing this standard, needs to map there specific activities to the verbs and objects defined through Activity Streams.

Let’s start with a listing of basic (general) set of activities which users perform on some Content Object (CO), in the context of the Social Web. Content object can be literally anything – document, file, another user, community etc. Simply put – on the Web, content objects correspond to resources and are identified by URLs (persistent identifiers, which can be accessed and their representation retrieved via HTTP).

The following table contains a very basic list of activities, which can occur between basic entities of the Social Web – People, Content and Groups. These entities and their relationships form a mesh, where people, groups and content are interconnected. Cross-application distribution of activities then means notifying of changes done trough this mesh.

General Activity
Target
Description
Example
Create
CO
Create
Create a wiki page, blog post or add an file …
Read / Attention
CO
Retrieve, Interact, Enjoy
View a page, download file, play video…
Update
CO
Change one or more attributes
Update document content. Change document author. Rename document.
Delete
CO
Delete
Delete a CO.
Stars
CO
Quantitatively value a certain property/attribute
Rate an overall quality of a page with 4/5 stars.

Rate graphics of a computer game with 3/5 stars.
Tags
CO
Categorize CO with a keyword, link it to other similar COs
Tag picture on flickr.com with ‘Paris’
Text
CO
Assign a textual comment
Review a product on an e-shop Web – provide qualitative value.

Comment on a blog post.
Bookmark
CO
Remember the CO for later easier retrieval.
Bookmark a URL using delicious.

Mark video ‘Favorite’ on Youtube – will appear in ‘My Favorites’ list.
Forward
CO
Forward a reference to the CO to other user(s) or group(s)
Retweet

Sharing a document with a group.
Follow
CO
Create 1-way relationship
Follow someone on twitter.

Subscribe to page changes on a wiki site.
Unfollow
CO
Discontinue 1-way relationship
Unfollow someone on twitter
Connect
Person
Create 2-way lasting relationship of trust
Make friends on Facebook
Disconnect
Person
Discontinue 2-way relationship of trust
Join
Group
Join a group of people (users)
Become a fan of a movie on facebook.

Join Honda community on Ning.com.

Create account on a public forum.
Leave
Group
Leave a group of people (users)
Leave a community on Ning.com.

Activity Streams Verbs

List of verbs defined in the activity stream schema.

Verbs (activitstrea.ms)                                               
Implementer’s Draft (ID) or

Latest Working Draft”(LWD)
Post ID
Share (public post) ID
Save (local post) ID
Favorite (star) ID
View (Play) LWD?
Start follow ID
Stop follow LWD?
Confirm connection ID
Join ID
Leave LWD?
Invite ID
Tag (people (object-type) in a content (subject) ID
Like LWD?
Paid for / bought LWD
Donate LWD
Play ID
Book ID?

Activity Streams Objects

List of objects defined in the activity stream schema.

Objects (activitystrea.ms)                                         
Implementer’s Draft (ID) or

Latest Working Draft”(LWD)
Article ID
Weblog Entry ID
Note ID
File ID
Image (Photo)
ID?
Photo (Image)
ID?
Photo Album ID
Playlist ID
Video ID
TV Episode (Video)
LWD
Movie (Video)
LWD
Audio ID
Bookmark (Link)
ID
Person ID
Group ID
Place ID?
Comment ID
Book
ID?

(https://groups.google.com/group/activity-streams/browse_thread/thread/483c8e9a2a566353)

Community Equity Activities Mapping(s)

The following table maps the general activities from above to activities accepted/recognized/handled by the Community Equity system. It also contains mappings to the ActivityStrea.ms activities, where possible. Verbs proposed for the cases where mapping isn’t possible are marked in orange.

CEQ Activity Verb
CEQ Target(s) Basic Activity
ActivityStrea.ms Verb
create Information (type of)

UserGroup

Community Person
Create Post

https://activitystrea.ms/schema/1.0/posthttps://martin.atkins.me.uk/specs/activitystreams/atomactivity#postverb

Documentation
update_content Information (type of)
Update Update_content
update_meta_data Information (type of)
Update Update_meta_data
update UserGroup

Community

Person
Update Update

delete Information (type of)

UserGroup

Community

Person
Delete
Delete
clone Information (type of)
Clone Clone
share Information (type of)
Share Share
rate
Information (type of)
Star Rate
comment Information (type of)
Text Post

https://activitystrea.ms/schema/1.0/post

Documentation

view
Information (type of)
Attention
Play

https://activitystrea.ms/schema/1.0/play

Documentation
download
Information (type of)
Attention
Play

https://activitystrea.ms/schema/1.0/playhttps://martin.atkins.me.uk/specs/activitystreams/activityschema#play

Documentation
tag
Information (type of)
Tag
Tag

https://activitystrea.ms/schema/1.0/tag

Documentation
login/logout Application Login / Logout
Login / Logout
join
UserGroup, Community
Join
Join

https://activitystrea.ms/schema/1.0/joinhttps://martin.atkins.me.uk/specs/activitystreams/activityschema#join

Documentation
leave
UserGroup, Community
Leave
Leave

What’s next ?

We are implementing a new activity plugin interface for Community Equity based on activity streams using https://abdera.apache.org.
If you have some spare developer cycles and want to help – join the Open Source Community Equity project – just go to kenai.com and register.