BP External Activity allows admins to import data from an arbitrary RSS feed into their BuddyPress sitewide activity stream. For example, you might use the plugin to add activity items for edits on a MediaWiki installation.
The plugin imports RSS feeds every hour. You may find that you need to decrease your Simplepie cache time to make it work:
add_filter( 'wp_feed_cache_transient_lifetime', create_function('$a', 'return 600;') );
reduces the RSS cache to ten minutes, for example. Put that in your bp-custom.php file if you are having problems with the plugin.
At the moment, the plugin uses the Author field from the RSS feed to look for a matching author in your WP database. If it doesn’t find one, it uses the unlinked text ‘A user’, as in ‘A user edited the wiki page…’.
- Upload the bp-external-activity directory to your WP plugins folder and activate
- Open loader.php and replace the sample feed data with your own. Read the inline documentation carefully.
Future versions of the plugin will have a real admin interface (no PHP knowledge necessary), more sophisticated matching of feed authors with BP members, and the ability to attach feeds to groups.
Thanks to Andy Peatling, whose External Group Blogs served as the inspiration for a good part of the code.
BP External Activity has been downloaded [downloadstat url=”http://wordpress.org/extend/plugins/bp-external-activity/stats/” get=”total” autop=”false”] times. Are you using this plugin? Consider a donation.
- 1.0 – May 25, 2010
- Initial release