Hi Davorin,
I thought that it would be nice to host my openId identity on my Pier
based web site. In order to do so, I would need the
following in head
section of html:
<head>
<link rel="openid.server"
href="http://www.myopenid.com/server">
<link rel="openid.delegate"
href="http://codinghorror.myopenid.com/">
</head>
What is the easiest way to do that?
For my site I've derived from both PRPierFrame and PRContentsWidget. Both
would be suitable locations if you want your openId identity to appear
throughout the site; derive your own version and override #updateRoot:
If you only want your openId to appear on say the home screen. You could
embed a component on that screen that overrides #updateRoot: and adds your
openId info.
In both cases your #updateRoot: would be something like (not tested):
updateRoot: aHtmlRoot
super updateRoot: aHtmlRoot.
aHtmlRoot link
relationship: 'openid.server';
url: 'http://www.myopenid.com/server'.
aHtmlRoot link
relationship: 'openid.delegate';
url: 'http://codinghorror.myopenid.com/'.
Hope this helps
Nick