You are here

function feedapi_aggregator_page_last in FeedAPI 5

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

1 string reference to 'feedapi_aggregator_page_last'
feedapi_aggregator_menu in feedapi_aggregator/feedapi_aggregator.module
Implementation of hook_menu().

File

feedapi_aggregator/feedapi_aggregator.module, line 594

Code

function feedapi_aggregator_page_last() {
  drupal_add_feed(url('aggregator/rss'), variable_get('site_name', 'Drupal') . ' ' . t('aggregator'));
  return _feedapi_aggregator_page_list('SELECT i.*, f.nid FROM {feedapi_aggregator_item} i INNER JOIN {feedapi} f ON i.feed_nid = f.nid ORDER BY i.timestamp DESC, i.iid DESC', arg(1));
}