3
1
Back

= array('src', 'alt', 'title'); $new_src = $this->rel2abs($orig_src, $article['link']); $entry->setAttribute('src', $new_src); $result_html .= "
Alt: " . $img->getAttribute('title') . ""; } //noop } // XKCD (alt tags we don't need to call out for) // Dead Philosophers elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { // Something Positive elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { $doc = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than.

New Pull Request