{"id":636,"date":"2007-11-04T21:34:03","date_gmt":"2007-11-04T20:34:03","guid":{"rendered":"http:\/\/notizblog.org\/2007\/11\/04\/hcard-als-attribute-exchange-fuer-openid\/"},"modified":"2023-03-01T16:40:33","modified_gmt":"2023-03-01T15:40:33","slug":"hcard-als-attribute-exchange-fuer-openid","status":"publish","type":"post","link":"https:\/\/notiz.blog\/2007\/11\/04\/hcard-als-attribute-exchange-fuer-openid\/","title":{"rendered":"hCard als Attribute Exchange f\u00fcr OpenID"},"content":{"rendered":"\n<div class=\"wp-block-image\"><figure class=\"alignright\"><img decoding=\"async\" src=\"https:\/\/notiz.blog\/wp-content\/uploads\/2007\/11\/openid.png\" alt=\"OpenID Logo\"\/><\/figure><\/div>\n\n\n\n<p>&#8222;OpenID ist ein dezentrales System zur Identifizierung&#8220; (<a href=\"https:\/\/de.wikipedia.org\/wiki\/OpenID\">WikiPedia<\/a>).<br\/>\n\t<a href=\"http:\/\/openid.net\/\">OpenID<\/a> bietet die M\u00f6glichkeit, Login Daten an zentraler Stelle anzugeben und diese als Authentifizierung f\u00fcr andere Webseiten zu verwenden. <a href=\"http:\/\/openid.net\/specs\/openid-simple-registration-extension-1_0.html\">Simple Registration Extension<\/a> (kurz SREG) ist eine Erweiterung zu der OpenID Authentifizierung, der einen simplen Profil-&#8222;Austausch&#8220; erlaubt.<br\/> SREG ist, wie der Name schon sagt, &#8222;nur&#8220; ein Simples Format, deshalb wurde eine Erweiterung mit dem Namen <a href=\"http:\/\/openid.net\/specs\/openid-attribute-exchange-1_0-07.html\">Attribute Exchange<\/a> (AX), welches wesentlich mehr Informationen beinhaltet, entwickelt.<\/p>\n\n\n\n<p><a href=\"https:\/\/factoryjoe.com\/\">Chris Messina<\/a> stellt sich in seinem Artikel &#8222;<a href=\"http:\/\/factoryjoe.com\/blog\/2007\/11\/01\/hcard-for-openid-simple-registration-and-attribute-exchange\/\">hCard for OpenID Simple Registration and Attribute Exchange<\/a>&#8220; die Frage warum bei der Definition der ersten <a href=\"https:\/\/web.archive.org\/web\/20110714025426\/http:\/\/www.axschema.org:80\/types\/\"><abbr title=\"Attribute Exchange\">AX<\/abbr>-Typen<\/a> (genauso wie bei SREG) versucht wird, Profil-Daten neu zu definieren, anstatt auf bestehende Standards wie die vCard (<a href=\"https:\/\/datatracker.ietf.org\/doc\/html\/rfc2426\">RFC2426<\/a>) zur\u00fcck zu greifen. Er argumentiert sein Anliegen mit der weiten Verbreitung der vCard und seines XHTML Pendants der <a href=\"http:\/\/microformats.org\/wiki\/hCard\">hCard<\/a>:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>Most importantly, however, hcard and vcard is already widely supported in existing applications like Outlook, Mail.app and just about every mobile phone on the planet and in just about any other application that exchanges profile data.<\/p><\/blockquote>\n\n\n\n<p>Chris hat sich die M\u00fche gemacht, die drei Standards einander gegen\u00fcber zu stellen:<br\/><\/p>\n\n\n\n<!--more-->\n\n\n\n<table class=\"wp-block-table\"><thead><tr><th>Attribute<\/th><th>SREG<\/th><th>AX<\/th><th>vCard<\/th><\/tr><\/thead><tbody><tr><th>Nickname<\/th><td><code>nickname<\/code><\/td><td><code>namePerson\/friendly<\/code><\/td><td><code>nickname<\/code><\/td><\/tr><tr><th>Full Name<\/th><td><code>fullname<\/code><\/td><td><code>namePerson<\/code><\/td><td><code>n (family-name, given-name)<\/code> <a href=\"http:\/\/microformats.org\/wiki\/hcard#Implied_.22n.22_Optimization%22\">or<\/a> <code>fn<\/code><\/td><\/tr><tr><th>Birthday<\/th><td><code>dob<\/code><\/td><td><code>birthDate<\/code><\/td><td><code>bday<\/code><\/td><\/tr><tr><th>Gender<\/th><td><code>gender<\/code><\/td><td><code>gender<\/code><\/td><td><code>gender<\/code><\/td><\/tr><tr><th>Email<\/th><td><code>email<\/code><\/td><td><code>contact\/email<\/code><\/td><td><code>email<\/code><\/td><\/tr><tr><th>Postal Code<\/th><td><code>postcode<\/code><\/td><td><code>contact\/postalCode\/home<\/code><\/td><td><code>postal-code<\/code><\/td><\/tr><tr><th>Country<\/th><td><code>country<\/code><\/td><td><code>contact\/country\/home<\/code><\/td><td><code>country-name<\/code><\/td><\/tr><tr><th>Language<\/th><td><code>language<\/code><\/td><td><code>pref\/language<\/code><\/td><td>N\/A<\/td><\/tr><tr><th>Timezone<\/th><td><code>timezone<\/code><\/td><td><code>pref\/timezone<\/code><\/td><td><code>tz<\/code><\/td><\/tr><tr><th>Photo<\/th><td>N\/A<\/td><td><code>media\/image\/default<\/code><\/td><td><code>photo<\/code><\/td><\/tr><tr><th>Company<\/th><td>N\/A<\/td><td><code>company\/name<\/code><\/td><td><code>org<\/code><\/td><\/tr><tr><th>Biography<\/th><td>N\/A<\/td><td><code>media\/biography<\/code><\/td><td><code>note<\/code><\/td><\/tr><tr><th>URL<\/th><td>N\/A<\/td><td><code>contact\/web\/default<\/code><\/td><td><code>URL<\/code><\/td><\/tr><\/tbody><\/table>\n\n\n\n<p><ins>Update: Chris Messina hat eine vollst\u00e4ndige Liste der Attribute im <a href=\"https:\/\/microformats.org\/wiki\/attribute-exchange\">Microformats Wiki<\/a> erstellt.<\/ins><\/p>\n\n\n\n<p><abbr title=\"Attribute Exchange\">AX<\/abbr> und vCard\/hCard haben zwar weitestgehend die gleichen Attribute, unterscheiden sich jodoch in der Bezeichnung, was es Entwicklern unn\u00f6tig schwer macht, die verschiedenen Formate zu implementieren.<\/p>\n\n\n\n<p><a href=\"https:\/\/tantek.com\/\">Tantek \u00c7elik<\/a> (einer der Microformats Ur-V\u00e4ter) besch\u00e4ftigt sich weiter mit dem Problem und <a href=\"https:\/\/tantek.com\/log\/2007\/11.html#d02t2318\">definiert m\u00f6gliche Schritte<\/a> um die hCard als Attribute Exchange f\u00fcr OpenID zu verwenden:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><strong>URLs for properties.<\/strong> Every SREG property has a URL in its Attribute Exchange (AX) version that defines that property. hCard does too, through the hCard profile. However, there are two differences which may be seen as shortcomings. Currently the hCard profile on microformats.org is in a wiki, and not proper XMDP (there is an hCard XMDP profile at W3C that some are using), and, URLs for specific properties use # fragment identifiers.<\/p><\/blockquote>\n\n\n\n<p>Soweit ich das ganze verstanden habe ist AX sowieso eine weitgehend offene Definition, welche es erm\u00f6glicht Typen \u00fcber URIs zu definieren. D.h. es sollte m\u00f6glich sein z.B. den vCard\/hCard-Typ <code>fn<\/code> folgendermassen zu implementieren:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-1\" data-shcb-language-name=\"JavaScript\" data-shcb-language-slug=\"javascript\"><span><code class=\"hljs language-javascript\">openid.ax.type.fn=http:<span class=\"hljs-comment\">\/\/microformats.org\/profile\/hcard#fn<\/span><\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-1\"><span class=\"shcb-language__label\">Code-Sprache:<\/span> <span class=\"shcb-language__name\">JavaScript<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">javascript<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p>Bitte korrigiert mich falls ich etwas falsch verstanden habe.<\/p>\n\n\n\n<p>Ich finde die Idee, Microformats f\u00fcr OpenID einzusetzen, sehr gut und bin generell f\u00fcr die Nutzung von offenen Standards. Je h\u00f6her die Wiederverwendbarkeit von Standards, desdo geringer der ist die Barriere sie einzusetzen. Jeder der schon mehr als ein fremdes System \u00fcber eine propriet\u00e4re API angebunden hat wird mir da sicher zustimmen.<\/p>\n\n\n\n<p>Weiterf\u00fchrende Informationen:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n\t<li><a href=\"http:\/\/microformats.org\/wiki\/openid-brainstorming\">OpenID Brainstorming im Microformats Wiki<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>&#8222;OpenID ist ein dezentrales System zur Identifizierung&#8220; (WikiPedia). OpenID bietet die M\u00f6glichkeit, Login Daten an zentraler Stelle anzugeben und diese als Authentifizierung f\u00fcr andere Webseiten zu verwenden. Simple Registration Extension (kurz SREG) ist eine Erweiterung zu der OpenID Authentifizierung, der einen simplen Profil-&#8222;Austausch&#8220; erlaubt. SREG ist, wie der Name schon sagt, &#8222;nur&#8220; ein Simples Format, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"webmentions_disabled_pings":false,"webmentions_disabled":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":""},"categories":[2],"tags":[5171,166,164,423,381],"class_list":{"0":"post-636","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-web","7":"tag-fediblog","8":"tag-hcard","9":"tag-microformats","10":"tag-openid","11":"tag-vcard","12":"h-entry","13":"hentry"},"_links":{"self":[{"href":"https:\/\/notiz.blog\/wp-api\/wp\/v2\/posts\/636","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/notiz.blog\/wp-api\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/notiz.blog\/wp-api\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/notiz.blog\/wp-api\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/notiz.blog\/wp-api\/wp\/v2\/comments?post=636"}],"version-history":[{"count":5,"href":"https:\/\/notiz.blog\/wp-api\/wp\/v2\/posts\/636\/revisions"}],"predecessor-version":[{"id":22517,"href":"https:\/\/notiz.blog\/wp-api\/wp\/v2\/posts\/636\/revisions\/22517"}],"wp:attachment":[{"href":"https:\/\/notiz.blog\/wp-api\/wp\/v2\/media?parent=636"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/notiz.blog\/wp-api\/wp\/v2\/categories?post=636"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/notiz.blog\/wp-api\/wp\/v2\/tags?post=636"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}