3
1
Back

Printing will do far better detail work, but with an alt or title tag. Function alt_textify($article, $doc = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach ($imgs as $img) { if (preg_match("@.*?(.*)@", $article['content'], $matches)) { if ($img->getAttribute('title')) { $article['content'] .= "
" . $msg . ""; } } // Timothy Winchester (People I Know) // Timothy Winchester (People I Know elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { // Something Positive elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { elseif (strpos($article['link'], 'http://www.geekculture.com/joyoftech/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath.

New Pull Request