3
1
Back

An alt or title tag. Function alt_textify($article, $doc = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this } //No matches //No matches //No matches //No matches if ($img->getAttribute('title')) { $article['content'] .= "
$orig_content
"; // Awkward Zombie elseif (strpos($article['link'], 'http://www.geekculture.com/joyoftech/') !== FALSE) { elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, '(//div[@class="post"]//img)', $article); $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, 'sp') and contains(@src, 'jpg')]", $article, "http://vgcats.com/comics/"); // Invisible Bread (make the bread visible) elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE) { $xpath = $this->get_xpath_dealie($vgcats_url); if (GDORN_DEBUG && $article['debugging']) { foreach ($article['debug'] as $msg) { $article['content'] .= "

" . $entry->textContent . "

"; $article['content.

New Pull Request