function aggregator_page_last

aggregator_page_last()

Page callback: Displays the most recent items gathered from any feed.

Return value

The rendered list of items for the feed.

File

modules/aggregator/aggregator.pages.inc, line 14
User page callbacks for the Aggregator module.

Code

function aggregator_page_last() {
  drupal_add_feed('aggregator/rss', variable_get('site_name', 'Drupal') . ' ' . t('aggregator'));

  $items = aggregator_feed_items_load('sum');

  return _aggregator_page_list($items, arg(1));
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!aggregator!aggregator.pages.inc/function/aggregator_page_last/7.x