Labels Milestones
BackCone_indents_count]) { ef3a1f8c03 Clean up code formatting; added a few comics; standardized appending alt/title text Added The Trenches; yet more code style tweaking Added The Trenches; yet more code style tweaking Added The Trenches; yet more code style tweaking elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { // Three Panel Soul elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { // CTRL+ALT+DEL elseif (strpos($article['link'], 'http://www.achewood.com/index.php?date=') !== FALSE) { //noop elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { $xpath = $this->get_xpath_dealie($bread_page_url); $extraimage = $xpath->query("//img[@class='extrapanelimage']")->item(0); $new_element = $doc->createElement("img"); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); // Drugs and Wires elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { $imgs = $xpath->query('//img'); //doesn't get simpler than this } //No matches if ($img->getAttribute('title')) { $article['content'] .= "
$orig_content
"; //also append the blarg post because that's small, interesting, $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry){ $article['content'] .= "" . $msg . ""; } } // SatW elseif (strpos($article["link"], "manicpixienightmaregirls.com/") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comicbody"]//img)', $article) . $article['content']; } Various updates, additions elseif (strpos($article["link"], "sorcery101.net/the-city-between/thebettertofindyouwith") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); // $article['content'] = $this->get_img_tags($xpath, "//div[@id='comicbody']//img", $article); } // Breaking Cat News elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { // replace the