3
1
Back

Lines Tags for /ttrss-plugin- _comics From bfe3829b0b80a8fa0a4e338e69dd799a42ac7c7b Mon Sep 17 00:00:00 2001 Subject: [PATCH] Update README.md 2015-02-23 04:37:33 -08:00 It's really just a quick and dirty content rewriting engine with code already written for about a dozen webcomics. Examples: Joy of Tech elseif (strpos($article['link'], 'www.timothywinchester.com/2') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comicbody']//img", $article); $article['content'] .= "
" . $msg . ""; } if ($rel[0] == '/') { $path = preg_replace('#/[^/]*$#', '', $path); /* replace '//' or '/./' or '/foo/../' with '/' */ $re = array('#(/\.?/)#', '#/(?!\.\.)[^/]+/\.\./#'); for($n=1; $n>0; $abs=preg_replace($re, '/', $abs, -1, $n)) {} /* absolute URL is ready! */ return $scheme.'://'.$abs; } function get_xpath_dealie($link) { $abs = preg_replace($re, '/', $abs, -1, $n)) { } //Sites that provide images and just need alt tags textified. } //Sites that provide images and just need alt tags textified. $alt_element = $doc->createElement("i", $title_text); } elseif (strpos($article["link"], "eatthattoast.com/comic/") !== FALSE .

New Pull Request