Hey all,
I’ve been thinking about how to represent the action when a user posts a new profile picture. (This is one of the top 10 activities in Windows Live and I’m guessing possibly in other services.)
After thinking through a bunch of alternatives (noted below), I want to suggest that we add an additional <activity:object-type> for “avatar” which would inherit from the “photo” <activity:object-type>. I don’t have a strong preference on naming, but I noticed that both the “Person” and “Group” base object-types have references to an avatar so I thought his would be consistent.
Some additional thoughts on this:
* Inheriting from Photo (like Blog-entry inherits from Article) is a simple, straightforward solution and existing implementers would only need to add a single additional <activity:object-type> element to their XML
* This could use the “Post” <activity:verb> as many existing systems ask users to upload an avatar or profile photo.
* If we added a “Update” <activity:verb> in the future, activity stream emitting systems could potentially differentiate a newly posted avatar from a user changing their avatar.
What do others think? Thanks much—
--Rob
Hey all,
I’ve been thinking about how to represent the action when a user posts a new profile picture. (This is one of the top 10 activities in Windows Live and I’m guessing possibly in other services.)
After thinking through a bunch of alternatives (noted below), I want to suggest that we add an additional <activity:object-type> for “avatar” which would inherit from the “photo” <activity:object-type>. I don’t have a strong preference on naming, but I noticed that both the “Person” and “Group” base object-types have references to an avatar so I thought his would be consistent.
Some additional thoughts on this:
* Inheriting from Photo (like Blog-entry inherits from Article) is a simple, straightforward solution and existing implementers would only need to add a single additional <activity:object-type> element to their XML
* This could use the “Post” <activity:verb> as many existing systems ask users to upload an avatar or profile photo.
* If we added a “Update” <activity:verb> in the future, activity stream emitting systems could potentially differentiate a newly posted avatar from a user changing their avatar.
What do others think? Thanks much—
--Rob
After thinking through a bunch of alternatives (noted below), I want to suggest that we add an additional <activity:object-type> for “avatar” which would inherit from the “photo” <activity:object-type>. I don’t have a strong preference on naming, but I noticed that both the “Person” and “Group” base object-types have references to an avatar so I thought his would be consistent.
Since we're discussing naming, I think I'd prefer "user-photo" or "profile-photo" since "avatar" has connotations in the Second Life community (and other 3D avatar communities).
Thanks for the great feedback Chris and Chris.
It sounds like there’s good reason for profile-photo. I’ll write this up as a wiki page for http://wiki.ActivityStrea.ms/.
Thanks again—
--Rob
--
My strong preference would be for 1:1 ratio, but it's one of those
things where no matter what gets recommended, we'll still end up with
images of other aspect ratios on a regular basis.
-Bob Aman
If recommending a 1:1 aspect ratio would be an exercise in futility, a
specific size would be even more unlikely to be followed.
-Bob Aman
Note that unlike in HTML, Atom doesn't allow multiple relationships on a
single link. Assuming what you're trying to say here is rel="photo" and
rel="icon", you'd need to write out two link elements to express that.
Quite true. I had forgotten about that:
http://atompub.org/rfc4287.html#rel_attribute
Also,
http://www.iana.org/assignments/link-relations/link-relations.xhtml
-Bob Aman
Hey all,
As there seems to be consensus, I have added a sentence to the wiki page (http://wiki.activitystrea.ms/Profile-photo) indicating a preference (but not requirement) for a 1:1 aspect ratio.
It would be nice (should) but is not a requirement that the photo have a 1:1 aspect ratio.
I have kept the sentence recommending using <link rel=”preview” as this is consistent with the spec’s Photo section: http://martin.atkins.me.uk/specs/activitystreams/activityschema#photo
The URL and metadata for a thumbnail version of the photo. The URL is represented as the value of the href attribute on an atom:link element with rel preview and a type of either image/jpeg, image/png or image/gif. Publishers SHOULD include media:width and media:height attributes on the atom:link element describing the dimensions of the linked image. Processors MAY ignore thumbnails that are of an inappropriate size for their user interface.
Use of rel=”preview” for a thumbnail image is also consistent within the spec for video.
FWIW—
--Rob
From: activity...@googlegroups.com
[mailto:activity...@googlegroups.com] On Behalf Of John Panzer
Sent: Friday, October 30, 2009 1:06 PM
To: activity...@googlegroups.com
Subject: Re: Idea: <activity:object-type> for avatar / profile
picture
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---
--
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.
For more options, visit this group at http://groups.google.com/group/activity-streams?hl=en.
--
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.
For more options, visit this group at http://groups.google.com/group/activity-streams?hl=en.
To post to this group, send email to activity...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/activity-streams?hl=en.
Could someone please give an example of what the two options would look like in XML?
I’m a bit concerned that When a user does an action like “share”, I’m not sure “author” is the right English description since the share’er is not necessarily the author. Whereas “actor” might be a more appropriate description.
FWIW—
--Rob
From: John Panzer
[mailto:jpa...@google.com]
Sent: Thursday, November 05, 2009 2:04 PM
To: activity...@googlegroups.com
Subject: Re: Idea: <activity:object-type> for avatar / profile
picture
I'm pretty certain this is exactly parallel to atom:category (which ended up getting stuck inside of various things); what kind of green light do you need? (I think I'm still also a card-carrying member of atom-syntax :) )