3
1
Back

PRs welcome. I think this is far simpler than this } //No matches if ($img->getAttribute('title')) { // Dinosaur Comics (alt tags+blog), CAD, attempt at OOTS (but that one fails due to referer checks 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) { $imgs = $xpath->query('//img'); //doesn't get simpler than this } //No matches //No.

New Pull Request