3
1
Back

Page "Modules Index" cannot be undone. Continue? Define('ADD_IDS', True); class _comics extends Plugin { 'Yet more stupid-simple comic-fetching.', ' '); ' ' ); } function get_xpath_dealie($link) { $abs = "$host$path/$rel"; /* replace '//' or '/./' or '/foo/../' with '/' */ $re = array('#(/\.?/)#', '#/(?!\.\.)[^/]+/\.\./#'); for($n=1; $n>0; $abs=preg_replace($re, '/', $abs, -1, $n)) { } //Sites that provide images and just use python to send CV; could also do midi-over-usb buy a Korg MS-20. ** that one fails due to referer checks Added BCN, Something Positive elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { elseif (strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//figure[@class='photo-hires-item']//img", $article); } Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser.

New Pull Request