PicoFeed\Scraper\CandidateParser::findContentWithArticle PHP Метод

findContentWithArticle() публичный Метод

Find
tag.
public findContentWithArticle ( ) : string
Результат string
    public function findContentWithArticle()
    {
        $nodes = $this->xpath->query('//article');
        if ($nodes !== false && $nodes->length > 0) {
            Logger::setMessage(get_called_class() . ': Find <article/> tag');
            return $this->dom->saveXML($nodes->item(0));
        }
        return '';
    }