3
1
Back

'K' side of the two, if you feel like it, otherwise I'm just scratching my own itch here. * Most important: Keep it simple. Follow one pattern. Class _comics extends Plugin { function about() { function rel2abs($rel, $base) { function about() { return $this->mangle_article($article); } catch (Exception $e) { $article['content'] = $img_tag . $article['content']; } // Joy of Tech elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $doc->saveXML(); // Questionable Content (cleanup) // Questionable Content (cleanup elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Least I Could Do (wtf image size?) $xpath = $this->get_xpath_dealie($article['link']); $img_tag = $this->get_img_tags($xpath, "//div[@class='singleImage']/img[@class='magicfields']", $article); $article['content'] .= "
ID: " . $article['id']; } return $article; } function hook_render_article_cdm($article) { return $this->mangle_article($article); } catch (Exception $e) { $article['content.

New Pull Request