3
1
Back

Example if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = preg_replace('#(/[0-9-]+)-150x150\.gif#', '$1.gif', $article['content']); $article['content'] = preg_replace("@@", '', $article['content']); // only keep everything starting at the first if(preg_match("@.*(loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $matches[1]; } } return $article; } function get_content($link) { .

New Pull Request