3
1
Back

Follow one pattern. Class _comics extends Plugin { function get_img_tags($xpath, $query, $article) { function init($host) { // CTRL+ALT+DEL Sillies // CTRL+ALT+DEL elseif (strpos($article['link'], 'wondermark.com/c') !== FALSE) { // replace the

(containing project wonderful) with nothing $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article) . $article['content']; } // Wondermark (alt tag elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = preg_replace('#(width|height)="150"#', '', $article['content']); } // XKCD (alt tags we don't lose it 734cf9b18c Add the label font so we don't need to call out.

New Pull Request