3
1
Back

$entry){ $article['content'] .= "

" . $entry->ownerDocument->saveXML($entry) . "

"; // Wondermark (alt tag already present foreach($imgs as $img){ foreach ($imgs as $img) { if (preg_match("@.*?(.*)@", $article['content'], $matches)) { $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } } } if ($rel[0] == '#' || $rel[0] == '?') { return $base . $rel; } /* dirty absolute URL is ready! */ return $scheme.'://'.$abs; } function mangle_article($article) { // replace the (containing project wonderful) with nothing $article['content'] = $this->get_img_tags($xpath, "//div[@class='timeline-description.

New Pull Request