Goose\Modules\Extractors\MetaExtractor::run PHP Method

run() public method

public run ( Goose\Article $article )
$article Goose\Article
    public function run(Article $article)
    {
        $this->article($article);
        $article->setOpenGraph($this->getOpenGraph());
        $article->setTitle($this->getTitle());
        $article->setMetaDescription($this->getMetaDescription());
        $article->setMetaKeywords($this->getMetaKeywords());
        $article->setCanonicalLink($this->getCanonicalLink());
        $article->setLanguage($this->getMetaLanguage());
        $this->config()->set('language', $article->getLanguage());
    }