You are here

abstract public function FeedsParser::parse in Feeds 6

Same name and namespace in other branches
  1. 7.2 plugins/FeedsParser.inc \FeedsParser::parse()
  2. 7 plugins/FeedsParser.inc \FeedsParser::parse()

Parse content fetched by fetcher.

Extending classes must implement this method.

Parameters

$batch: FeedsImportBatch returned by fetcher.

FeedsSource $source: Source information.

5 methods override FeedsParser::parse()
FeedsCSVParser::parse in plugins/FeedsCSVParser.inc
Implementation of FeedsParser::parse().
FeedsOPMLParser::parse in plugins/FeedsOPMLParser.inc
Implementation of FeedsParser::parse().
FeedsSimplePieParser::parse in plugins/FeedsSimplePieParser.inc
Implementation of FeedsParser::parse().
FeedsSitemapParser::parse in plugins/FeedsSitemapParser.inc
Implementation of FeedsParser::parse().
FeedsSyndicationParser::parse in plugins/FeedsSyndicationParser.inc
Implementation of FeedsParser::parse().

File

plugins/FeedsParser.inc, line 18

Class

FeedsParser
Abstract class, defines interface for parsers.

Code

public abstract function parse(FeedsImportBatch $batch, FeedsSource $source);