3
1
Back

@todo Refactor the scaling algorithm and parameters to be fixed elsewhere elseif (strpos($article['link'], 'http://www.geekculture.com/joyoftech/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); // $article['content'] = $this->get_img_tags($xpath, "//p[@id='comic_body']//a//img", $article); } // Scenes From A Multiverse (to get alt tags elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { // Wondermark (alt tag already present elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE.

New Pull Request