<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="https://notiz.blog/wp-content/plugins/pretty-feeds/pretty-feed-v4.xsl" type="text/xsl" media="screen" ?>


<!--

	Feeds whisper secrets,
	In the RSS Club's embrace,
	Knowledge blooms in grace.

-->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:source="http://source.scripting.com/"
xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
>

<channel>
	<title>representative-hcard &#8211; notizBlog</title>
	<atom:link href="https://notiz.blog/tag/representative-hcard/feed/" rel="self" type="application/rss+xml" />
	<link>https://notiz.blog</link>
	<description>a weblog mainly about the open, portable, interoperable, small, social, synaptic, semantic, structured, distributed, (re-)decentralized, independent, microformatted and federated social web</description>
	<lastBuildDate>Wed, 17 Aug 2022 20:55:17 +0000</lastBuildDate>
	<language>de</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://notiz.blog/wp-content/uploads/2019/10/cropped-notizblog-icon-1-32x32.png</url>
	<title>representative-hcard &#8211; notizBlog</title>
	<link>https://notiz.blog</link>
	<width>32</width>
	<height>32</height>
</image> 
<source:blogroll>https://reader.pfefferle.org/i/?a=opml&amp;get=c_2</source:blogroll>
<creativeCommons:license>https://creativecommons.org/licenses/by-sa/4.0/</creativeCommons:license>
<atom:link rel="hub" href="https://pubsubhubbub.appspot.com"/>
<atom:link rel="hub" href="https://pubsubhubbub.superfeedr.com"/>
<atom:link rel="hub" href="https://switchboard.p3k.io/"/>
<atom:link rel="self" href="https://notiz.blog/tag/representative-hcard/feed/"/>
<atom:link rel="search" type="application/opensearchdescription+xml" title="Search notizBlog" href="https://notiz.blog/wp-api/opensearch/1.1/document" />	<item>
		<title>MyBlogLog mit hCard &#038; vCard support</title>
		<link>https://notiz.blog/2008/04/25/mybloglog-mit-hcard-und-vcard-support/</link>
					<comments>https://notiz.blog/2008/04/25/mybloglog-mit-hcard-und-vcard-support/#respond</comments>
		
		<dc:creator><![CDATA[Matthias Pfefferle]]></dc:creator>
		<pubDate>Fri, 25 Apr 2008 16:30:19 +0000</pubDate>
				<category><![CDATA[Open Web]]></category>
		<category><![CDATA[FediBlog]]></category>
		<category><![CDATA[hCard]]></category>
		<category><![CDATA[Identity Consolidation]]></category>
		<category><![CDATA[Microformats]]></category>
		<category><![CDATA[myBlogLog]]></category>
		<category><![CDATA[representative-hcard]]></category>
		<guid isPermaLink="false">http://notizblog.org/?p=836</guid>

					<description><![CDATA[Im MyBlogLog-Blog wurden gestern die neuen v/hCard Features von MyBlogLog vorgestellt. Der vCard-Export spricht ja eigentlich für sich selbst, aber die hCard-Implementierung bedarf ein paar zusätzlicher Worte. Wie schon in den Kommentaren des letzten Posts so treffend bemerkt wurde, ist es ja eigentlich kein wirkliches Hexenwerk seine Seite zu microfromatieren, umso schöner finde ich es [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Im <a href="https://web.archive.org/web/20120304182921/http://mybloglogb.typepad.com/my_weblog/2008/04/mybloglog-hcard.html">MyBlogLog-Blog</a> wurden gestern die neuen v/hCard Features von MyBlogLog vorgestellt.</p>



<figure class="wp-block-image aligncenter"><img decoding="async" src="https://notiz.blog/wp-content/uploads/2008/04/pfefferle-mybloglog.jpg" alt="Pfefferle-MyBlogLog.jpg"/></figure>



<p>Der vCard-Export spricht ja eigentlich für sich selbst, aber die hCard-Implementierung bedarf ein paar zusätzlicher Worte. Wie schon in den <a href="https://notiz.blog/2008/04/23/maholo-unterstuetzt-microformats/#comment-8071">Kommentaren des letzten Posts</a> so treffend bemerkt wurde, ist es ja eigentlich kein wirkliches Hexenwerk seine Seite zu microfromatieren, umso schöner finde ich es wenn sich jemand dabei Mühe gibt.</p>



<p>MyBlogLog hat der hCard eine eigene Seite spendiert, die man über das <a href="http://microformats.org/wiki/icons">hCard-Icon</a> (siehe Bild 1) erreicht&#8230; </p>



<figure class="wp-block-image aligncenter"><img decoding="async" src="https://notiz.blog/wp-content/uploads/2008/04/pfefferle-mybloglog-hcard.jpg" alt="Pfefferle-MyBlogLog-hCard.jpg"/></figure>



<p>Aber warum macht es Sinn die hCard auf eine extra Seite zu verbannen? Bei mehreren hCards auf einem Profil, wie im Falle von MyBlogLog (auch die Kontakte sind mit hCards ausgezeichnet), bekommt man beim interpretieren (parsen) der Seite das folgende Problem: <a href="https://notiz.blog/2008/03/16/welche-hcard-ist-die-richtige/">Welche hCard ist die Richtige</a>?</p>



<p>Der einfachste Weg um auf eine <em><a href="http://microformats.org/wiki/representative-hcard">representative Identity</a></em> zu verweisen ist, eine externe hCard auf der Profil-Seite mit <a href="http://microformats.org/wiki/rel-me">rel-me</a> zu verlinken. Im Fall von <abbr title="MyBlogLog">MBL</abbr> sollte man dies über <code>&lt;link rel="me" /&gt;</code> im Header der Profilseite realisieren, da der Action-Stream auch eine hohe Anzahl an rel-me Links aufweist.</p>


<pre class="wp-block-code"><span><code class="hljs language-xml"><span class="hljs-tag">&lt;<span class="hljs-name">link</span> <span class="hljs-attr">rel</span>=<span class="hljs-string">"me"</span> <span class="hljs-attr">href</span>=<span class="hljs-string">"http://www.mybloglog.com/buzz/members/pfefferle/hcard"</span> <span class="hljs-attr">type</span>=<span class="hljs-string">"text/html"</span> /&gt;</span>﻿</code></span></pre>


<p>Alternativ könnte man auch mit <a href="https://web.archive.org/web/20080409052702/http://xrds-simple.net/core/1.0/">XRDS-Simple</a> auf die hCard-Seite verweisen (siehe auch <em><a href="https://notiz.blog/2008/04/15/xrds-simple-und-dataportability/#service-catalogue">Service Catalogue</a></em>):</p>


<pre class="wp-block-code"><span><code class="hljs language-xml"><span class="hljs-tag">&lt;<span class="hljs-name">XRDS</span> <span class="hljs-attr">xmlns</span>=<span class="hljs-string">"xri://$xrds"</span>&gt;</span>
  <span class="hljs-tag">&lt;<span class="hljs-name">XRD</span> <span class="hljs-attr">xmlns:simple</span>=<span class="hljs-string">"http://xrds-simple.net/core/1.0"</span>
          <span class="hljs-attr">xmlns</span>=<span class="hljs-string">"xri://$XRD*($v*2.0)"</span> <span class="hljs-attr">version</span>=<span class="hljs-string">"2.0"</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">Type</span>&gt;</span>xri://$xrds*simple<span class="hljs-tag">&lt;/<span class="hljs-name">Type</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">Service</span> <span class="hljs-attr">priority</span>=<span class="hljs-string">"10"</span>&gt;</span>
      <span class="hljs-tag">&lt;<span class="hljs-name">Type</span>&gt;</span>http://www.w3.org/2006/03/hcard<span class="hljs-tag">&lt;/<span class="hljs-name">Type</span>&gt;</span>
      <span class="hljs-tag">&lt;<span class="hljs-name">URI</span> <span class="hljs-attr">simple:httpMethod</span>=<span class="hljs-string">"GET"</span>&gt;</span>
        https:&#47;&#47;web.archive.org/web/20100413121636/http://www.mybloglog.com:80/buzz/members/pfefferle/hcard
      <span class="hljs-tag">&lt;/<span class="hljs-name">URI</span>&gt;</span>
    <span class="hljs-tag">&lt;/<span class="hljs-name">Service</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">Service</span> <span class="hljs-attr">priority</span>=<span class="hljs-string">"20"</span>&gt;</span>
      <span class="hljs-tag">&lt;<span class="hljs-name">Type</span>&gt;</span>http://gmpg.org/xfn/11<span class="hljs-tag">&lt;/<span class="hljs-name">Type</span>&gt;</span>
      <span class="hljs-tag">&lt;<span class="hljs-name">URI</span> <span class="hljs-attr">simple:httpMethod</span>=<span class="hljs-string">"GET"</span>&gt;</span>
        https:&#47;&#47;web.archive.org/web/20100413121636/http://www.mybloglog.com:80/buzz/members/pfefferle/hcard
      <span class="hljs-tag">&lt;/<span class="hljs-name">URI</span>&gt;</span>
    <span class="hljs-tag">&lt;/<span class="hljs-name">Service</span>&gt;</span>
  <span class="hljs-tag">&lt;/<span class="hljs-name">XRD</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">XRDS</span>&gt;</span></code></span></pre>


<p>Mal sehen was MyBlogLog als nächstes vor hat 🙂</p>
<p>RSS readers like you are the secret sauce of the internet. Keep rocking and staying informed!</p>]]></content:encoded>
					
					<wfw:commentRss>https://notiz.blog/2008/04/25/mybloglog-mit-hcard-und-vcard-support/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Welche hCard ist die richtige?</title>
		<link>https://notiz.blog/2008/03/16/welche-hcard-ist-die-richtige/</link>
					<comments>https://notiz.blog/2008/03/16/welche-hcard-ist-die-richtige/#comments</comments>
		
		<dc:creator><![CDATA[Matthias Pfefferle]]></dc:creator>
		<pubDate>Sun, 16 Mar 2008 18:24:26 +0000</pubDate>
				<category><![CDATA[Open Web]]></category>
		<category><![CDATA[hCard]]></category>
		<category><![CDATA[Microformats]]></category>
		<category><![CDATA[Mikroformate]]></category>
		<category><![CDATA[rel-me]]></category>
		<category><![CDATA[representative-hcard]]></category>
		<guid isPermaLink="false">http://notizblog.org/2008/03/16/welche-hcard-ist-die-richtige/</guid>

					<description><![CDATA[Wer schonmal versucht hat hCard Profile zu importieren wird sicherlich auf ein Problem stoßen: Welche hCard ist die richtige? Vor ein paar Tagen habe ich ein Gespräch zwischen Dirk Olbertz und Tantek Çelik via Twitter verfolgt, bei dem es genau um dieses Problem ging&#8230; Das Problem der representative hCard kann auf zwei verschiedene Weisen gelöst [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Wer schonmal versucht hat <a href="http://microformats.org/wiki/hcard">hCard</a> Profile zu importieren wird sicherlich auf ein Problem stoßen: <em>Welche hCard ist die richtige?</em></p>



<p>Vor ein paar Tagen habe ich ein Gespräch zwischen <a href="http://twitter.com/dirk_olbertz/statuses/771154238">Dirk Olbertz</a> und <a href="http://twitter.com/t/statuses/771155935">Tantek Çelik</a> via Twitter verfolgt, bei dem es genau um dieses Problem ging&#8230;</p>



<p>Das Problem der <em>representative hCard</em> kann auf zwei verschiedene Weisen gelöst werden:<br/>
</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow"><p>&#8230;in short 1. url==uid==source. 2. url has rel-me</p></blockquote>



<h3 class="wp-block-heading">url==uid==source</h3>



<p>Die einfachste Möglichkeit ist, zu überprüfen ob eine der (unter der angegebenen Source-<abbr title="Uniform Resource Locator">URL</abbr>) gefundenen hCards als <abbr title="Uniform Resource Locator">URL</abbr> die die Source-<abbr title="Uniform Resource Locator">URL</abbr> enthält. Wenn man sicher gehen will, sollte man die URL zusätzlich noch als <a href="http://microformats.org/wiki/uid">UID</a> (<a href="http://www.ietf.org/rfc/rfc2426.txt">RFC2426</a>) auszeichnen.</p>



<p>Ein Beispiel für eine <em><a href="http://microformats.org/wiki/representative-hcard">representative hCard</a></em> für <code></code> wäre:</p>


<pre class="wp-block-code"><span><code class="hljs language-xml"><span class="hljs-tag">&lt;<span class="hljs-name">span</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"vcard"</span>&gt;</span>
	<span class="hljs-tag">&lt;<span class="hljs-name">span</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"fn"</span>&gt;</span>Carsten Pötter<span class="hljs-tag">&lt;/<span class="hljs-name">span</span>&gt;</span>
	<span class="hljs-tag">&lt;<span class="hljs-name">span</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"url uid"</span>&gt;</span>http://notsorelevant.com<span class="hljs-tag">&lt;/<span class="hljs-name">span</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">span</span>&gt;</span></code></span></pre>


<h3 class="wp-block-heading">rel-me</h3>



<p>Die zweite Möglichkeit ist, nach hCards mit <code><a href="http://microformats.org/wiki/rel-me">rel="me"</a></code> <abbr title="Uniform Resource Locator">URL</abbr>s zu suchen.</p>



<p>Diese Variante lässt sich natürlich auch mit der Ersten verbinden:</p>


<pre class="wp-block-code"><span><code class="hljs language-xml"><span class="hljs-tag">&lt;<span class="hljs-name">span</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"vcard"</span>&gt;</span>
	<span class="hljs-tag">&lt;<span class="hljs-name">span</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"fn"</span>&gt;</span>Carsten Pötter<span class="hljs-tag">&lt;/<span class="hljs-name">span</span>&gt;</span>
	<span class="hljs-tag">&lt;<span class="hljs-name">span</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"url uid"</span> <span class="hljs-attr">rel</span>=<span class="hljs-string">"me"</span>&gt;</span>http://notsorelevant.com<span class="hljs-tag">&lt;/<span class="hljs-name">span</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">span</span>&gt;</span></code></span></pre>


<p>Wer also ganz sicher gehen möchte sollte das letzte Beispiel nutzen 🙂</p>



<p>Für Web-Seiten die gar keine Profile oder zumindest keine Profile auf der Startseite haben, könnte <code><a href="http://microformats.org/wiki/rel-me">rel="me"</a></code> auch als <em>Delegation</em> zu einer (anderen) Seite mit einer <em>representative hCard</em> genutzt werden.</p>



<p>Beispiel: <code>&lt;link rel="me" href="http://www.notsorelevant.com/ueber/" /></code></p>



<p>Da es für <abbr title="PHP: Hypertext Preprocessor">PHP</abbr> (meines Wissens) noch keinen <abbr title="XHTML Friends Network">XFN</abbr>-Parser gibt, habe ich mich beim <a href="https://notiz.blog/projects/wp-hcard-commenting/">hCard-Commenting WordPress Plugin</a> für die erste Variante (url==uid==source) entschieden&#8230; Ich hoffe es funktioniert 🙂</p>



<p>Weitere Informationen zu <em>representative hCards</em> im Microformats-Wiki:</p>



<ul class="wp-block-list">
	<li><a href="http://microformats.org/wiki/representative-hcard">representative hCard</a></li>
	<li><a href="http://microformats.org/wiki/representative-hcard-parsing">representative hCard parsing</a></li>
	<li><a href="http://microformats.org/wiki/rel-me">rel-me</a></li>
</ul>
<p>RSS readers like you are the secret sauce of the internet. Keep rocking and staying informed!</p>]]></content:encoded>
					
					<wfw:commentRss>https://notiz.blog/2008/03/16/welche-hcard-ist-die-richtige/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
