aggregator_page_source

Definition

aggregator_page_source()
aggregator/aggregator.module, line 1058

Description

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

Code

<?php
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);
}
?>