<div><br></div><div>Further to Dirks post here</div><div><a href="http://hueniverse.com/2009/09/openid-and-lrdd/" target="_blank">http://hueniverse.com/2009/09/openid-and-lrdd/</a></div><div><br></div><div>I would like to add my comments here for discussion.</div>
<div><br></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; color: rgb(80, 0, 80); ">I would like to use the host-meta as shown below with my notes below.<div>
<br></div><div><div><XRD></div><div> <Subject><a href="http://example.com/" target="_blank" style="color: rgb(42, 93, 176); ">example.com</a></Subject></div><div> <Link></div><div> <Rel>describedby</Rel></div>
<div> <URITemplate><a href="http://example.com/getxrd?subject=%7B%uri%7D" target="_blank" style="color: rgb(42, 93, 176); ">http://example.com/getxrd?subject={%uri}</a></URITemplate></div><div> <MediaType>application/xrd+xml</MediaType></div>
<div> </Link></div><div></XRD></div><div><br></div><div>Please note the following.</div><div>1) Look for Link element with Rel=describedby && MediaType=application/xrd+xml.</div><div>2) The {%uri} in the template is the <Subject> of the XRD to be retrieved. So the same template is used for all protocols. "<a href="http://example.com/joe" target="_blank" style="color: rgb(42, 93, 176); ">http://example.com/joe</a>" for OpenID. "acct://<a href="mailto:joe@example.com" target="_blank" style="color: rgb(42, 93, 176); ">joe@example.com</a>" for webfinger.</div>
<div>3) Note in the above it is "acct://" and not "acct:". Let us streamline <Subject> so that it can be parsed as a URI so that we can clearly determine the host part.</div><div>4) Host-meta is defined as a SPECIAL CASE of XRD where the <Subject> ONLY has a host part. "<a href="http://example.com/joe" target="_blank" style="color: rgb(42, 93, 176); ">http://example.com/joe</a>" cannot be a host-meta subject because it has a path part. "acct://<a href="mailto:joe@example.com" target="_blank" style="color: rgb(42, 93, 176); ">joe@example.com</a>" cannot be a host-meta subject because it has a userinfo part. Only "<a href="http://example.com/" target="_blank" style="color: rgb(42, 93, 176); ">http://example.com</a>" can be the <Subject> of a host-meta.</div>
<div>5) In the case where the user is using a domain name as his identity eg. "<a href="http://joe.example.com/" target="_blank" style="color: rgb(42, 93, 176); ">http://joe.example.com</a>", then the users XRD IS ALSO the host-meta.</div>
<div><br></div><div><br></div></div></span></div><div><br></div><br clear="all"><br>-- <br><a href="http://santrajan.blogspot.com" target="_blank">http://santrajan.blogspot.com</a><br><a href="http://twitter.com/santoshrajan" target="_blank">http://twitter.com/santoshrajan</a><br>
<a href="http://www.facebook.com/santosh.rajan" target="_blank">http://www.facebook.com/santosh.rajan</a><br><br><br>