From: Andrew Dolgov Date: Mon, 2 Sep 2013 06:03:04 +0000 (+0400) Subject: pass feed information to article filters X-Git-Tag: 1.10~18 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=f73e03e000d7119b8c9724790e70e4da4fb32cfe;p=tt-rss.git pass feed information to article filters --- diff --git a/include/rssfuncs.php b/include/rssfuncs.php index dbe5c8bc..2bc30b5c 100644 --- a/include/rssfuncs.php +++ b/include/rssfuncs.php @@ -644,7 +644,11 @@ "tags" => $entry_tags, "plugin_data" => $entry_plugin_data, "author" => $entry_author, - "stored" => $stored_article); + "stored" => $stored_article, + "feed" => array("id" => $feed, + "fetch_url" => $fetch_url, + "site_url" => $site_url) + ); foreach ($pluginhost->get_hooks(PluginHost::HOOK_ARTICLE_FILTER) as $plugin) { $article = $plugin->hook_article_filter($article);