'cad-comic.com/sillies/') !== FALSE) { $doc = new DOMDocument(); // replace the
(containing project wonderful) with nothing $article['content'] = $this->get_img_tags($xpath, '(//div[@class="webcomic-image"]//img)', $article); } // Two Lumps elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//figure[@class='photo-hires-item']//img", $article); } // Joy of Tech Scenes From A Multiverse (to get alt tags foreach($imgs as $img){ foreach ($imgs as $img) { $article['content'] .= "