How to turn your BlogCFC into an OpenID
Do you have a blog that runs blogCFC? Do you also have a OpenID identity? Combine the two and then you can use your blog URL as your OpenID user id.
Just go to client/tags/layout.cfm and add the following two lines after line 73:
<link rel="openid.server" xhref="<URL_TO_OPENID_PROVIDER" />
<link rel="openid.delegate" xhref="<YOUR_OPENID_URL" />
My OpenID provider is MyOpenID.com so the first URL is http://www.myopenid.com/server. My user id there is hofo which means the second URL above is http://hofo.myopenid.com/. This has the advantage of abstracting your OpenID provider from your OpenID identity. Should you need to change your provider for some reason your OpenID identity will stay the same.
Of course this tip will work for any HTML page, not just those generated by BlogCFC.
(Inspired by Simon Willison's How to turn your blog into an OpenID)
About this entry
You're currently reading "How to turn your BlogCFC into an OpenID", an entry on hofo.com
- Published:
- Apr 29, 2008 / 2:06 PM
- Category:
- Coldfusion
No comments