Description
The actor is the entity who did the activity. It will be conveyed via the author element. The actor properties are placed inside the author element.
- Id -->atom:id
- Name --> atom:name or atom:title
- Url to profile page --> atom:link rel="alternate"
- Avatar --> link rel="avatar"
- Additional Fields --> See Portable Contact
Example
<author>
<id>tag:myspace.com,2009:/Person/4859568</id>
<title>Monica Keller</title>
<link rel="alternate" type="text/html" href="http://www.myspace.com/ciberch" />
<link rel="avatar" type="image/jpeg" href="http://c3.ac-images.myspacecdn.com/images02/151/s_88bcd3986d104044888e07298a5180d6.jpg" />
<poco:name>
<poco:givenName>Monica</poco:givenName>
<poco:familyName>Keller</poco:familyName>
</poco:name>
<poco:displayName>Monica Keller</poco:displayName>
<poco:preferredUsername>ciberch</poco:preferredUsername>
</author>
Note
In the early ActivityStreams spec, the <actor> element was separate from the <author> element. In March 2010 these elements were merged as it became clear that extending the Atom author element was allowed.
See Also
Comments (0)
You don't have permission to comment on this page.