3
1
Back

Preg_replace('#(/[0-9-]+)-150x150\.gif#', '$1.gif', $article['content']); $article['content'] = $img; } //Sites that provide images and just need alt tags textified. Elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE && // Cyanide & Happiness elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { // CTRL+ALT+DEL // CTRL+ALT+DEL Sillies elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { $xpath = $this->get_xpath_dealie($bread_page_url); $extraimage = $xpath->query("//img[@class='extrapanelimage']")->item(0); $new_element = $doc->createElement("img"); $article['content'] = $img_tag . $article['content']; } // Poorly Drawn Lines elseif (strpos($article["link"], "chainsawsuit.com/comic/") !== FALSE .

New Pull Request