While working on Drupal sites, we could come across a requirement to show the contents aggregated from different domains. The content could be a blog of the site, list of recent articles and comments etc. For Aggregating contents into Drupal, feeds system is used. By aggregating the contents we can show the combined collection of data/content from different Drupal sites on one single domain.
Feeds
In this article will be explaining how to get feeds from a site programmatically into a Drupal site by passing its site url. The advantage of this, is that we could get multiple feeds at a time by passing their url. You can also refer previous article How to create Quick Tab Programmatically?, so that you can display the feeds in custom blocks.