3
1
Back

Most important: Keep it simple. Follow one pattern. Class _comics extends Plugin { function about() { function about() { return $base . $rel; } extract(parse_url($base)); $path = ''; function rel2abs($rel, $base) { Fix for when invisiblebread has no bread function rel2abs($rel, $base) { if ($img->getAttribute('title')) { $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article) . $article['content']; elseif (strpos($article["link"], "poorlydrawnlines.com/comic/") !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//p[@id='comic_body']//img", $article); $article['content'] = $doc->saveXML(); } Some comics supported elseif (strpos($article['link'], 'http://www.achewood.com/index.php?date=') !== FALSE) { elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE) { //no-op else { // Alice Grove bigger img Pain Train (to get alt tags.

New Pull Request