3
1
Back

(preg_match("@.*()@", $article['content'], $matches)) { // CTRL+ALT+DEL elseif (strpos($article['link'], 'http://www.achewood.com/index.php?date=') !== FALSE) { if ($rel[0] == '/') { $path = ''; foreach ($entries as $entry) { $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); // Berkeley Mews // elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $matches[1]; } } } function get_xpath_dealie($link) { $abs = preg_replace($re, '/', $abs, -1, $n)) {} /* absolute URL is ready! */ } /* replace '//' or '/./' or '/foo/../' with '/' .

New Pull Request