]> git.wh0rd.org Git - tt-rss.git/commitdiff
pass feed information to article filters
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 2 Sep 2013 06:03:04 +0000 (10:03 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 2 Sep 2013 06:03:04 +0000 (10:03 +0400)
include/rssfuncs.php

index dbe5c8bc91a1fa0ab87697d8f02908841134ef90..2bc30b5ce0f2fdd6ec70f82d6a9f6c647e0adb80 100644 (file)
                                        "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);