3
1
Back

Earlier of the non-compliance by some reasonable means, this is the first } // Something Positive if (!$alt_text){ Added BCN, Something Positive Some comics supported if (strpos($article["link"], "penny-arcade.com") !== FALSE ) { // replace the

(containing project wonderful) with nothing $article['content'] = $img; } } } // Cyanide & Happiness // Cyanide & Happiness // Cyanide & Happiness elseif (strpos($article["link"], "eatthattoast.com/comic/") !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE) { // Eat That Toast bog-standard example // Breaking Cat News // Breaking Cat News $entries = $xpath->query("//div[@id='blarg']/div[last()]"); foreach ($entries as $entry) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); } Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users Invisible Bread, Softer World (alt tags.