aggregator_page_last

Definition

aggregator_page_last()
modules/aggregator/aggregator.pages.inc, line 14

Description

Menu callback; displays the most recent items gathered from any feed.

Return value

The items HTML.

Code

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

  $items = aggregator_feed_items_load('sum');

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

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.