Dec 04 2007
Following on from my look at Blogger’s new commenting system, I found some excellent information on how you can get an OpenID and link it to your Blog URL.
Why would you bother doing this? Well if you like to comment on blogs using the Blogger platform, you know that leaving your URL is no longer an option. If you don’t have a blogger profile the best you can do is leave a nickname.
Today I set up an OpenID at MyOpenID. I was expecting it to be a bit of a universal profile, but it isn’t (you can see my public profile here). So while this will let me comment on Blogger blogs, it doesn’t really provide an easy link to my blog.
I was then directed to a post by Sam Ruby called OpenID for Non-SuperUsers. I appreciate that it’s packed with great information, but I expect most novices would be sort of lost (hehe me included).
I then found a post by Jesse Peterson – Here is my ID, which was a bit more at my level. Combined with the help at MyOpenID, I was quickly able to add a bit of code to my blog header, which now allows me to use my URL http://blogpond.com.au as my OpenID URL.
The steps to do this are:
- Go to MyOpenID
- Follow the steps to set up an ID (edit: and create a Persona, complete with nickname)
- Insert the following code (obviously replacing “example” with your own ID url) into your header.php file (just before the </head>) for WordPress.org blogs. For blogger blogs, insert the code just after <head>.
<link rel="openid.server" href="http://www.myopenid.com/server" /> <link rel="openid.delegate" href="http://example.myopenid.com/" /> <meta http-equiv="X-XRDS-Location" content="http://www.myopenid.com/xrds?username=example.myopenid.com" />
Update: Kathy has pointed out that this code doesn’t work properly. Update 2 – this code now works (I fixed the problem).
Example in WordPress
Example in Blogger
These seem to come with their own ID, so you should just be able to put in your blog URL (i.e. sign in with your blog URL).
The next time you comment on a blogspot (or Blogger) blog that has upgraded to the new system, you enter your blog URL including the http:// and select “Any OpenID” and it will be verified, and include your blog URL in the link.
27 Responses to “How to Get an OpenID and link it to your Blog URL”