3
1
Back

// go positive if you feel like it, otherwise I'm just scratching my own itch here. * Most important: Keep it simple. Follow one pattern. Class _comics extends Plugin { function rel2abs($rel, $base) { Various updates, additions // PhD Unknown elseif (strpos($article["link"], "chainsawsuit.com/comic/") !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { $article['content'] .= "
Alt: " . $article['id']; } return $article; } function api_version() { return $this->mangle_article($article); } catch (Exception $e) { $article['content'] .= "

" . $entry->ownerDocument->saveXML($entry) . "

"; // Wondermark (alt tag already present) // Wondermark (alt tag already present elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Cyanide & Happiness // Cyanide & Happiness // Cyanide & Happiness elseif (strpos($article["link"], "trenchescomic.com/comic/post/") !== FALSE ) { // Penny Arcade if (strpos($article["link"], "penny-arcade.com") !== FALSE ) { $xpath = $this->get_xpath_dealie($vgcats_url); if (GDORN_DEBUG && $article['debugging']) { foreach ($imgs as $img) { if ($img->getAttribute('title')) { // only keep everything starting at the first if(preg_match("@.*()@", $article['content'], $matches)){ $img = $matches[1.

New Pull Request