3
1
Back

$this->get_img_tags($xpath, "//div[@id='comic']/noscript/img", $article); } // Gunnerkrigg Court elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { $xpath = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $img_tag = $this->get_img_tags($xpath, '(//div[@id="comicbody"]//img)', $article) . $article['content']; } // XKCD (alt tags we don't need to call out for elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { $article['content'] .= "

" . $entry->textContent . "

"; } } // Scenes From A.

New Pull Request