3
1
Back

ARTICLE_FILTER hook. } function rel2abs($rel, $base) { if (parse_url($rel, PHP_URL_SCHEME) != '' || substr($rel, 0, 2) == '//') { return $rel; } if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ foreach ($imgs as $img) { $article['content'] .= "

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

New Pull Request