3
1
Back

If ($doc === NULL) { if ($rel[0]=='#' || $rel[0]=='?') { return $rel; } if ($alt_text && !$title_text){ Various updates, additions elseif (strpos($article["link"], "trenchescomic.com/comic/post/") !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'Strip')]", $article); // $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); } // Two Lumps // Breaking Cat News elseif (strpos($article['link'], 'https://web3isgoinggreat.com/single/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//img[@class='ksc' and contains(@src, 'comics')]", $article); // $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article) . $article['content']; elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $orig_content = strip_tags($article['content']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { // $xpath = new DOMXpath($doc); $vgcats_url_node = $url_xpath->query("//a[contains(@href, 'strip_id')]")->item(0); } $article['content'] .

New Pull Request