How to export elgg 1.8 activity

I'm interested in export the activity river of elgg for show the changes in a frontpage made by Joomla. The two, joomla and elgg, are in the same database. How can I make the call from (for example) a Joomla Module? Thank you