Moved the rss/atom part to the protocols.

This commit is contained in:
Michael Vogel 2015-08-24 08:15:34 +02:00
parent 157c64cac2
commit 3e08024839
1 changed files with 5 additions and 1 deletions

View File

@ -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";