3
1
Back

DOMDocument(); elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE) { if (preg_match("@.*(get_img_tags($xpath, "//div[@id='comic']/img", $article); } // Softer World (alt tags), Dinosaur Comics Cleanup // Dinosaur Comics Cleanup $entries = $xpath->query("//span[@class='rss-content']"); // 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, '//td/img[contains(@src, "/comics/images/")]', $article); $article['content'] .= "

" . $entry->textContent . ""; if (ADD_IDS) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); $entries = $xpath->query("//div[@id='signoff-wrapper']"); foreach ($entries as.

New Pull Request