3
1
Back

Like it, otherwise I'm just scratching my own itch here. * Most important: Keep it simple. Follow one pattern. Class _comics extends Plugin { catch (Exception $e) { $article['content'] .= "

" . $entry->ownerDocument->saveXML($entry) . "

"; // Wondermark (alt tag already present elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//p[@id='comic_body']//img", $article); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="aftercomic"]//img)', $article); $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } // Timothy Winchester (People I Know elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { //noop elseif (strpos($article['link'], '//theoatmeal.com/comics/') !== FALSE) { elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { // Dinosaur Comics (alt tags+blog), CAD, attempt at OOTS (but that one fails due to referer checks elseif.

New Pull Request