3
1
Back

Cleanup of alt-tag-only sites elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE) { $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; $img_tag = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); $article['content'] .= "
Alt: $alt_text
"; } } function init($host) { // And get blog $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry) { $article['content'] .= "
$orig_content
"; } // Camp Weedonwantcha elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $orig_content = strip_tags($article['content']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } // Poly In Pictures elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; .

New Pull Request