3
1
Back

$title_text); } else { // Wondermark (alt tag already present foreach($imgs as $img){ $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } } // Scenes From A Multiverse (to get alt tags in feedburner (if there are quotes) elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div//img[contains(@src, 'images') and contains(@src, 'png')]", $article); } // Softer World (alt tags), Dinosaur Comics Cleanup elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { // Penny Arcade if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { //No matches if ($img->getAttribute('title')) { // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath.

New Pull Request