3
1
Back

Scratching my own itch here. * Most important: Keep it simple. Follow one pattern. Class _comics extends Plugin { function about() { return $article; } function rel2abs($rel, $base $path = preg_replace('#/[^/]*$#', '', $path); if ($rel[0] == '#' || $rel[0] == '?') { return array(0.1, 'Yet more stupid-simple comic-fetching.', ' '); } function hook_render_article($article) { $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } } return $article; } Some comics supported elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { // Something Positive Added BCN, Something Positive From 99b8f1493d9f2a363a83835d795293cab3a675c2 Mon Sep 17 00:00:00 2001 Subject: [PATCH] Gunnerkrigg and cleanup of alt-tag-only sites elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='img-comic-container']//img", $article); } elseif (strpos($article["link"], "www.smbc-comics.com/comic/") !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); $article['content'] .= "
" . $msg . ""; } } $entries = $xpath->query("//div[@id='signoff-wrapper.

New Pull Request