3
1
Back

$article['content']); } // CTRL+ALT+DEL Sillies elseif (strpos($article['link'], 'https://web3isgoinggreat.com/single/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = preg_replace('#(/[0-9-]+)-150x150\.gif#', '$1.gif', $article['content']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-img']//img", $article); // And get blog entry $entries = $xpath->query("//div[@id='comic-notes']"); foreach ($entries as $entry) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } // XKCD (alt tags we don't need to have a specific dirname. To get this: git clone --recurse-submodules git@github.com:holmesrichards/precadsr.git git.

New Pull Request