Activity Streams extensions to News repository feeds
Most of the News repository feeds are extended with Activity Streams formatted data. Use Activity Stream format and data to leverage News feeds in third-party clients.Attention: The event information provided here is specific to version 3.0.1 of IBM Connections. Changes to your application may be required to maintain equivalent functionality when integrating with a future release.
For details on Activity Streams, see the Activity Streams specification.
The following News feeds are extended with Activity Streams data:
- Public updates
- Saved updates
- Top updates
- Person updates
- Community updates
- News Feed updates
Example
Here is an example of a feed with Activity Streams data:
<entry xmlns:activity="http://activitystrea.ms/spec/1.0/"><title type="html">Joe Doe commented on their own board entry.</title> <summary type="html">ccc </summary> <link href="http://homedev2.dyn.webahead.ibm.com:9080/profiles/html/profileView.do?userid=ec8a89c0-f41d-102c-9b60-f225bc6c4af4&entryId=52a5160f-9d74-49c4-8390-89bcc5b71490" rel="alternate" type="text/html"></link> <link href="http://homedev2.dyn.webahead.ibm.com:9080/profiles/atom/profile.do?userid=ec8a89c0-f41d-102c-9b60-f225bc6c4af4" rel="related" type="application/atom+xml"></link> <id>urn:lsid:ibm.com:news:story-36b03933-a208-4fa3-bdb7-d1f7720f51c1</id> <updated>2010-12-03T17:48:28.065Z</updated> <content type="html"><span class="vcard"><a class="fn url" title="This is a link to the profile of Joe Doe." href="http://homedev2.dyn.webahead.ibm.com:9080/profiles/html/profileView.do?userid=ec8a89c0-f41d-102c-9b60-f225bc6c4af4"><span class="photo" src="http://homedev2.dyn.webahead.ibm.com:9080/profiles/photo.do?userid=ec8a89c0-f41d-102c-9b60-f225bc6c4af4" alt="This is a photo of Joe Doe." style="display : none"></span>Joe Doe</a><span class="x-lconn-userid" style="display : none">ec8a89c0-f41d-102c-9b60-f225bc6c4af4</span></span> commented on their own board entry.</content> <author xmlns:snx="http://www.ibm.com/xmlns/prod/sn"> <name>Joe Doe</name> <snx:userid xmlns:snx="http://www.ibm.com/xmlns/prod/sn">ec8a89c0-f41d-102c-9b60-f225bc6c4af4 </snx:userid> <snx:userState xmlns:snx="http://www.ibm.com/xmlns/prod/sn">active</snx:userState> <email>vincent.burckhardt@ie.ibm.com</email> <uri>http://homedev2.dyn.webahead.ibm.com:9080/profiles/html/profile.do?userid=ec8a89c0-f41d-102c-9b60-f225bc6c4af4 </uri> </author> <category term="news" scheme="http://www.ibm.com/xmlns/prod/sn/type"></category> <activity:verb xmlns:activity="http://activitystrea.ms/spec/1.0/">http://activitystrea.ms/schema/1.0/post</activity:verb> <activity:object xmlns:activity="http://activitystrea.ms/spec/1.0/"> <activity:object-type xmlns:activity="http://activitystrea.ms/spec/1.0/">http://activitystrea.ms/schema/1.0/comment</activity:object-type> <id xmlns="">urn:lsid:ibm.com:news:story-profiles.wall.comment.added-36b03933-a208-4fa3-bdb7-d1f7720f51c1</id> <title>ccc </title> <link xmlns="http://www.w3.org/2005/Atom" href="http://homedev2.dyn.webahead.ibm.com:9080/profiles/html/profileView.do?userid=ec8a89c0-f41d-102c-9b60-f225bc6c4af4&entryId=52a5160f-9d74-49c4-8390-89bcc5b71490" rel="alternate" type="text/html"></link> </activity:object> <activity:target xmlns:activity="http://activitystrea.ms/spec/1.0/"> <activity:object-type xmlns:activity="http://activitystrea.ms/spec/1.0/">http://activitystrea.ms/schema/1.0/person</activity:object-type> <id xmlns="">urn:lsid:ibm.com:news:story-target-36b03933-a208-4fa3-bdb7-d1f7720f51c1</id> <title></title> <link xmlns="http://www.w3.org/2005/Atom" href="http://homedev2.dyn.webahead.ibm.com:9080/profiles/html/profileView.do?userid=ec8a89c0-f41d-102c-9b60-f225bc6c4af4" rel="alternate" type="text/html"></link> </activity:target> </entry>
Activity Streams mapping to IBM Connections events
Mapping of IBM Connections events to Activity Streams formatting.Supported Activity Stream object properties
IBM Connections supports some, but not all, Activity Stream object properties.
Parent topic
News repository APIs