3
1
Back

If ($doc === NULL) { foreach ($article['debugging'] as $msg) { $article['content'] .= "" . $entry->ownerDocument->saveXML($entry) . "

"; } } return $article; } if(ADD_IDS){ $article['content'] .= "

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

"; } } // Drugs and Wires elseif (strpos($article["link"], "trenchescomic.com/comic/post/") !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE){ $article['content'] = $this->get_img_tags($xpath, '(//div[@class="post"]//img)', $article); $article['content'] = $this->get_img_tags($xpath, '(//img[@id="main-comic"])', $article); } Various updates, additions // PhD Unknown // Robot Hugs elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { $img = $matches[1]; } } // Dead Philosophers elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { // Two Lumps // Breaking Cat News elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { //noop elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { // Poly In Pictures elseif (strpos($article['link'], 'www.geekculture.com/joyoftech/') !== FALSE) { // Poorly Drawn Lines elseif (strpos($article["link"], "www.smbc-comics.com/comic/") !== FALSE) { // CTRL+ALT+DEL.

New Pull Request