3
1
Back

- 89.75; // these are some setup variables... You probably won't need to call out for) $article['content'] = $this->get_img_tags($xpath, "//div[@id='imgdiv']//img", $article); // Scenes From A Multiverse (to get alt tag elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { // Wondermark (alt tag already present elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $matches[1]; elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); } // Joy.

New Pull Request