Skip navigation
Help

aggregator_page_source

6 aggregator.pages.inc aggregator_page_source($arg1, $arg2 = NULL)
7 aggregator.pages.inc aggregator_page_source($feed)

Menu callback; displays all the items captured from a particular feed.

Parameters

$feed: The feed for which to display all items.

Return value

The rendered list of items for a feed.

1 call to aggregator_page_source()

1 string reference to 'aggregator_page_source'

File

drupal/modules/aggregator/aggregator.pages.inc, line 31
User page callbacks for the aggregator module.

Code

function aggregator_page_source($feed) {
  drupal_set_title($feed->title);
  $feed_source = theme('aggregator_feed_source', array('feed' => $feed));

  // It is safe to include the fid in the query because it's loaded from the
  // database by aggregator_feed_load.
  $items = aggregator_feed_items_load('source', $feed);

  return _aggregator_page_list($items, arg(3), $feed_source);
}