3
1
Back

Can also see my solution to getting the image. Elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { if ($img->getAttribute('title')) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-img']//img", $article); $alt_text = $entry->getAttribute('title'); $alt_text = trim($img->getAttribute('title')); if (!$alt_text) { $new_element = $doc->createElement("div"); $para_element = $doc->createElement("p"); $article['content'] = $matches[1]; } } //Sites that provide images and just need alt tags foreach($imgs as $img){ // Questionable Content (cleanup) $article['content'] .

New Pull Request