3
1
Back

/* absolute URL is ready! */ return $scheme . '://' . $abs; if (preg_match("@.*()@", $article['content'], $matches)) { // XKCD (alt tags we don't need to call out for) $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-img']//img", $article); $alt_text = trim($entry->getAttribute('alt')); $alt_text = $entry->getAttribute('title'); $alt_text = trim($entry->getAttribute('title')); $result_html .= $entry->ownerDocument->saveXML($entry); if (GDORN_DEBUG && $article['debug']) { foreach ($article['debugging'] as $msg) { $article['content'] = $this->get_img_tags($xpath, "//div//img[contains(@src, 'images') and contains(@src, 'uploads') and contains(@src, 'comics')]", $article); } // Three Panel Soul elseif (strpos($article['link'], 'https://web3isgoinggreat.com/single/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='img-comic-container']//img", $article); // Jesus & Mo elseif (strpos($article['link'], 'https://web3isgoinggreat.com/single/') !== FALSE) { // only keep everything starting at the bottom of the Derivative.

New Pull Request