3
1
Back

'alt', 'title'); $new_src = $this->rel2abs($orig_src, $article['link']); if ($alt_text && $alt_text != $article['title']){ $result_html .= "
Alt: " . $img->getAttribute('title') . ""; } } return $article; } function hook_render_article_cdm($article) { function get_img_tags($xpath, $query, $article, $base_url=NULL) { function get_img_tags($xpath, $query, $article){ $entries = $xpath->query("//div[@class='entry']"); foreach ($entries as $entry){ $orig_src = $entry->getAttribute('src'); $new_src = $this->rel2abs($orig_src, $base_url); foreach($attributes as $attrib_name => $node){ } function api_version() { return $this->mangle_article($article); } function get_img_tags($xpath, $query, $article){ /* dirty absolute URL is ready! */ return $scheme . '://' . $abs.

New Pull Request