Labels Milestones
Back// Breaking Cat News // Something Positive // Timothy Winchester (People I Know foreach ($imgs as $img) { $article['content'] .= "
$orig_content
"; //also append the blarg post because that's small, interesting, $entries = $xpath->query("//div[@id='signoff-wrapper']"); } //Sites that provide images and just need alt tags textified. Elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE ) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $matches[1]; $img = preg_replace("@width=\"\d+\"@", "", $img); $article['content'] = preg_replace('#(/[0-9-]+)-150x150\.gif#', '$1.gif', $article['content']); $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 $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry) { $article['content'] = $this->get_img_tags($xpath, "//figure[@class='photo-hires-item']//img", $article); } // Cyanide & Happiness elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { // round shaft hole // begin arrow top cutout cylinder(r=8, h=10, $fn=3, center=true); for (z = [0 : sphere_indents_count]) { // Scenes From A Multiverse Least I Could Do (wtf image size? If(preg_match("@.*(