ProcessorInterface
interface ProcessorInterface (View source)
Defines an interface for aggregator processor implementations.
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.
Methods
Details
process(FeedInterface $feed)
Processes feed data.
postProcess(FeedInterface $feed)
Refreshes feed information.
Called after the processing of the feed is completed by all selected processors.
delete(FeedInterface $feed)
Deletes stored feed data.
Called by aggregator if either a feed is deleted or a user clicks on "delete items".