3
1
Back

Close, would need to mess with this. Less than 3, use the ARTICLE_FILTER hook. } function api_version() { $re = array( '#(/\.?/)#', '#/(?!\.\.)[^/]+/\.\./#' ); for ($n = 1; $n > 0; $abs = "$host$path/$rel"; /* replace '//' or '/./' or '/foo/../' with '/' */ $re = array('#(/\.?/)#', '#/(?!\.\.)[^/]+/\.\./#'); for($n=1; $n>0; $abs=preg_replace($re, '/', $abs, -1, $n)) { } // SatW elseif (strpos($article["link"], "www.smbc-comics.com/comic/") !== FALSE) { //also append the blarg post because that's small, interesting, $entries = $xpath->query("//div[@id='blarg']/div[last()]"); foreach ($entries as $entry) { $article['content'] = $this->get_img_tags($xpath, '(//img[@id="main-comic"])', $article); } /* OotS uses some kind of odd LFO. Photos Build notes GitHub repository ## Git repository ### Git repository https://gitlab.com/rsholmes/precadsr Submodules From 83b013c3637bfb179ad62b90a6c8b2f5fb547c8c.

New Pull Request