3
1
Back

(preg_match("@.*?(.*)@", $article['content'], $matches)) { if ($img->getAttribute('title')) { // replace the

(containing project wonderful) with nothing $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } // Three Panel Soul // Two Lumps // Breaking Cat News elseif (strpos($article['link'], 'https://web3isgoinggreat.com/single/') !== FALSE) { // Dilbert elseif (strpos($article['link'], 'paintraincomic.com/comic/') !== FALSE) { $xpath = new DOMXpath($doc); elseif (strpos($article['link'], 'threepanelsoul.com/comic/') !== FALSE) { $doc = new DOMXpath($doc); $bread = $xpath->query("//a[contains(@href, 'bonus-panel')]")->item(0); $bread_page_url = $bread->getAttribute('href'); $xpath = $this->get_xpath_dealie($article['link']); // Girls with Slingshots * Three Panel Soul * Scenes From A Multiverse (to get alt tag) elseif (strpos($article['link'], 'campcomic.com/comic/') .

New Pull Request