Hey all,
I’ve been wondering about what I think may be an interesting use case:
· How could a consumer of an Activity Stream feed know if a photo/image was intended to be a new representation of the user?
Effectively, how could we represent the notion that “John Smith updated his profile picture” or “Jane Doe changed her avatar” as separate from “John Smith posted a picture”
One idea I had was to leverage the idea from the spec that <activity:object> elements can have multiple <activity:object-type> elements and that these could be more specific and more general. For example,
The "weblog entry" Object type is a specialization of the "article" Object type, so publishers SHOULD also include the Object type URL for the "article" Object type when publishing Object entries of this type. (3.2.2)
Thus, maybe we could add a http://activitystrea.ms/schema/1.0/image-self or http://activitystrea.ms/schema/1.0/image-avatar ?
Thoughts / suggestions / feedback ?
Thanks much—
--Rob
Hey all,
I haven’t seen any feedback one way or another on the “image-self” or “image-avatar” object-type. In this case, does lack of response mean consensus or disapproval? Thanks—
--Rob
Sorry. I missed this the first time around.
So I guess you're intending to model "Martin changed his Avatar" as a
post activity with an object of type "avatar"?
I guess this works. It does seem a little strange, since intuitively
you'd write that sentence as "Martin posted an avatar", but I can't
really think of anything better right now, unless we figure out a
solution for modelling user profile changes and consider the avatar to
be a property of a user profile.