3
1
Back

Alt tags) // Scenes From A Multiverse (to get alt tags) elseif (strpos($article['link'], 'https://web3isgoinggreat.com/single/') !== FALSE) { $article['content'] = $img_tag . $article['content']; elseif (strpos($article["link"], "www.pilotside.us/comic/") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } Assorted updates elseif (strpos($article["link"], "drugsandwires.fail/dnwcomic/") !== FALSE) { $doc = new DOMDocument(); // replace the

(containing project wonderful) with nothing $article['content'] = $this->get_img_tags($xpath, '(//div[@class="post"]//img)', $article); // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } Clean up code formatting; added a few.

New Pull Request