3
1
Back

{ $article['content'] = $img_tag . $article['content']; } Various updates, additions Updated LICD, alter alt-textify to handle both title and alt tags in feedburner (if there are quotes) elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { // only keep everything starting at the first if(preg_match("@.*()@", $article['content'], $matches)){ $img = preg_replace("@width=\"\d+\"@", "", $img); $article['content'] = $img; } } return $article; } function rel2abs($rel, $base) { if (preg_match("@.*()@", $article['content'], $matches)) { $img = $matches[1]; $img = preg_replace("@height=\"\d+\"@", "", $img); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comicbody']//img", $article); } // Three Panel Soul elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $doc->saveXML(); // Questionable Content (cleanup Merge issues.

New Pull Request