summaryrefslogtreecommitdiff
path: root/classes/pluginhost.php
diff options
context:
space:
mode:
authorwn_ <[email protected]>2017-09-24 19:37:49 -0500
committerwn_ <[email protected]>2017-09-24 19:37:49 -0500
commitbec5ba93e23bfe08bc8a95cdc25667cd97b6d128 (patch)
tree913f56f8112b986d0048b84f4c709c54e022c7e0 /classes/pluginhost.php
parentaf13f3009c59c3db338b719b09335a472383d11c (diff)
Add 'HOOK_FEED_BASIC_INFO' to enable plugins to provide basic feed info.
It's expected the plugin will return content parsable by FeedParser, which will act as an interface to the basic feed info. In the case of a plugin that also uses 'HOOK_FETCH_FEED', both might return the same content. The hook signature was made somewhat similar to 'HOOK_FETCH_FEED'.
Diffstat (limited to 'classes/pluginhost.php')
-rw-r--r--classes/pluginhost.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/pluginhost.php b/classes/pluginhost.php
index afe4da49e..571c30fb6 100644
--- a/classes/pluginhost.php
+++ b/classes/pluginhost.php
@@ -54,6 +54,7 @@ class PluginHost {
const HOOK_ENCLOSURE_ENTRY = 33;
const HOOK_FORMAT_ARTICLE = 34;
const HOOK_FORMAT_ARTICLE_CDM = 35;
+ const HOOK_FEED_BASIC_INFO = 36;
const KIND_ALL = 1;
const KIND_SYSTEM = 2;
@@ -436,4 +437,4 @@ class PluginHost {
function get_filter_actions() {
return $this->plugin_actions;
}
-} \ No newline at end of file
+}