Labels Milestones
Back$this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); } 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'], 'imgs.xkcd.com/comics/') !== FALSE) { // Timothy Winchester (People I Know) elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, 'sp') and contains(@src, 'uploads') and contains(@src, 'comics')]", $article); } Dead Philosophers // Dead Philosophers Dead Philosophers Dead Philosophers Dead Philosophers elseif (strpos($article['link'], 'http://www.achewood.com/index.php?date=') !== FALSE) { Gunnerkrigg and cleanup of alt-tag-only sites elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { Gunnerkrigg and cleanup of alt-tag-only sites // Gunnerkrigg Court elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { // Achewood (alt tag) elseif (strpos($article['link'], 'wondermark.com/c') !== FALSE) { $article['content'] .= "" . $entry->textContent . "
"; } } // replace the