3
1
Back

$this->get_img_tags($xpath, "//img[@class='ksc' and contains(@src, 'comics')]", $article); } // Timothy Winchester (People I Know) // Timothy Winchester (People I Know) elseif (strpos($article['link'], 'paintraincomic.com/comic/') !== FALSE) { $article['content'] .= "
$orig_content
"; } // CTRL+ALT+DEL // Three Panel Soul elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users elseif (strpos($article["link"], "www.smbc-comics.com/comic/") !== FALSE) { // Invisible Bread (make the bread visible) $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comicFrame"])', $article); } // Joy of Tech $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, 'sp') and contains(@src, 'png')]", $article); } // Wondermark (alt tag already present) elseif.

New Pull Request