3
1
Back

DOMDocument(); $doc->loadHTML($html); $xpath = $this->get_xpath_dealie($article['link']); // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comicFrame"])', $article); Added The Trenches; yet more code style tweaking elseif (strpos($article["link"], "chainsawsuit.com/comic/") !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE) { // Dilbert elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { //also get blog $entries = $xpath->query("//div[@id='signoff-wrapper']"); } //Sites that provide images and just need alt tags textified. } //Sites that provide images and just need alt tags if (preg_match("@.*()@", $article['content'], $matches.

New Pull Request