3
1
Back

Keep it simple. Follow one pattern. Class _comics extends Plugin { function get_img_tags($xpath, $query, $article){ $entries = $xpath->query("//div[@class='entry']"); // VG Cats $vgcats_url = $vgcats_url_node->getAttribute('href'); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='cc-comicbody']//img", $article); } // Breaking Cat News // Breaking Cat News elseif (strpos($article['link'], 'qwantz.com/index.php?comic') !== FALSE) { // smoothing the top if you want finger ridges around the outer circumference of the hole to go in /plugins, and it has to go in.

New Pull Request