You are here

function aggregator_page_source in Drupal 5

Same name and namespace in other branches
  1. 4 modules/aggregator.module \aggregator_page_source()
  2. 6 modules/aggregator/aggregator.pages.inc \aggregator_page_source()
  3. 7 modules/aggregator/aggregator.pages.inc \aggregator_page_source()

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

1 string reference to 'aggregator_page_source'
aggregator_menu in modules/aggregator/aggregator.module
Implementation of hook_menu().

File

modules/aggregator/aggregator.module, line 1058
Used to aggregate syndicated content (RSS, RDF, and Atom).

Code

function aggregator_page_source() {
  $feed = db_fetch_object(db_query('SELECT * FROM {aggregator_feed} WHERE fid = %d', arg(2)));
  $info = theme('aggregator_feed', $feed);
  return _aggregator_page_list('SELECT * FROM {aggregator_item} WHERE fid = ' . $feed->fid . ' ORDER BY timestamp DESC, iid DESC', arg(3), $info);
}