3
1
Back

"//div//img[contains(@src, 'images') and contains(@src, 'png')]", $article); } // Least I Could Do (wtf image size? If (preg_match("@.*()@", $article['content'], $matches)) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } // Scenes From A Multiverse (to get alt tag) // Pain Train (to get alt tags in feedburner (if there are quotes) elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { // slightly complicated; the link is to collect findings from.

New Pull Request