Usually you have have a function that grabs the RSS, parses it, then transforms it into the format you want (generally done using an XSLT). I do this on my site for some rss feeds.
Check out this link for Wordpress:
http://codex.wordpress.org/Function_Reference/fetch_rss