You are here

abstract public function FeedsParser::parse in Feeds 8.2

Parse content fetched by fetcher.

Extending classes must implement this method.

Parameters

FeedsSource $source: Source information.

$fetcher_result: FeedsFetcherResult returned by fetcher.

4 methods override FeedsParser::parse()
FeedsCSVParser::parse in lib/Drupal/feeds/Plugin/feeds/parser/FeedsCSVParser.php
Implements FeedsParser::parse().
FeedsSimplePieParser::parse in lib/Drupal/feeds/Plugin/feeds/parser/FeedsSimplePieParser.php
Implements FeedsParser::parse().
FeedsSitemapParser::parse in lib/Drupal/feeds/Plugin/feeds/parser/FeedsSitemapParser.php
Implements FeedsParser::parse().
FeedsSyndicationParser::parse in lib/Drupal/feeds/Plugin/feeds/parser/FeedsSyndicationParser.php
Implements FeedsParser::parse().

File

lib/Drupal/feeds/Plugin/FeedsParser.php, line 37
Contains FeedsParser and related classes.

Class

FeedsParser
Abstract class, defines interface for parsers.

Namespace

Drupal\feeds\Plugin

Code

public abstract function parse(FeedsSource $source, FeedsFetcherResult $fetcher_result);