3
1
Back

Or files, that is PCB and IDC, so expanding to a company name if they're disqualified for some reason, like if 5 PCBs cost >$150; no need to call out for elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $matches[1]; $img = preg_replace("@height=\"\d+\"@", "", $img); $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, '/comics/') and @class='comic_image']", $article); } // Scenes From A Multiverse (to get alt tag) elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { // Dead Philosophers // Dead Philosophers elseif (strpos($article['link'], 'paintraincomic.com/comic/') !== FALSE) { $xpath = new DOMDocument(); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $matches[1]; } } foreach($imgs as $img){ $article['content'] .= "$orig_content"; // Awkward Zombie $orig_content = strip_tags($article['content']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } Assorted.

New Pull Request