3
1
Back

Sure. Pad = 0.2; // this is far simpler than this foreach($imgs as $img){ if ($img->getAttribute('title')) { $article['content'] = $this->get_img_tags($xpath, "//img[contains(@src, 'sp') and contains(@src, 'png')]", $article); $article['content'] .= "
ID: " . $img->getAttribute('title') . ""; } } function rel2abs($rel, $base) { function about() { return $rel; } extract(parse_url($base)); $path = ''; $orig_src = $entry->getAttribute('src'); $new_src = $this->rel2abs($orig_src.

New Pull Request