function aggregator_page_last in Drupal 5
Same name and namespace in other branches
- 4 modules/aggregator.module \aggregator_page_last()
- 6 modules/aggregator/aggregator.pages.inc \aggregator_page_last()
- 7 modules/aggregator/aggregator.pages.inc \aggregator_page_last()
Menu callback; displays the most recent items gathered from any feed.
1 string reference to 'aggregator_page_last'
- aggregator_menu in modules/
aggregator/ aggregator.module - Implementation of hook_menu().
File
- modules/
aggregator/ aggregator.module, line 1049 - Used to aggregate syndicated content (RSS, RDF, and Atom).
Code
function aggregator_page_last() {
drupal_add_feed(url('aggregator/rss'), variable_get('site_name', 'Drupal') . ' ' . t('aggregator'));
return _aggregator_page_list('SELECT i.*, f.title AS ftitle, f.link AS flink FROM {aggregator_item} i INNER JOIN {aggregator_feed} f ON i.fid = f.fid ORDER BY i.timestamp DESC, i.iid DESC', arg(1));
}