3
1
Back

$article, "http://vgcats.com/comics/"); // Invisible Bread (make the bread visible if (preg_match("@.*(loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img_tag . $article['content']; } // Invisible Bread (make the bread visible elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/noscript/img", $article); $article['content'] = $this->get_img_tags($xpath, '(//img[@id="main-comic"])', $article); } // Pain Train (to get alt tags elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { // Breaking Cat News // Something Positive if (!$alt_text){ Added BCN, Something Positive elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } .

New Pull Request