3
1
Back

Certain threshold (perhaps useful for non-browser users if (preg_match("@.*(get_img_tags($xpath, '(//div[@class="post"]//img)', $article); $article['content'] .= "

" . $entry->ownerDocument->saveXML($entry) . "

"; // only keep everything starting at the first if(preg_match("@.*()@", $article['content'], $matches)){ $img = preg_replace("@height=\"\d+\"@", "", $img); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/noscript/img", $article); } Clean up code formatting; added a few due to referer checks elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { // CTRL+ALT+DEL // CTRL+ALT+DEL elseif (strpos($article['link'], 'www.geekculture.com/joyoftech/') !== FALSE) { //noop elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { // Something Positive Added BCN, Something.

New Pull Request