connect( '.well-known/nodeinfo', array( 'action' => 'nodeinfojrd' ) ); $m->connect( 'main/nodeinfo/2.0', array( 'action' => 'nodeinfo_2_0' ) ); return true; } public function onPluginVersion(array &$versions) { $versions[] = array('name' => 'Nodeinfo', 'version' => self::VERSION, 'author' => 'chimo', 'homepage' => 'https://github.com/chimo/gs-nodeinfo', 'description' => _m('Plugin that presents basic instance information using the NodeInfo standard.')); return true; } }