Skip to content

Commit

Permalink
replaced "describedby" with "lrdd" to support the latest spec
Browse files Browse the repository at this point in the history
  • Loading branch information
pfefferle committed Dec 29, 2011
1 parent cba5548 commit a1831fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/webfinger.xml
Expand Up @@ -50,7 +50,7 @@ for (var i in links) {
var rels = link.Rel;
for (var j in rels) {
var rel = rels[j];
if (rel.toLowerCase() == "http://webfinger.info/rel/service" || rel.toLowerCase() == "describedby") {
if (rel.toLowerCase() == "http://webfinger.info/rel/service" || rel.toLowerCase() == "lrdd") {
var url = link.URITemplate.toString().replace("{%id}", encodeURI(account));
url = url.replace("{%uri}", encodeURI("acct:" + account));
url = url.replace("{id}", account);
Expand Down

0 comments on commit a1831fb

Please sign in to comment.