<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>&lt;XRD&gt;</div><div>  &lt;Subject&gt;<a href="http://example.com/" target="_blank" style="color: rgb(42, 93, 176); ">example.com</a>&lt;/Subject&gt;</div><div>  &lt;Link&gt;</div><div>    &lt;Rel&gt;describedby&lt;/Rel&gt;</div>
<div>    &lt;URITemplate&gt;<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>&lt;/URITemplate&gt;</div><div>    &lt;MediaType&gt;application/xrd+xml&lt;/MediaType&gt;</div>
<div>  &lt;/Link&gt;</div><div>&lt;/XRD&gt;</div><div><br></div><div>Please note the following.</div><div>1) Look for Link element with Rel=describedby &amp;&amp; MediaType=application/xrd+xml.</div><div>2) The {%uri} in the template is the &lt;Subject&gt; of the XRD to be retrieved. So the same template is used for all protocols. &quot;<a href="http://example.com/joe" target="_blank" style="color: rgb(42, 93, 176); ">http://example.com/joe</a>&quot; for OpenID. &quot;acct://<a href="mailto:joe@example.com" target="_blank" style="color: rgb(42, 93, 176); ">joe@example.com</a>&quot; for webfinger.</div>
<div>3) Note in the above it is &quot;acct://&quot; and not &quot;acct:&quot;. Let us streamline &lt;Subject&gt; 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 &lt;Subject&gt;  ONLY has a host part. &quot;<a href="http://example.com/joe" target="_blank" style="color: rgb(42, 93, 176); ">http://example.com/joe</a>&quot; cannot be a host-meta subject because it has a path part. &quot;acct://<a href="mailto:joe@example.com" target="_blank" style="color: rgb(42, 93, 176); ">joe@example.com</a>&quot; cannot be a host-meta subject because it has a userinfo part. Only &quot;<a href="http://example.com/" target="_blank" style="color: rgb(42, 93, 176); ">http://example.com</a>&quot; can be the &lt;Subject&gt; of a host-meta.</div>
<div>5) In the case where the user is using a domain name as his identity  eg. &quot;<a href="http://joe.example.com/" target="_blank" style="color: rgb(42, 93, 176); ">http://joe.example.com</a>&quot;, 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>