3
1
Back

To getting the image. Elseif (strpos($article['link'], 'qwantz.com/index.php?comic') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img_tag . $article['content']; // $article['content'] = $img; } } // Poly In Pictures elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { $article['content'] .= "

" . $entry->textContent . "

"; $article['content'] .= "
Alt: $alt_text
"; list($html, $content_type) = $this->get_content($link); $doc = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ // Questionable Content (cleanup) elseif (strpos($article['link.

New Pull Request