3
1
Back

!$title_text){ Various updates, additions elseif (strpos($article["link"], "satwcomic.com/") !== FALSE) { // slider pot slit module make_step(bottom_element="switch") { // The Trenches elseif (strpos($article["link"], "satwcomic.com/") !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Dilbert // Dilbert elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { $doc = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $orig_content = strip_tags($article['content']); $article['content'] = $this->get_img_tags($xpath, "//img[@class='ksc' and contains(@src, 'comics')]", $article); } // Scenes From A Multiverse (to get alt tags textified. Elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE ) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comicbody']//img", $article); } Clean up code formatting; added a few comics; standardized appending alt/title text function get_content($link) { /** * When debugging or writing a new fetcher.

New Pull Request