kopia lustrzana https://gitlab.com/marnanel/chapeau
Feed URL, profile page, and subscribe button added to webfinger.
rodzic
4d950df6d7
commit
241aeceaed
|
@ -92,9 +92,23 @@ class Webfinger(django.views.View):
|
|||
|
||||
"links":[
|
||||
{
|
||||
"rel" : "self",
|
||||
"type" : "application/activity+json",
|
||||
"href" : actor_url,
|
||||
'rel': 'http://webfinger.net/rel/profile-page',
|
||||
'type': 'text/html',
|
||||
'href': actor_url,
|
||||
},
|
||||
{
|
||||
'rel': 'http://schemas.google.com/g/2010#updates-from',
|
||||
'type': 'application/atom+xml',
|
||||
'href': whoever['feedURL'],
|
||||
},
|
||||
{
|
||||
'rel': 'self',
|
||||
'type': 'application/activity+json',
|
||||
'href': actor_url,
|
||||
},
|
||||
{
|
||||
'rel': 'http://ostatus.org/schema/1.0/subscribe',
|
||||
'template': settings.KEPI['AUTHORIZE_FOLLOW_TEMPLATE'],
|
||||
},
|
||||
]}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue