3
1
Back

!== FALSE){ $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-img']//img", $article); // $img_tag = $this->get_img_tags($xpath, "//div[@id='cc-comicbody']/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['content'], 'imgs.xkcd.com/comics/') !== FALSE) { $article['content'] .= $aftercomic; $article['content'] .= "

" . $entry->textContent . "

"; } } // Gunnerkrigg Court elseif (strpos($article['link'], 'paintraincomic.com/comic.

New Pull Request