foreach ($result as $line) {
foreach (PluginHost::getInstance()->get_hooks(PluginHost::HOOK_ENCLOSURE_ENTRY) as $plugin) {
- $line = $plugin->hook_render_enclosure($line);
+ $line = $plugin->hook_enclosure_entry($line);
}
$url = $line["content_url"];
function hook_enclosure_entry($enc) {
$proxy_all = $this->host->get($this, "proxy_all");
- $enc["url"] = $this->rewrite_url_if_needed($enc["url"], $proxy_all);
+ $enc["content_url"] = $this->rewrite_url_if_needed($enc["content_url"], $proxy_all);
return $enc;
}