3
1
Back

$article = $this->alt_textify($article); $entries = $xpath->query("//div[@class='entry']"); if (preg_match("@.*(.*)@", $article['content'], $matches)) { $article['content'] .= "" . $entry->textContent . "

"; $article['content'] .= "" . $entry->ownerDocument->saveXML($entry) . "

"; } } } // Joy of Tech // Joy of Tech elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } Some comics supported elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Camp Weedonwantcha elseif (strpos($article['link'], 'http://www.achewood.com/index.php?date=') !== FALSE) { strpos($article["title"], "Comic:") !== FALSE) { // Dinosaur Comics.

New Pull Request