3
1
Back

$article['content']); Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users else { // Alice Grove (get bigger image // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[@class='ksc' and contains(@src, 'png')]", $article); } // Scenes From A Multiverse (to get alt tags) elseif (strpos($article['link'], 'qwantz.com/index.php?comic') !== FALSE) { // And get blog entry $entries = $xpath->query("//div[@id='signoff-wrapper']"); // Pain Train (to get alt tags textified. Elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } elseif (strpos($alt_text.

New Pull Request