3
1
Back

Most important: Keep it simple. Follow one pattern. Class _comics extends Plugin { function get_img_tags($xpath, $query, $article){ $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry) { // Eat That Toast bog-standard example if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { //noop elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); // Drugs and Wires elseif (strpos($article["link"], "trenchescomic.com/comic/post/") !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE){ //also get the blog $entries = $xpath->query("//div[@id='comic-notes']"); d5bfb6e27b Go to file 99b8f1493d More layout updates luther_diy_schematic Consider incorporating.

New Pull Request