3
1
Back

(preg_match("@.*(.*)@", $article['content'], $matches)) { $img = $matches[1]; elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $doc->saveXML(); } // Two Lumps elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { // slightly complicated; the link is.

New Pull Request