3
1
Back

Cleanup of alt-tag-only sites elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE){ $xpath = new DOMDocument(); elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { // Breaking Cat News elseif (strpos($article['link'], 'www.geekculture.com/joyoftech/') !== FALSE) { // $img_tag = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } elseif (strpos($title_text, $alt_text) !== False) { if ($img->getAttribute('title')) { $article['content'] .= "
Alt: " .

New Pull Request