1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-19 01:31:29 +00:00

add HOOK_ENCLOSURE_ENTRY for af_zz_imgproxy

This commit is contained in:
Andrew Dolgov
2017-02-12 16:01:28 +03:00
parent 3891782cf5
commit 58210301e0
3 changed files with 14 additions and 0 deletions

View File

@@ -1944,6 +1944,10 @@
foreach ($result as $line) {
foreach (PluginHost::getInstance()->get_hooks(PluginHost::HOOK_ENCLOSURE_ENTRY) as $plugin) {
$line = $plugin->hook_render_enclosure($line);
}
$url = $line["content_url"];
$ctype = $line["content_type"];
$title = $line["title"];