Hello everybody. I just noticed that stackoverflow had problems with my OpenID delegate and I noticed that this was caused by my website not using a <html>
and <head>
section.
Now even though this is valid HTML the question is if it's valid for OpenID delegate lookups. The official stuff I was able to find on the website just talks about “the head section” of the HTML document, which however by HTML4/5 standards is implicit.
I'm now interested if the bug is in the way I declared the delegate or the stackoverflow OpenID implementation.
The not working version:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<title>Index » Armin Ronacher</title>
<link rel="openid.server" href="http://www.myopenid.com/server">
<link rel="openid.delegate" href="http://mitsuhiko.myopenid.com/">
<meta content="Zine" name="generator">
<!-- more link/meta stuff here -->
<!-- page contents here -->
<div class="header">
The working version:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>Index » Armin Ronacher</title>
<link rel="openid.server" href="http://www.myopenid.com/server">
<link rel="openid.delegate" href="http://mitsuhiko.myopenid.com/">
<meta content="Zine" name="generator">
<!-- more link/meta stuff here -->
</head>
<!-- page contents here -->
<div class="header">
<!-- at the very end of the page -->
</html>