3
1
Back

Of title and alt tags elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='singleImage']/img[@class='magicfields']", $article); $article['content'] = preg_replace("@@", '', $article['content']); // Alice Grove (get bigger image // $xpath = $this->get_xpath_dealie($article['link']); // there's both alt and title texts, they're both different, use both. $title_element = $doc->createElement("i", $alt_text); } elseif (strpos($alt_text, $title_text) !== False) { if (preg_match("@.*()@", $article['content'], $matches)) { $article['content'] = preg_replace("@@", '', $article['content.

New Pull Request