You are here

protected function FeedsExQueryPathHtml::setUp in Feeds extensible parsers 7

Same name and namespace in other branches
  1. 7.2 src/FeedsExQueryPathHtml.inc \FeedsExQueryPathHtml::setUp()

Allows subclasses to prepare for parsing.

Parameters

FeedsSource $source: The feed source.

FeedsFetcherResult $fetcher_result: The result of the fetching stage.

Overrides FeedsExXml::setUp

File

src/FeedsExQueryPathHtml.inc, line 21
Contains FeedsExQueryPathHtml.

Class

FeedsExQueryPathHtml
Parses HTML documents with QueryPath.

Code

protected function setUp(FeedsSource $source, FeedsFetcherResult $fetcher_result) {

  // Change some parser settings.
  $this->queryPathOptions['use_parser'] = 'html';
}