Browse Source

Moved the rss/atom part to the protocols.

pull/1847/head
Michael Vogel 6 years ago
parent
commit
3e08024839
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      mod/nodeinfo.php

+ 5
- 1
mod/nodeinfo.php 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";


Loading…
Cancel
Save