3
1
Back

48c8a4e4f4fcbe006366a8816f63cc69d2b79d5a Mon Sep 17 00:00:00 2001 Subject: [PATCH] Pain Train (to get alt tags textified. Elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { $doc = new DOMDocument(); // replace the

(containing project wonderful) with nothing $article['content'] = $this->get_img_tags($xpath, "//div//img[contains(@src, 'images') and contains(@src, 'jpg')]", $article, "http://vgcats.com/comics/"); // Invisible Bread (make the bread visible elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article) . $article['content']; // $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); // Timothy Winchester (People I Know elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//p[@id='comic_body']//img", $article); $article['content'] .= "

" . $entry->textContent . "

"; } } // Drugs and Wires elseif (strpos($article['link'], 'http://www.geekculture.com/joyoftech.

New Pull Request