3
1
Back

Use the first $xpath = $this->get_xpath_dealie($article['link']); elseif (strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[@class='comic']", $article); //also get the blog $entries = $xpath->query("//div[@class='entry']"); foreach ($entries as $entry) { $article['content'] .= "$orig_content"; // Awkward Zombie elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { $article['content'] .= "
$orig_content
"; // Awkward Zombie elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { // Joy of Tech elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { $article['content'] .= "

" . $entry->textContent . "

"; } } Invisible Bread, Softer World (alt tags), Dinosaur Comics (alt tags+blog), CAD, attempt at.

New Pull Request