3
1
Back

Updates elseif (strpos($article['link'], 'alicegrove.com') !== FALSE) { $xpath = $this->get_xpath_dealie($vgcats_url); if (GDORN_DEBUG && $article['debug']) { $base_url = $article['link']; } From 0d3d72c49e606725216a5a9a4217e6c039d5a574 Mon Sep 17 00:00:00 2001 Subject: [PATCH 1/2] Fix rail clearance issues, add PCB slot, more options for From 26b0f019558d72bf4224105820000ab74fd3a1b8 Mon Sep 17 00:00:00 2001 Subject: [PATCH] Pain Train (to get alt tags textified. Elseif (strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img_tag . $article['content']; // $article['content'] = $this->get_img_tags($xpath, "//figure[@class='photo-hires-item']//img", $article); } // Least I Could Do (wtf image size? Elseif (strpos($article['link'], 'http://www.achewood.com/index.php?date=') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); function mangle_article($article) { Added BCN, Something Positive // Something Positive elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { // Penny Arcade if(preg_match("@.*()@", $article['content'], $matches)){ $img = preg_replace("@height=\"\d+\"@", "", $img); $article['content'] = $this->get_img_tags($xpath, "//img[@class='comic']", $article); //also get the blog $entries = $xpath->query("//div[@id='blarg']/div[last()]"); foreach ($entries as $entry) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/noscript/img", $article); } Various updates, additions /* dirty absolute URL is ready! */ return $scheme.'://'.$abs; return $scheme . '://' . $abs; if (preg_match("@.*(

New Pull Request