3
1
Back

Function alt_textify($article, $doc = new DOMDocument(); // replace the (containing project wonderful) with nothing $article['content'] = $img_tag . $article['content']; } // Cyanide & Happiness elseif (strpos($article["link"], "www.pilotside.us/comic/") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $img_tag = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); } // Timothy Winchester (People I Know) // Timothy Winchester (People I Know) elseif (strpos($article['link'], 'paintraincomic.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $doc->saveXML(); } // Cyanide & Happiness elseif (strpos($article["link"], "www.phdunknown.com/index.php?id=") !== FALSE) { //noop $xpath = $this->get_xpath_dealie($article['link']); Updated LICD, alter alt-textify to handle both title.

New Pull Request