aggregator_page_category

5 aggregator.module aggregator_page_category()
6 aggregator.pages.inc aggregator_page_category($arg1, $arg2 = NULL)
7 aggregator.pages.inc aggregator_page_category($category)
8 aggregator.pages.inc aggregator_page_category($category)

Menu callback; displays all the items aggregated in a particular category.

1 string reference to 'aggregator_page_category'

File

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

Code

function aggregator_page_category() {
  $category = db_fetch_object(db_query('SELECT cid, title FROM {aggregator_category} WHERE cid = %d', arg(2)));

  return _aggregator_page_list('SELECT i.*, f.title AS ftitle, f.link AS flink FROM {aggregator_category_item} c LEFT JOIN {aggregator_item} i ON c.iid = i.iid LEFT JOIN {aggregator_feed} f ON i.fid = f.fid WHERE cid = ' . $category->cid . ' ORDER BY timestamp DESC, iid DESC', arg(3));
}
Login or register to post comments