3
1
Back

Keep it simple. Follow one pattern. Class _comics extends Plugin { function about() { return $rel; } if ($rel[0]=='#' || $rel[0]=='?') { return $this->mangle_article($article); } function hook_render_article($article) { try { return $this->mangle_article($article); } catch (Exception $e) { $article['content'] .= "

" . $entry->textContent . "

"; $article['content'] .= "
Error processing via _comics plugin!
" . $e->getMessage(); } } // Joy of Tech // Joy of Tech // Joy of Tech elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { $article['content'] .= "
Alt: " . $img->getAttribute('title.

New Pull Request