3
1
Back

Image // $xpath = $this->get_xpath_dealie($article['link']); elseif (strpos($article["link"], "eatthattoast.com/comic/") !== FALSE ) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'uploads')]", $article); elseif (strpos($article["link"], "www.smbc-comics.com/comic/") !== FALSE) { // only keep everything starting at the first elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { // CTRL+ALT+DEL elseif (strpos($article['link'], 'qwantz.com/index.php?comic') !== FALSE) { elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE ) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = preg_replace('#(width|height)="150"#', '', $article['content']); } // Cyanide & Happiness elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { // Awkward Zombie $article['content'] .= "

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

"; } } } // } // Timothy Winchester (People I Know elseif (strpos($article['link'], 'www.geekculture.com/joyoftech/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//p[@id='comic_body']//img", $article); $article['content'] .= "

Bonus comic:
" . $aftercomic . "

"; } } // Two Lumps elseif (strpos($article['link'], 'paintraincomic.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link.

New Pull Request