function feedapi_aggregator_page_source in FeedAPI 5
Menu callback; displays all the items captured from a particular feed.
1 string reference to 'feedapi_aggregator_page_source'
- feedapi_aggregator_menu in feedapi_aggregator/
feedapi_aggregator.module - Implementation of hook_menu().
File
- feedapi_aggregator/
feedapi_aggregator.module, line 602
Code
function feedapi_aggregator_page_source() {
$node = node_load(arg(2));
drupal_set_title(t("News items from !feed", array(
"!feed" => $node->title,
)));
$info = theme('aggregator_feed', $node->feed);
return _feedapi_aggregator_page_list('SELECT * FROM {feedapi_aggregator_item} WHERE feed_nid = ' . $node->nid . ' ORDER BY timestamp DESC, iid DESC', arg(3), $info);
}