Menu callback; regular HTML page with OpenID 2.0 <link> element.
function openid_test_html_openid2() {
// Use unusual values in order to test proper parsing of HTML attributes.
drupal_add_html_head_link(array(
'rel' => "foo\nopenid2.PROVIDER\tbar",
'href' => "\n" . url('openid-test/endpoint', array(
'absolute' => TRUE,
)),
));
drupal_add_html_head_link(array(
'rel' => 'openid2.local_id',
'href' => 'http://example.com/html-openid2',
));
return t('This page includes a <link rel=...> element containing the URL of an OpenID Provider Endpoint.');
}