Documentation

ScraperPluginDescription extends ScraperPlugin
in package

Table of Contents

Constants

PATTERN  = '/\<meta name="description" content=*[\"\']{0,1}([^\"\>]*)/i'

Properties

$contents  : mixed
$parser  : mixed
$url  : mixed

Methods

__construct()  : mixed
process()  : mixed
Processes the contents and match the meta description

Constants

PATTERN

public mixed PATTERN = '/\<meta name="description" content=*[\"\']{0,1}([^\"\>]*)/i'

Properties

$contents

protected mixed $contents = \null

$parser

protected mixed $parser = \null

$url

protected mixed $url = \null

Methods

__construct()

public __construct(mixed $parser, mixed $contents, mixed $url) : mixed
Parameters
$parser : mixed
$contents : mixed
$url : mixed

process()

Processes the contents and match the meta description

public process(mixed &$result) : mixed
Parameters
$result : mixed
Tags
since
1.0.0
access

public


        
On this page

Search results