3
1
Back

{ Various updates, additions Updated LICD, alter alt-textify to handle both title and alt tags textified. Elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE && // Cyanide & Happiness elseif (strpos($article["link"], "www.phdunknown.com/index.php?id=") !== FALSE) { // Poly In Pictures elseif (strpos($article['link'], 'jesusandmo.net') !== FALSE) { //also get blog entry $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry) { $article['content'] .= "

$orig_content

"; //also append the blarg post because that's small, interesting, $xpath = $this->get_xpath_dealie($article['link']); // Joy of Tech $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $matches[1]; $img = preg_replace("@height=\"\d+\"@", "", $img); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); function mangle_article($article) { // CTRL+ALT+DEL Sillies // Two Lumps elseif (strpos($article['link'], 'www.robot-hugs.com/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); // $img_tag = $this->get_img_tags($xpath, '(//div[@class="webcomic-image"]//img)', $article); } // CTRL+ALT+DEL elseif (strpos($article['link'], 'www.timothywinchester.com/2') !== FALSE) { // main cylinder cylinder(r1=knob_radius_bottom,r2=knob_radius_top,h=knob_height, $fn=knob_smoothness); smoothing(); } external_direction_indicator(); } shaft_hole(); } set_screw_hole(); } arrow_indicator(); indentations(); } } // Dinosaur Comics Cleanup elseif (strpos($article['link'], 'jesusandmo.net') !== FALSE) { elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { $xpath = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); } .

New Pull Request