Aggregator

Last modified: October 20, 2009 - 13:41

This page outlines planned improvements to Drupal's core RSS/Atom aggregator for Drupal version 7. It is a summary document for ongoing work and provides an overview over tasks that are broken out into separate issues - see Aggregator issues on Drupal's issue queue.


Pluggable architecture

#303930: Pluggable architecture for aggregator.module

The pluggable architecture introduces three types of extensions to Aggregator.

1) Fetchers http://api.drupal.org/api/function/hook_aggregator_fetch/7
2) Parsers http://api.drupal.org/api/function/hook_aggregator_parse/7
3) Processors http://api.drupal.org/api/function/hook_aggregator_process/7

Fetchers can download data, parsers normalize it to an internal format and processors 'do stuff' with it. In a simple example, a fetcher would download an RSS feed from a URL, a parser would create a PHP array from it and a processor would save the news items the parser found.


Other improvements

Novice tasks are tasks that people with a good understanding of PHP programming but new to Drupal or Drupal's core issue queue should be able to tackle.

 
 

Drupal is a registered trademark of Dries Buytaert.