3
1
Back

// Eat That Toast bog-standard example // Breaking Cat News elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { // Eat That Toast bog-standard example // Breaking Cat News // Something Positive Added BCN, Something Positive elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { // Wondermark (alt tag already present elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } // Three Panel Soul elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="aftercomic"]//img)', $article); $article['content'] = $this->get_img_tags($xpath, '(//img[@id="main-comic"])', $article); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="main"]//img)', $article); } Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users Invisible Bread, Softer World (alt tags we don't lose it 734cf9b18c60a281be644f29cc7855602eaad99d Fix annoyance of 2x05 IDC header.

New Pull Request