]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
add link for FOAF autodiscovery
authorEvan Prodromou <evan@prodromou.name>
Tue, 10 Jun 2008 14:44:20 +0000 (10:44 -0400)
committerEvan Prodromou <evan@prodromou.name>
Tue, 10 Jun 2008 14:44:20 +0000 (10:44 -0400)
darcs-hash:20080610144420-84dde-b1904673a1afb56bef1a4f54e4432eb94aa03619.gz

actions/showstream.php

index b54aad855789616212ec9e3a7789e526ef9be422..a2c2c3771866038fe357d26f6690209c9b41c155 100644 (file)
@@ -73,6 +73,11 @@ class ShowstreamAction extends StreamAction {
                                                                                                                                                           $user->nickname)),
                                                                         'type' => 'application/rss+xml',
                                                                         'title' => _t('Notice feed for ') . $user->nickname));
+               common_element('link', array('rel' => 'meta',
+                                                                        'href' => common_local_url('foaf', array('nickname' =>
+                                                                                                                                                         $user->nickname)),
+                                                                        'type' => 'application/rdr+xml',
+                                                                        'title' => 'FOAF');
                # for remote subscriptions etc.
                common_element('meta', array('http-equiv' => 'X-XRDS-Location',
                                                                         'content' => common_local_url('xrds', array('nickname' =>