3
1
Back

Probably won't need to call out for elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = preg_replace('#(/[0-9-]+)-150x150\.gif#', '$1.gif', $article['content']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="aftercomic"]//img)', $article); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); // $img_tag = $this->get_img_tags($xpath, '(//div[@id="comicFrame"])', $article); } Clean up code formatting; added a few comics; standardized appending alt/title text 3D Printing/Panels/AD&D 1e spell names in Filmoscope Quentin' e97ef3972850f598b56fc0365b7ac9a8c525cde5 Delete '3D Printing/AD&D 1e spell names in Filmoscope Quentin/MAGIC.

New Pull Request