3
1
Back

Function get_xpath_dealie($link) { $abs = preg_replace($re, '/', $abs, -1, $n)) {} /* absolute URL is ready! */ } function mangle_article($article) { // Girls with Slingshots elseif (strpos($article['link'], 'alicegrove.com') !== FALSE) { // Softer World (alt tags), Dinosaur Comics (alt tags+blog), CAD, attempt at OOTS (but that one fails due to referer checks Added BCN, Something Positive elseif (strpos($article['link'], 'threepanelsoul.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="post"]//img)', $article); // Dead Philosophers Added BCN, Something Positive elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE.

New Pull Request