3
1
Back

(cleanup) // Questionable Content (cleanup) elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { $article['content'] = $matches[1]; $img = $matches[1]; elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE) { $article['content'] .= "
$orig_content
"; // Awkward Zombie $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } } Dead Philosophers elseif (strpos($article['link'], 'alicegrove.com') !== FALSE) { //also append the blarg post because that's small, interesting, $entries = $xpath->query("//div[@class='entry']"); foreach ($entries as $entry){ $orig_src = $entry->getAttribute('src'); $result_html .= "
Alt: $alt_text
"; } } // Dilbert elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { // Wondermark (alt tag already present) // Wondermark (alt tag already present) elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } // Breaking Cat News elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $matches[1]; $img = preg_replace("@height=\"\d+\"@", "", $img); $img = preg_replace("@height=\"\d+\"@", "", $img.

New Pull Request