3
1
Back

Added BCN, Something Positive elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//figure[@class='photo-hires-item']//img", $article); } // PhD Unknown // Robot Hugs $entries = $xpath->query($query); $result_html = ''; } /* replace '//' or '/./' or '/foo/../' with '/' */ } /* replace '//' or '/./' or '/foo/../' with '/' */ $re = array('#(/\.?/)#', '#/(?!\.\.)[^/]+/\.\./#'); for($n=1; $n>0; $abs=preg_replace($re, '/', $abs, -1, $n)) { } function init($host) { // PhD Unknown elseif (strpos($article["link"], "trenchescomic.com/comic/post/") !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE){ //also get blog $entries = $xpath->query("//div[@class='entry']"); foreach ($entries as $entry) { $article['content'] .= "
ID: " . $article['id']; $article = $this->alt_textify($article); $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry) { $article['content'] .

New Pull Request