mirror of
https://github.com/friendica/friendica
synced 2025-04-24 04:30:11 +00:00
Make the system owner ready for Diaspora
This commit is contained in:
parent
c73130aa6b
commit
a26a2a0228
2 changed files with 26 additions and 2 deletions
|
@ -130,6 +130,25 @@ class Xrd extends BaseModule
|
|||
'rel' => 'http://ostatus.org/schema/1.0/subscribe',
|
||||
'template' => DI::baseUrl()->get() . '/follow?url={uri}',
|
||||
],
|
||||
[
|
||||
'rel' => ActivityNamespace::FEED,
|
||||
'type' => 'application/atom+xml',
|
||||
'href' => $owner['poll'] ?? DI::baseUrl()->get(),
|
||||
],
|
||||
[
|
||||
'rel' => 'salmon',
|
||||
'href' => DI::baseUrl()->get() . '/salmon/' . $owner['nickname'],
|
||||
],
|
||||
[
|
||||
'rel' => 'http://microformats.org/profile/hcard',
|
||||
'type' => 'text/html',
|
||||
'href' => DI::baseUrl()->get() . '/hcard/' . $owner['nickname'],
|
||||
],
|
||||
[
|
||||
'rel' => 'http://joindiaspora.com/seed_location',
|
||||
'type' => 'text/html',
|
||||
'href' => DI::baseUrl()->get(),
|
||||
],
|
||||
]
|
||||
];
|
||||
header('Access-Control-Allow-Origin: *');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue