3
1
Back

// Least I Could Do (wtf image size? If(preg_match("@.*()@", $article['content'], $matches)){ function get_img_tags($xpath, $query, $article, $base_url=NULL) { /* absolute URL is ready! */ return $scheme.'://'.$abs; } function rel2abs($rel, $base $path = ''; function get_xpath_dealie($link) { } /* dirty absolute URL */ $abs = "$host$path/$rel"; /* replace '//' or '/./' or '/foo/../' with '/' */ } function mangle_article($article) { // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img; } Fix for when invisiblebread.

New Pull Request