3
1
Back

$para_element = $doc->createElement("p"); $article['content'] = $img_tag . $article['content']; // $article['content'] = preg_replace('#(/[0-9-]+)-150x150\.gif#', '$1.gif', $article['content']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-img']//img", $article); // Timothy Winchester (People I Know) // Timothy Winchester (People I Know elseif (strpos($article['link'], '//theoatmeal.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $orig_content = strip_tags($article['content']); // Awkward Zombie $article['content'] .= "

Bonus comic:
" . $aftercomic .

New Pull Request