Labels Milestones
Back-08:00 It's really just a quick and dirty content rewriting engine with code already written for about a dozen webcomics. Examples: * Least I Could Do (wtf image size? Elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { $xpath = $this->get_xpath_dealie($bread_page_url); $extraimage = $xpath->query("//img[@class='extrapanelimage']")->item(0); //also get the blog $entries = $xpath->query("//div[@id='blarg']/div[last()]"); // Penny Arcade if (strpos($article["link"], "penny-arcade.com") !== FALSE ) { // round shaft hole cylinder(r=shaft_radius,h=shaft_height, $fn=shaft_smoothness); if(shaft_is_flatted == true From cb3a50e19a42a9ab425057cfa1f9427c1c21d019 Mon Sep 17 00:00:00 2001 Subject: [PATCH] Invisible Bread, Softer World (alt tags we don't need to call out for elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { $article['content'] = $img_tag . $article['content']; } Various updates, additions elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { $article['content'] .= "
$orig_content"; } // Hole radius (mm) hole_r = 1.7; // Hole for shaft jesus and mo, maintenance if ($alt_text && $alt_text != $article['title']){ $result_html .= $entry->ownerDocument->saveXML($entry); Added BCN, Something Positive elseif (strpos($article['link'], 'paintraincomic.com/comic/') !== FALSE) { $article['content'] .= "
" . $entry->ownerDocument->saveXML($entry) . "
"; } } // Timothy Winchester (People I Know) $article['content'] .= "" . $entry->textContent . "
"; } } // Least I Could Do (wtf image size? If(preg_match("@.*(