diff options
author | Evan Prodromou <evan@status.net> | 2010-02-25 19:58:18 -0500 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-02-25 19:58:18 -0500 |
commit | cc0670791ef07826055b461e10e64d65ec9e6547 (patch) | |
tree | ea221d96772f561a951cfdf80e1a7eb637471ec3 /plugins | |
parent | 36f02f459b27a81e7017e3bb60b201677fd15a30 (diff) |
use new hcard method for webfinger
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/OStatus/actions/webfinger.php | 2 | ||||
-rw-r--r-- | plugins/OStatus/lib/webfinger.php | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/plugins/OStatus/actions/webfinger.php b/plugins/OStatus/actions/webfinger.php index d3671962b..e292ccec9 100644 --- a/plugins/OStatus/actions/webfinger.php +++ b/plugins/OStatus/actions/webfinger.php @@ -66,7 +66,7 @@ class WebfingerAction extends Action 'type' => 'application/atom+xml'); // hCard - $xrd->links[] = array('rel' => 'http://microformats.org/profile/hcard', + $xrd->links[] = array('rel' => Webfinger::HCARD, 'type' => 'text/html', 'href' => common_local_url('hcard', array('nickname' => $nick))); diff --git a/plugins/OStatus/lib/webfinger.php b/plugins/OStatus/lib/webfinger.php index 8a5037629..8d7040310 100644 --- a/plugins/OStatus/lib/webfinger.php +++ b/plugins/OStatus/lib/webfinger.php @@ -37,6 +37,7 @@ class Webfinger { const PROFILEPAGE = 'http://webfinger.net/rel/profile-page'; const UPDATESFROM = 'http://schemas.google.com/g/2010#updates-from'; + const HCARD = 'http://microformats.org/profile/hcard'; /** * Perform a webfinger lookup given an account. |