non-users as actors

9 views
Skip to first unread message

Patrick Mulder

unread,
Mar 1, 2012, 3:26:27 PM3/1/12
to activity...@googlegroups.com
Hello,

I am looking for examples of activity streams where an activity, described by (actor, verb, object), has an actor that is not a user, but some other entity such as an organisation or company. Most activity streams that I see have a "user" as actor.

Where are references or pointers to non-user based activity streams? What is important to take into account?

Thanks,

Patrick

James M Snell

unread,
Mar 2, 2012, 12:16:11 PM3/2/12
to activity...@googlegroups.com
While I cannot point to a public example of this case, I can say that
it has been implemented in practice... in one case, the "actor" is a
management system that monitors and controls virtual resources.
Whenever a resource is allocated an activity is published to the
stream where actor=the system, object=the resource, verb=allocate,
etc.

e.g.
{
"actor":{"objectType":"service","displayName":"Monitor"},
"verb":"allocate",
"object":{"objectType":"server","displayName":"s123.example.org",...}
}


For the most part, it doesn't really matter who the entity is. The
actor is not limited to "person" object Types. The actor can be any
type of object and any type of entity. Within your actor, specify a
good, meaningful "displayName", specify a "url" where more info can be
found and make sure you set an accurate objectType property and you
should be good to go.

- James

> --
> You received this message because you are subscribed to the Google Groups
> "Activity Streams" group.
> To post to this group, send email to activity...@googlegroups.com.
> To unsubscribe from this group, send email to
> activity-strea...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/activity-streams?hl=en.

Patrick Mulder

unread,
Mar 2, 2012, 1:58:09 PM3/2/12
to activity...@googlegroups.com, activity...@googlegroups.com
thanks! very helpful.
have been thinking that itunes ping also shows music bands as actors.
the learning for me is the broader use of displayName attribute. prevents unnatural actor, verb, object combinations.

Von meinem iPhone gesendet

Reply all
Reply to author
Forward
0 new messages