3
1
Back

"
$orig_content
"; // Awkward Zombie elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'ENG_')]", $article); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // PhD Unknown // Robot Hugs elseif (strpos($article['link'], 'www.geekculture.com/joyoftech/') !== FALSE) { // $xpath = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="post"]//img)', $article); $article['content'] .= "

" . $entry->textContent . "

"; $article['content'] .= "

" . $entry->ownerDocument->saveXML($entry) . "

"; } } // Questionable Content (cleanup) elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img; } Fix for when invisible bread has no bread elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { // CTRL+ALT+DEL Sillies elseif (strpos($article['link'], 'qwantz.com/index.php?comic') !== FALSE) { $article['content'] .= "
Alt: " . $img->getAttribute('title') .

New Pull Request