123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- <?php
- defined('GNUSOCIAL') || die();
- class NodeinfoJRDAction extends XrdAction
- {
- const NODEINFO_2_0_REL = 'http://nodeinfo.diaspora.software/ns/schema/2.0';
- protected $defaultformat = 'json';
- protected function setXRD()
- {
- $this->xrd->links[] = new XML_XRD_Element_link(self::NODEINFO_2_0_REL, common_local_url('nodeinfo_2_0'));
- }
- }
|