I just noticed that stackoverflow had problems with my OpenID delegate, and I noticed that this was because my site did not use the <html> and <head> sections.
Now, although it's valid HTML, the question is, is it valid for finding OpenID delegates. The official materials that I could find on the website simply speak of the “main section” of the HTML document, which, however, is implicit by HTML4 / 5 standards.
I am now wondering if the error is in how I declared the delegate implementation or the OpenID implementation in stackoverflow.
Broken 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"> <div class="header">
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"> </head> <div class="header"> </html>
source share