3
1
Back

My own itch here. * Most important: Keep it simple. Follow one pattern. Class _comics extends Plugin { function rel2abs($rel, $base) { function rel2abs($rel, $base) { function hook_render_article($article) { return $rel; } extract(parse_url($base)); $path = ''; function rel2abs($rel, $base) { if ($title_text == $article['title'] || strpos($article['title'], $alt_text) !== false){ } elseif (strpos($title_text, $alt_text) !== False) { if (parse_url($rel, PHP_URL_SCHEME) != '' || substr($rel, 0, 2) == '//') { return $article; } $article = $this->alt_textify($article); $entries = $xpath->query("//div[@id='signoff-wrapper']"); foreach ($entries as $entry){ foreach ($entries as $entry) { $article['content'] = preg_replace("@@", '', $article['content']); Clean up code formatting; added a few comics; standardized appending.

New Pull Request