function hook_aggregator_process

cis7 aggregator.api.php hook_aggregator_process($feed)
cle7 aggregator.api.php hook_aggregator_process($feed)
elmsmedia7 aggregator.api.php hook_aggregator_process($feed)
icor7 aggregator.api.php hook_aggregator_process($feed)
meedjum_blog7 aggregator.api.php hook_aggregator_process($feed)
mooc7 aggregator.api.php hook_aggregator_process($feed)

Create a processor for aggregator.module.

A processor acts on parsed feed data. Active processors are called at the third and last of the aggregation stages: first, data is downloaded by the active fetcher; second, it is converted to a common format by the active parser; and finally, it is passed to all active processors that manipulate or store the data.

Modules that define this hook can be activated as a processor within the configuration page.


$feed: A feed object representing the resource to be processed. $feed->items contains an array of feed items downloaded and parsed at the parsing stage. See hook_aggregator_parse() for the basic format of a single item in the $feed->items array. For the exact format refer to the particular parser in use.

See also




Related topics

1 function implements hook_aggregator_process()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

aggregator_aggregator_process in modules/aggregator/
Implements hook_aggregator_process().
3 invocations of hook_aggregator_process()
aggregator_admin_form in modules/aggregator/
Form constructor for the aggregator system settings.
aggregator_form_aggregator_admin_form_alter in modules/aggregator/
Implements hook_form_aggregator_admin_form_alter().
aggregator_refresh in modules/aggregator/aggregator.module
Checks a news feed for new items.


modules/aggregator/aggregator.api.php, line 168
Documentation for aggregator API.


function hook_aggregator_process($feed) {
  foreach ($feed->items as $item) {