3
1
Back

Tags foreach($imgs as $img){ if ($img->getAttribute('title')) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Questionable Content (cleanup elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { // replace the (containing project wonderful) with nothing $article['content'] = $matches[1]; $img = preg_replace("@height=\"\d+\"@", "", $img); $img = $matches[1]; elseif (strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE){ $article['content'] = $img; } } .

New Pull Request