3
1
Back

Textified. Function rel2abs($rel, $base) { if ($rel[0]=='#' || $rel[0]=='?') { $path = preg_replace('#/[^/]*$#', '', $path); /* replace '//' or '/./' or '/foo/../' with '/' */ } /* absolute URL is ready! */ return $scheme.'://'.$abs; } function rel2abs($rel, $base $path = ''; function rel2abs($rel, $base) { Various updates, additions elseif (strpos($article["link"], "satwcomic.com/") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='imgdiv']//img", $article); //also get blog entry $article['content'] .= "

$orig_content

"; //also append the blarg post because that's small, interesting.

New Pull Request