Documentation

ScraperPluginOpengraph extends ScraperPlugin
in package

Table of Contents

Properties

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

Methods

__construct()  : mixed
process()  : mixed

Properties

$patterns

public mixed $patterns = [ // Example: <meta property="og:image" content="https://stackideas.com/images/easyblog_images/1257/b2ap3_thumbnail_easyblog-37-supports-joomla-3.jpg"/> 'image' => 'og:image', // Example: <meta property="og:title" content="EasyBlog 3.7 is now Joomla 3.0 ready" /> 'title' => 'og:title', // Example: <meta property="og:description" content="EasyBlog 3.7 now works in Joomla 3.0 and comes with some new features." /> 'desc' => 'og:description', // Example: <meta property="og:type" content="article" /> 'type' => 'og:type', // Example: <meta property="og:type" content="article" /> 'url' => 'og:url', // Example: <meta property="og:video" content="http://www.youtube.com/v/T39GhB5uBGQ?version=3&amp;autohide=1"> 'video' => 'og:video', // Example: <meta property="og:video:type" content="application/x-shockwave-flash"> 'video_type' => 'og:video:type', // Example: <meta property="og:video:width" content="640"> 'video_width' => 'og:video:width', // Example: <meta property="og:video:height" content="640"> 'video_height' => 'og:video:height', 'video_duration' => 'og:video:duration', ]

$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()

public process(mixed &$result) : mixed
Parameters
$result : mixed

        
On this page

Search results