Hosting OpenId identity on Pier site

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Hosting OpenId identity on Pier site

drush66
Hi,

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?

Many thanks,

Davorin Rusevljan
http://www.cloud208.com/
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: Hosting OpenId identity on Pier site

Nick
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';

aHtmlRoot link 
relationship: 'openid.delegate';

Hope this helps

Nick



_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: Hosting OpenId identity on Pier site

drush66
On Tue, Jan 4, 2011 at 12:44 PM, Nick Ager <[hidden email]> wrote:

> Hi Davorin,
>
> 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

Thanks,

I was hoping I could get away without programming pier, but many thanks :)

Davorin Rusevljan
http://www.cloud208.com/

_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: Hosting OpenId identity on Pier site

Nick
Hi,

On 4 January 2011 12:29, Davorin Rusevljan <[hidden email]> wrote:
On Tue, Jan 4, 2011 at 12:44 PM, Nick Ager <[hidden email]> wrote:
> Hi Davorin,
>
> 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


I was hoping I could get away without programming pier, but many thanks :)

Perhaps there is a way, but I don't know of one I'm afraid.

Nick 

_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki