JBoss.orgCommunity Documentation
It is really easy to publish an RSS feed to a space's activity stream. Social provides FeedmashJobPlugin to publish the RSS feeds. As you can see in the project "exo.social.extras.feedmash", there are the JiraFeedConsumer and HudsonFeedConsumer samples to post Social project's feeds (jira and hudson) to a pre-defined space named exosocial in a specific portal container named socialdemo as in the configuration file:
<external-component-plugins>
<target-component>org.exoplatform.services.scheduler.JobSchedulerService</target-component>
<component-plugin>
<name>RepubSocialJiraActivityJob</name>
<set-method>addPeriodJob</set-method>
<type>org.exoplatform.social.extras.feedmash.FeedmashJobPlugin</type>
<description/>
<init-params>
<properties-param>
<name>mash.info</name>
<property name="feedURL" value="http://jira.exoplatform.org/plugins/servlet/streams?key=SOC"/>
<property name="categoryMatch" value="resolved|created"/>
<property name="targetActivityStream" value="space:exosocial"/>
<property name="portalContainer" value="socialdemo"/>
</properties-param>
<properties-param>
<name>job.info</name>
<description>save the monitor data periodically</description>
<property name="jobName" value="JIRAFeedConsumer"/>
<property name="groupName" value="Feedmash"/>
<property name="job" value="org.exoplatform.social.feedmash.JiraFeedConsumer"/>
<property name="repeatCount" value="0"/>
<property name="period" value="60000"/>
<property name="startTime" value="+45"/>
<property name="endTime" value=""/>
</properties-param>
</init-params>
</component-plugin>
<component-plugin>
<name>WatchSocialBuildStatus</name>
<set-method>addPeriodJob</set-method>
<type>org.exoplatform.social.extras.feedmash.FeedmashJobPlugin</type>
<description/>
<init-params>
<properties-param>
<name>mash.info</name>
<property name="feedURL" value="http://builder.exoplatform.org/hudson/view/social/job/social-trunk-ci/rssAll"/>
<property name="targetActivityStream" value="space:exosocial"/>
<property name="portalContainer" value="socialdemo"/>
</properties-param>
<properties-param>
<name>job.info</name>
<description>save the monitor data periodically</description>
<property name="jobName" value="HudsonFeedConsumer"/>
<property name="groupName" value="Feedmash"/>
<property name="job" value="org.exoplatform.social.feedmash.HudsonFeedConsumer"/>
<property name="repeatCount" value="0"/>
<property name="period" value="60000"/>
<property name="startTime" value="+100"/>
<property name="endTime" value=""/>
</properties-param>
</init-params>
</component-plugin>
</external-component-plugins>
Run Social with the URL: http://localhost:8080/socialdemo, then log in and create a space named "exosocial". After creating the "exosocial" space, all the feeds of the Social project on Jira and Hudson will be automatically published to the exosocial space.