3
1
Back

Function rel2abs($rel, $base) { if (GDORN_DEBUG && $article['debugging']) { foreach ($article['debug'] as $msg) { $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comicbody"]//img)', $article) . $article['content']; // $article['content'] = preg_replace("@@", '', $article['content']); } // Two Lumps elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { //no-op else { return $base . $rel; } if ($rel[0]=='#' || $rel[0]=='?') { return $rel; } extract(parse_url($base)); $path = ''; $orig_src = $entry->getAttribute('src'); $new_src = $this->rel2abs($orig_src, $base_url); foreach($attributes as $attrib_name => $node){ } function mangle_article($article) { // Scenes From A Multiverse Least.

New Pull Request