Labels Milestones
BackIt, otherwise I'm just scratching my own itch here. * Most important: Keep it simple. Follow one pattern. Class _comics extends Plugin { function about() { return $base.$rel; } extract(parse_url($base)); $path = preg_replace('#/[^/]*$#', '', $path); if ($rel[0] == '#' || $rel[0] == '?') { return $rel; } if (ADD_IDS) { $new_element->appendChild($para_element); if ($alt_text && !$title_text){ } /* dirty absolute URL */ $abs = preg_replace($re, '/', $abs, -1, $n)) {} /* absolute URL is ready! */ return $scheme . '://' . $abs; } From d8a7439c05979d3c73da6a91162e90a1a48a57e5 Mon Sep 17 00:00:00 2001 Subject: [PATCH] Added BCN, Something Positive elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Dead Philosophers elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { $doc = new DOMDocument(); // replace the