From: Michael Vogel Date: Mon, 24 Aug 2015 06:15:34 +0000 (+0200) Subject: Moved the rss/atom part to the protocols. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3e08024839087e0986a1083c1b77897085d76a5f;p=friendica.git Moved the rss/atom part to the protocols. --- diff --git a/mod/nodeinfo.php b/mod/nodeinfo.php index d2ef917908..9b529ac2dd 100644 --- a/mod/nodeinfo.php +++ b/mod/nodeinfo.php @@ -126,8 +126,12 @@ function nodeinfo_init(&$a){ if (nodeinfo_plugin_enabled("wppost")) $nodeinfo["services"]["outbound"][] = "wordpress"; + $nodeinfo["metadata"]["protocols"] = $nodeinfo["protocols"]; + $nodeinfo["metadata"]["protocols"]["outbound"][] = "atom1.0"; + $nodeinfo["metadata"]["protocols"]["inbound"][] = "atom1.0"; + $nodeinfo["metadata"]["protocols"]["inbound"][] = "rss2.0"; + $nodeinfo["metadata"]["services"] = $nodeinfo["services"]; - $nodeinfo["metadata"]["services"]["inbound"][] = "feed"; if (nodeinfo_plugin_enabled("twitter")) $nodeinfo["metadata"]["services"]["inbound"][] = "twitter";