<?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>Semantic HTML &#8211; notizBlog</title>
	<atom:link href="https://notiz.blog/tag/semantic-html/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, 28 Jun 2023 17:53:30 +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>Semantic HTML &#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/semantic-html/feed/"/>
<atom:link rel="search" type="application/opensearchdescription+xml" title="Search notizBlog" href="https://notiz.blog/wp-api/opensearch/1.1/document" />	<item>
		<title>Microformats: The next generation</title>
		<link>https://notiz.blog/2012/07/03/microformats-the-next-generation/</link>
					<comments>https://notiz.blog/2012/07/03/microformats-the-next-generation/#comments</comments>
		
		<dc:creator><![CDATA[Matthias Pfefferle]]></dc:creator>
		<pubDate>Tue, 03 Jul 2012 06:43:02 +0000</pubDate>
				<category><![CDATA[Open Web]]></category>
		<category><![CDATA[FediBlog]]></category>
		<category><![CDATA[Microformats]]></category>
		<category><![CDATA[Mikroformate]]></category>
		<category><![CDATA[RDFa]]></category>
		<category><![CDATA[Schema.org]]></category>
		<category><![CDATA[Semantic HTML]]></category>
		<guid isPermaLink="false">http://notizblog.org/?p=4343</guid>

					<description><![CDATA[microformats.org wird 7&#8230; Alles Gute! Zur Feier des Tages hat sich Frances Berriman die Mühe gemacht, die letzten 7 Jahre zusammen zu fassen und einen Ausblick auf die kommenden Änderungen zu geben. Da ich, seit ich bloggen kann, schon über Microformats berichte, will ich den Rückblick nicht weiter kommentieren und nur auf die kommende Weiterentwicklung [&#8230;]]]></description>
										<content:encoded><![CDATA[
<div class="wp-block-image"><figure class="alignright"><img decoding="async" src="https://notiz.blog/wp-content/uploads/2007/03/mf-white.png" alt="mf-white"/></figure></div>



<p><a href="http://microformats.org/2012/06/25/microformats-org-at-7">microformats.org wird 7</a>&#8230; Alles Gute!</p>



<p>Zur Feier des Tages hat sich Frances Berriman die Mühe gemacht, die letzten 7 Jahre zusammen zu fassen und einen Ausblick auf die kommenden Änderungen zu geben.</p>



<p>Da ich, seit ich bloggen kann, schon <a href="https://notiz.blog/tag/microformats/">über Microformats berichte</a>, will ich den Rückblick nicht weiter kommentieren und nur auf die kommende Weiterentwicklung ein wenig eingehen.</p>



<h2 class="wp-block-heading">Microformats und HTML5</h2>



<p>Seit dem ich das letzte mal <a href="https://notiz.blog/2008/07/30/html5-is-made-for-microformats/">über diese Kombination geschrieben habe</a>, hat sich leider nicht viel geändert&#8230; Die Microformats Community weigert sich weiterhin auf Microdata oder RDFa &#8222;upzugraden&#8220; und hält krampfhaft an den semantischen <code>classes</code> fest. Nichtsdestotrotz macht HTML5 mit <code>&lt;time /&gt;</code> und <code>&lt;data /&gt;</code> dem leidigen Thema <a href="https://notiz.blog/2009/05/12/microformats-value-class-pattern/"><code>abbr-design-pattern</code> bzw. <code>value-class-pattern</code></a> ein Ende. Statt Meta-Informationen umständlich in HTML-Attributen zu verwurschteln, können Termine und GEO Daten bald sauber dargestellt werden:</p>


<pre class="wp-block-code"><span><code class="hljs language-xml"><span class="hljs-tag">&lt;<span class="hljs-name">time</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"dtstart"</span> <span class="hljs-attr">datetime</span>=<span class="hljs-string">"2006-09-23"</span>&gt;</span>a Saturday<span class="hljs-tag">&lt;/<span class="hljs-name">time</span>&gt;</span>
...
<span class="hljs-tag">&lt;<span class="hljs-name">data</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"geo"</span> <span class="hljs-attr">value</span>=<span class="hljs-string">"37.386013;-122.082932"</span> &gt;</span>Mountain View<span class="hljs-tag">&lt;/<span class="hljs-name">data</span>&gt;</span></code></span></pre>


<p>Immerhin! Mehr dazu im <a href="https://microformats.org/wiki/html5">microformats-wiki</a>.</p>



<h2 class="wp-block-heading">Namespaces</h2>



<p>Die wohl größten Veränderungen sind aber die geplanten <a href="http://microformats.org/wiki/microformats-2#distinguishing_properties_from_other_classes">Pseudo-Namespaces</a> welche hauptsächlich das Parsen von Microformats vereinfachen sollen. Microformats waren bisher sehr fehleranfällig, da sie sich die <code>class</code>-Attribute mit CSS und JavaScript zu teilen hatten. Es besteht immer die Gefahr dass rein für CSS genutzte Attribute fälschlicherweise für Microformats genutzt wurden oder dass die semantischen Class-Names einem Re-Design zum Opfer fielen. Die Prefixes &#8218;<code>h-</code>&#8218;, &#8218;<code>p-</code>&#8218;, &#8218;<code>u-</code>&#8218;, &#8218;<code>dt-</code>&#8218; und &#8218;<code>e-</code>&#8218; sollen das Zukünftig verhindern und ein generisches parsen ermöglichen.</p>



<h3 class="wp-block-heading">&#x27;<code>h-</code>&#x27; kennzeichnet einen Microformats-Container</h3>



<p>Bisher ist die Microformats Community etwas inkonsequent mit der Benennung ihrer Formate&#8230; Mal mit beginnendem &#8222;v&#8220;, mal mit &#8222;h&#8220; und in seltenen Fällen auch ohne oder mit anderem Buchstaben:</p>



<ul class="wp-block-list"><li>hCard: <code>class="vcard"</code></li><li>hAtom: <code>class="hfeed"</code></li><li>adr: <code>class="adr"</code></li><li>xFolk: <code>class="xfolkentry"</code></li><li>XOXO: <code>class="xoxo"</code></li></ul>



<p>Mit den Prefixes soll das jetzt alles vereinheitlicht werden:</p>



<ul class="wp-block-list"><li>hCard: <code>class="h-card"</code></li><li>hAtom: <code>class="h-feed"</code></li><li>adr: <code>class="h-adr"</code></li></ul>



<h3 class="wp-block-heading">&#x27;<code>p-</code>&#x27; zeichnet <em>Properties</em> aus</h3>



<p>Die mit &#8218;<code>p-</code>&#8218; gekennzeichnet Properties sollten, wenn nicht expliziert definiert, als Plain-Text interpretiert werden (kein HTML). Ein klassisches Property ist beispielsweise der Name einer Person:</p>


<pre class="wp-block-code"><span><code class="hljs language-xml"><span class="hljs-tag">&lt;<span class="hljs-name">div</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"h-card"</span>&gt;</span>
 <span class="hljs-tag">&lt;<span class="hljs-name">span</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"p-fn"</span>&gt;</span>Tantek Çelik<span class="hljs-tag">&lt;/<span class="hljs-name">span</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span></code></span></pre>


<h3 class="wp-block-heading">&#x27;<code>e-</code>&#x27; zeichnet <em>Rich Text</em> aus</h3>



<p>Das &#8218;<code>e-</code>&#8218; Prefix könnte als Abkürzung für &#8222;element tree&#8220;, &#8222;embedded markup&#8220;, oder &#8222;encapsulated markup&#8220; stehen und kann im Gegansatz zu den Properties auch HTML-Code beinhalten. In hAtom könnte der <code>entry-content</code> zu <code>e-entry-content</code> und bei der hReview die <code>description</code> zur <code>e-description</code> werden.</p>



<h3>&#x27;<code>dt-</code>&#x27; für DateTime und &#x27;<code>u-</code>&#x27; für URL</h3>



<p>Aus <code>dtstart</code> wird <code>dt-start</code> und alle URL-Felder bekommen ein vorgestelltes &#8218;<code>u-</code>&#8218;:</p>


<pre class="wp-block-code"><span><code class="hljs language-xml"><span class="hljs-tag">&lt;<span class="hljs-name">a</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"u-url"</span> <span class="hljs-attr">href</span>=<span class="hljs-string">"..."</span>&gt;</span>...<span class="hljs-tag">&lt;/<span class="hljs-name">a</span>&gt;</span>

<span class="hljs-tag">&lt;<span class="hljs-name">img</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"u-photo"</span> <span class="hljs-attr">src</span>=<span class="hljs-string">"..."</span> /&gt;</span></code></span></pre>


<p>Die URL kann in bestimmten Situtionen auch weg fallen, dazu aber im nächsten Beispiel mehr&#8230;</p>



<h2 class="wp-block-heading">Simpel und unabhängig vom Format</h2>



<p>Zukünftig soll es auch nicht mehr so umständlich sein Informationen semantisch auszuzeichnen. Will man derzeit einen simplen Link mit einer <a href="http://microformats.org/wiki/hcard">hCard</a> versehen, muss man ihn wie folgt aufblähen:</p>


<pre class="wp-block-code"><span><code class="hljs language-xml"><span class="hljs-tag">&lt;<span class="hljs-name">div</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"vcard"</span>&gt;</span>
 <span class="hljs-tag">&lt;<span class="hljs-name">a</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"url fn"</span> <span class="hljs-attr">href</span>=<span class="hljs-string">"http://tantek.com/"</span>&gt;</span>Tantek Çelik<span class="hljs-tag">&lt;/<span class="hljs-name">a</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span></code></span></pre>


<p>Nach der Überarbeitung soll folgendes reichen:</p>


<pre class="wp-block-code"><span><code class="hljs language-xml"><span class="hljs-tag">&lt;<span class="hljs-name">a</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"h-card"</span> <span class="hljs-attr">href</span>=<span class="hljs-string">"http://tantek.com/"</span>&gt;</span>Tantek Çelik<span class="hljs-tag">&lt;/<span class="hljs-name">a</span>&gt;</span></code></span></pre>


<p>Dabei gilt die Regel: Wenn es sich bei (z.B.) einer vCard um einen Link oder ein Bild handelt, kann man auf &#8218;<code>u-*</code>&#8218; und &#8218;<code>p-name</code>&#8218; verzichten&#8230; so ungefär zumindest 😉</p>



<p>Mehr dazu im Microformats-Wiki: <a href="http://microformats.org/wiki/microformats-2-implied-properties">implied properties</a></p>



<p>Außerdem kommt mit v2 eine Anleitung wie Microformats auf andere Formate wie JSON gemappt werden sollen. Aus&#8230;</p>


<pre class="wp-block-code"><span><code class="hljs language-xml"><span class="hljs-tag">&lt;<span class="hljs-name">a</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"h-card"</span> <span class="hljs-attr">href</span>=<span class="hljs-string">"http://benward.me"</span>&gt;</span>Ben Ward<span class="hljs-tag">&lt;/<span class="hljs-name">a</span>&gt;</span></code></span></pre>


<p>wird&#8230;</p>


<pre class="wp-block-code"><span><code class="hljs language-json">&#91;{
  <span class="hljs-attr">"type"</span>: &#91;<span class="hljs-string">"h-card"</span>],
  <span class="hljs-attr">"properties"</span>: {
    <span class="hljs-attr">"name"</span>: &#91;<span class="hljs-string">"Frances Berriman"</span>] 
  }
}]</code></span></pre>


<h2 class="wp-block-heading">Fazit</h2>



<p>Ich bin mir noch nicht ganz sicher was ich von den geplanten Änderungen halten soll&#8230; die Nutzung der neuen HTML5 Tags und die Vereinfachung und Vereinheitlichung der Formate finde ich gut und notwendig&#8230; Auch eine einheitliche Regel, wie Microformats in anderen Formaten abgebildet werden sollen (z.B. JSON) macht durchaus Sinn (warum das Sinn macht, <a href="http://microformats.org/wiki/JSON">hier</a>)&#8230; aber den Pseudo-Namespaces kann ich bisher nichts abgewinnen! Der &#8222;Namespace&#8220; sorgt zwar für mehr Qualität beim Parsen der Microformats, aber auf Kosten des semantischen HTMLs.</p>



<p>Microformats sollten weiterhin für schönes, semantisches HTML sorgen und mehr nicht. Geht es um maschinenlesbaren Code, sollte man mit der Zeit gehen und auf <a href="https://notiz.blog/2009/06/18/microdata-semantisches-html5/">Microdata</a> oder <a href="https://notiz.blog/2009/07/16/rdfa-wird-wohl-doch-in-html5-integriert/">RDFa</a> setzen. Ob man seinen Quelltext an Microformats v2 anpasst oder mit <a href="https://schema.org/">Schema.org</a> auszeichnet sollte kaum mehr Aufwand sein.</p>



<p>&#8230;Übrigens: Wer noch mehr über die Vorteile von Microdata gegenüber Microformats lesen will, sollte sich die <a href="https://notiz.blog/2011/06/21/pfefferles-openweb-microformats-v2/">Ausgabe 10 des Webstandards-Magazin</a> durchlesen oder die Reihe &#8222;<a href="https://notiz.blog/2009/08/10/microdata-wie-microformats-bloss-besser-teil-1/">Microdata – wie Microformats bloß besser…</a>&#8220; hier im Blog!</p>
<p>You are a true RSS aficionado! While others are drowning in social media noise, you enjoy the simplicity and control of RSS. Congrats!</p>]]></content:encoded>
					
					<wfw:commentRss>https://notiz.blog/2012/07/03/microformats-the-next-generation/feed/</wfw:commentRss>
			<slash:comments>10</slash:comments>
		
		
			</item>
		<item>
		<title>Microdata Artikel angepasst</title>
		<link>https://notiz.blog/2010/02/10/microdata-artikel-angepasst/</link>
					<comments>https://notiz.blog/2010/02/10/microdata-artikel-angepasst/#respond</comments>
		
		<dc:creator><![CDATA[Matthias Pfefferle]]></dc:creator>
		<pubDate>Wed, 10 Feb 2010 21:07:09 +0000</pubDate>
				<category><![CDATA[Open Web]]></category>
		<category><![CDATA[Microdata]]></category>
		<category><![CDATA[Microformats]]></category>
		<category><![CDATA[Semantic HTML]]></category>
		<guid isPermaLink="false">http://notizblog.org/?p=2376</guid>

					<description><![CDATA[Ich hab mal meine Microdata-Artikel an die letzten Änderungen angepasst: Microdata – Semantisches HTML5 Microdata – wie Microformats bloß besser… (Teil 1) Falls jemand noch einen Fehler entdeckt&#8230; sagt mir bitte bescheid! Ich hoffe ich komme demnächst auch mal zu &#8222;Microdata – wie Microformats bloß besser… (Teil 2)&#8220;.]]></description>
										<content:encoded><![CDATA[
<p>Ich hab mal meine Microdata-Artikel an die <a href="https://notiz.blog/2009/10/10/microdata-update-und-usability-studie/">letzten Änderungen</a> angepasst:</p>



<ul class="wp-block-list">
	<li><a href="https://notiz.blog/2009/06/18/microdata-semantisches-html5/">Microdata – Semantisches HTML5</a></li>
	<li><a href="https://notiz.blog/2009/08/10/microdata-wie-microformats-bloss-besser-teil-1/">Microdata – wie Microformats bloß besser… (Teil 1)</a></li>
</ul>



<p>Falls jemand noch einen Fehler entdeckt&#8230; sagt mir bitte bescheid!</p>



<p>Ich hoffe ich komme demnächst auch mal zu &#8222;Microdata – wie Microformats bloß besser… (Teil 2)&#8220;.</p>
<p>You are a true RSS aficionado! While others are drowning in social media noise, you enjoy the simplicity and control of RSS. Congrats!</p>]]></content:encoded>
					
					<wfw:commentRss>https://notiz.blog/2010/02/10/microdata-artikel-angepasst/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>RDFa wird wohl doch in HTML5 integriert</title>
		<link>https://notiz.blog/2009/07/16/rdfa-wird-wohl-doch-in-html5-integriert/</link>
					<comments>https://notiz.blog/2009/07/16/rdfa-wird-wohl-doch-in-html5-integriert/#comments</comments>
		
		<dc:creator><![CDATA[Matthias Pfefferle]]></dc:creator>
		<pubDate>Wed, 15 Jul 2009 22:38:29 +0000</pubDate>
				<category><![CDATA[Open Web]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Microdata]]></category>
		<category><![CDATA[Microformats]]></category>
		<category><![CDATA[posh]]></category>
		<category><![CDATA[RDFa]]></category>
		<category><![CDATA[Semantic HTML]]></category>
		<guid isPermaLink="false">http://notizblog.org/?p=1778</guid>

					<description><![CDATA[Manu Sporny und die RDFa Task Force haben es doch noch nicht geschafft, Ian Hickson davon zu überzeugen RDFa in HTML5 zu integrieren und versuchen es jetzt im Alleingang. Es gibt auch schon einen ersten Editors Draft von HTML5+RDFa. Besonders spannend finde ich folgenden Abschnitt aus Manu Spornys Blogpost zu dem neuen Draft: I specifically [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Manu Sporny und die <a href="https://www.w3.org/2001/sw/BestPractices/HTML/">RDFa Task Force</a> haben es <del>doch noch</del> <ins>nicht</ins> geschafft, Ian Hickson davon zu überzeugen RDFa in HTML5 zu integrieren und <ins>versuchen es jetzt im Alleingang.</ins> Es gibt auch schon einen ersten <a href="https://web.archive.org/web/20220407131357/https://dev.w3.org/html5/rdfa/rdfa-module.html"><em>Editors Draft</em> von <em>HTML5+RDFa</em></a>.</p>



<p>Besonders spannend finde ich folgenden Abschnitt aus <a href="https://web.archive.org/web/20100328135732/http://blog.digitalbazaar.com:80/2009/07/13/html5rdfa/2/">Manu Spornys Blogpost zu dem neuen Draft</a>:</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
	<p>I specifically did not remove the Microdata section from the HTML5+RDFa specification because it provides competition for RDFa &#8211; competition is a good thing. It forces the RDFa Task Force to re-think some assumptions we’ve made and to see if we can provide both backwards-compatibility and some of the features provided via Microformats as well as Ian’s Microdata proposal.</p>
</blockquote>



<p>Ich versteh das jetzt mal so, dass <del>endlich beide Parteien verstanden haben</del> <ins>die RDFa Task Force verstanden hat</ins> dass sowohl <a href="https://notiz.blog/2008/03/02/rdfa-basics/">RDFa</a> als auch <a href="https://notiz.blog/2006/11/20/microformats/">Microformats</a> ihre Daseinsberechtigung haben und <a href="https://html.spec.whatwg.org/multipage/microdata.html">Microdata</a> die Vorteile beider Standards schön vereint.</p>



<p>Mal schaun ob ich die Tage mal etwas Zeit finde, die einzelnen Standards nochmal detaillierter Vorzustellen bzw. zu Vergleichen und nochmal zu beschreiben warum <a href="https://notiz.blog/2009/06/18/microdata-semantisches-html5/">die Idee hinter Microdata so großartig ist</a>!</p>



<p>via <a href="https://web.archive.org/web/20100328135732/http://blog.digitalbazaar.com:80/2009/07/13/html5rdfa/2/">Manu Sporny</a></p>
<p>Hey there, RSS reader! You’re one of a special few, choosing this old-school yet awesome way of staying informed. Kudos!</p>]]></content:encoded>
					
					<wfw:commentRss>https://notiz.blog/2009/07/16/rdfa-wird-wohl-doch-in-html5-integriert/feed/</wfw:commentRss>
			<slash:comments>7</slash:comments>
		
		
			</item>
		<item>
		<title>Microdata &#8211; Semantisches HTML5</title>
		<link>https://notiz.blog/2009/06/18/microdata-semantisches-html5/</link>
					<comments>https://notiz.blog/2009/06/18/microdata-semantisches-html5/#comments</comments>
		
		<dc:creator><![CDATA[Matthias Pfefferle]]></dc:creator>
		<pubDate>Thu, 18 Jun 2009 21:23:08 +0000</pubDate>
				<category><![CDATA[Open Web]]></category>
		<category><![CDATA[FediBlog]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Microdata]]></category>
		<category><![CDATA[Microformats]]></category>
		<category><![CDATA[Mikroformate]]></category>
		<category><![CDATA[posh]]></category>
		<category><![CDATA[RDFa]]></category>
		<category><![CDATA[Semantic HTML]]></category>
		<guid isPermaLink="false">http://notizblog.org/?p=1700</guid>

					<description><![CDATA[Der Inhalt wure an die neusten Änderungen der Microdata-Spezifikation angepasst. Letztes Update 30.01.2010. In dem Punkt, dass HTML semantischer werden muss, ist sich die Web-Welt einig, nur das &#8222;Wie&#8220; ist noch nicht ganz klar. Aus verschiedenen Gründen (die alle sehr, sehr technisch sind) ist die WHATWG-Community bzw. Ian Hickson im speziellen, nicht sehr begeistert von [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Der Inhalt wure an die <a href="https://notiz.blog/2009/10/10/microdata-update-und-usability-studie/">neusten Änderungen der Microdata-Spezifikation</a> angepasst. Letztes Update 30.01.2010.
</p>



<p>In dem Punkt, dass HTML semantischer werden muss, ist sich die Web-Welt einig, nur das &#8222;Wie&#8220; ist noch nicht ganz klar. Aus <a href="http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-May/019602.html">verschiedenen Gründen</a> (die alle sehr, sehr technisch sind) ist die <abbr title="Web Hypertext Application Technology Working Group"><a href="https://whatwg.org/">WHATWG</a></abbr>-Community bzw. <a href="https://ln.hixie.ch/">Ian Hickson</a> im speziellen, nicht sehr begeistert von dem bisherigen De-facto-Standard <a href="https://en.wikipedia.org/wiki/RDFa"><abbr title="Resource Description Framework - in - attributes">RDFa</abbr></a> und hat deshalb vor ein paar Wochen <a href="https://html.spec.whatwg.org/multipage/microdata.html">Microdata</a> als eine mögliche Alternative vorgestellt.</p>



<p>Microdata-Objekte bestehen eigentlich <em>nur</em> aus einer Vielzahl von Key/Value-Paaren. Ein <em>Object</em> wird durch einen umschließenden HTML-Tag mit einem <code>itemscope</code>-Attribut gekennzeichnet und hat mehrere <em>Properties</em> ausgezeichnet durch <code>itemprop</code>-Attribute.</p>


<pre class="wp-block-code"><span><code class="hljs language-xml"><span class="hljs-tag">&lt;<span class="hljs-name">div</span> <span class="hljs-attr">itemscope</span>&gt;</span>
 <span class="hljs-tag">&lt;<span class="hljs-name">p</span>&gt;</span>Mein Name ist <span class="hljs-tag">&lt;<span class="hljs-name">span</span> <span class="hljs-attr">itemprop</span>=<span class="hljs-string">"name"</span>&gt;</span>Matthias<span class="hljs-tag">&lt;/<span class="hljs-name">span</span>&gt;</span>.<span class="hljs-tag">&lt;/<span class="hljs-name">p</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span></code></span></pre>


<p>Microdata ist für mich die gelungene Weiterentwicklung der <a href="http://microformats.org/">Microformats-Idee</a> unter Berücksichtigung von RDFa und prinzipiell lassen sich auch beide Standards mit Microdata umsetzen. Wie generell von HTML5 gewohnt, kann man auch Microdata auf viele verschiedene Weisen benutzen ohne den Standard zu verletzen.</p>



<h4 class="wp-block-heading">Microdata im Microformats-Stil</h4>



<p>Um z.B. eine <a href="http://microformats.org/wiki/hcard">hCard</a> mit Microdata abzubilden muss man eigentlich nur die bisher verwendeten <code>class</code> durch <code>itemprop</code>-Attribute zu ersetzen und mit <code>itemtype</code> das Format festlegen.</p>


<pre class="wp-block-code"><span><code class="hljs language-xml"><span class="hljs-tag">&lt;<span class="hljs-name">div</span> <span class="hljs-attr">itemscope</span> <span class="hljs-attr">itemtype</span>=<span class="hljs-string">"http://microformats.org/profile/hcard"</span>&gt;</span>
 <span class="hljs-tag">&lt;<span class="hljs-name">span</span> <span class="hljs-attr">itemprop</span>=<span class="hljs-string">"fn"</span>&gt;</span>Matthias Pfefferle<span class="hljs-tag">&lt;/<span class="hljs-name">span</span>&gt;</span>
 <span class="hljs-tag">&lt;<span class="hljs-name">img</span> <span class="hljs-attr">itemprop</span>=<span class="hljs-string">"photo"</span> <span class="hljs-attr">src</span>=<span class="hljs-string">"avatar.png"</span> <span class="hljs-attr">alt</span>=<span class="hljs-string">"Avatar"</span> /&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span></code></span></pre>


<p>HTML5 und Microdata bieten außerdem eine ganze Reihe weiterer Tags und Attribute die alle bisherigen Microformats-Probleme beheben sollten. Aber darauf werde ich in einem extra Artikel noch detaillierter darauf eingehen.</p>



<h4 class="wp-block-heading">Microdata im RDFa-Stil</h4>



<p><code>item</code> und <code>itemprop</code> können aber auch durch URIs (ähnlich wie RDFa) ausgezeichnet werden und würden sich dadurch relativ leicht (durch z.B. <abbr title="Gleaning Resource Descriptions from Dialects of Languages"><a href="https://en.wikipedia.org/wiki/GRDDL">GRDDL</a></abbr>) in klassisches <abbr title="Resource Description Framework"><a href="https://en.wikipedia.org/wiki/Resource_Description_Framework">RDF</a></abbr> konvertieren lassen.</p>


<pre class="wp-block-code"><span><code class="hljs language-xml"><span class="hljs-tag">&lt;<span class="hljs-name">div</span> <span class="hljs-attr">itemscope</span> <span class="hljs-attr">itemtype</span>=<span class="hljs-string">"http://www.w3.org/2001/vcard-rdf/3.0#"</span>&gt;</span>
  <span class="hljs-tag">&lt;<span class="hljs-name">span</span> <span class="hljs-attr">itemprop</span>=<span class="hljs-string">"http://www.w3.org/2001/vcard-rdf/3.0#fn"</span>&gt;</span>
    Matthias Pfefferle
  <span class="hljs-tag">&lt;/<span class="hljs-name">span</span>&gt;</span>
  <span class="hljs-tag">&lt;<span class="hljs-name">img</span> <span class="hljs-attr">itemprop</span>=<span class="hljs-string">"http://www.w3.org/2001/vcard-rdf/3.0#photo"</span>
       <span class="hljs-attr">src</span>=<span class="hljs-string">"avatar.png"</span> <span class="hljs-attr">alt</span>=<span class="hljs-string">"Avatar"</span> /&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span></code></span></pre>


<h4 class="wp-block-heading">Fazit</h4>



<p>Trotz <a href="https://notiz.blog/2009/05/16/html5-wird-kein-rdfa-unterstuetzen/">anfänglicher Skepsis</a> bin ich immer begeisterter von dem neuen HTML5 Draft! Microdata fühlt sich einfach viel mehr nacht HTML an&#8230; </p>


<pre class="wp-block-code"><span><code class="hljs language-xml"><span class="hljs-tag">&lt;<span class="hljs-name">div</span> <span class="hljs-attr">itemscope</span> <span class="hljs-attr">itemtype</span>=<span class="hljs-string">"http://microformats.org/profile/hcard"</span>&gt;</span>
  <span class="hljs-tag">&lt;<span class="hljs-name">a</span> <span class="hljs-attr">itemprop</span>=<span class="hljs-string">"url"</span> <span class="hljs-attr">href</span>=<span class="hljs-string">"https://notiz.blog"</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">span</span> <span class="hljs-attr">itemprop</span>=<span class="hljs-string">"fn"</span>&gt;</span>Matthias Pfefferle<span class="hljs-tag">&lt;/<span class="hljs-name">span</span>&gt;</span>
  <span class="hljs-tag">&lt;/<span class="hljs-name">a</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span></code></span></pre>


<p>&#8230;als RDFa.</p>


<pre class="wp-block-code"><span><code class="hljs language-xml"><span class="hljs-tag">&lt;<span class="hljs-name">div</span> <span class="hljs-attr">xmlns:foaf</span>=<span class="hljs-string">"http://xmlns.com/foaf/0.1/"</span>&gt;</span>
  <span class="hljs-tag">&lt;<span class="hljs-name">span</span> <span class="hljs-attr">typeof</span>=<span class="hljs-string">"foaf:Person"</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">a</span> <span class="hljs-attr">property</span>=<span class="hljs-string">"foaf:name"</span> <span class="hljs-attr">rel</span>=<span class="hljs-string">"foaf:homepage"</span> <span class="hljs-attr">href</span>=<span class="hljs-string">"https://notiz.blog"</span>&gt;</span>
      Matthias
    <span class="hljs-tag">&lt;/<span class="hljs-name">a</span>&gt;</span>
  <span class="hljs-tag">&lt;/<span class="hljs-name">span</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span></code></span></pre>


<p>Trotzdem hoffe ich, dass man sich doch noch irgendwie einigen kann und sich vielleicht in der Mitte trifft. Zwei neue HTML-Spezifikationen (XHTML2 &amp; (X)HTML5) sind schon verwirrend genug, da brauchen wir nicht auch noch zwei unterschiedliche <em>Semantik-HTML</em>-Standards</p>
<p>You are a true RSS aficionado! While others are drowning in social media noise, you enjoy the simplicity and control of RSS. Congrats!</p>]]></content:encoded>
					
					<wfw:commentRss>https://notiz.blog/2009/06/18/microdata-semantisches-html5/feed/</wfw:commentRss>
			<slash:comments>5</slash:comments>
		
		
			</item>
		<item>
		<title>Ubiquity und Microformats</title>
		<link>https://notiz.blog/2008/09/16/ubiquity-und-microformats/</link>
					<comments>https://notiz.blog/2008/09/16/ubiquity-und-microformats/#comments</comments>
		
		<dc:creator><![CDATA[Matthias Pfefferle]]></dc:creator>
		<pubDate>Tue, 16 Sep 2008 18:38:37 +0000</pubDate>
				<category><![CDATA[Open Web]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Microformats]]></category>
		<category><![CDATA[Semantic HTML]]></category>
		<category><![CDATA[Ubiquity]]></category>
		<guid isPermaLink="false">http://notizblog.org/?p=1141</guid>

					<description><![CDATA[Ubiquity bietet (neben Operator) endlich einen echten Anwendungsfall für die Microformats Firefox API. Die Microformats API basiert auf JavaScript und lässt sich somit auch direkt (und ohne viel Aufwand) in die Ubiquity-Commands integrieren. Das folgende wirklich sinnvolle Beispiel zählt alle hCards einer Seite und gibt das Ergebnis als System-Message aus: Martin McEvoy hat ein paar [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Ubiquity bietet (neben <a href="https://web.archive.org/web/20120630183520/http://mike.kaply.com/2008/03/17/operator-09-is-available/">Operator</a>) endlich einen echten Anwendungsfall für die <em>Microformats Firefox API</em>. Die <a href="https://web.archive.org/web/20120503100548/https://developer.mozilla.org/en/Using_microformats">Microformats API</a> basiert auf JavaScript und lässt sich somit auch direkt (und ohne viel Aufwand) in die <a href="https://wiki.mozilla.org/Labs/Ubiquity/Commands_In_The_Wild">Ubiquity-Commands</a> integrieren.</p>



<p>Das folgende wirklich sinnvolle Beispiel zählt alle <a href="http://microformats.org/wiki/hCard">hCards</a> einer Seite und gibt das Ergebnis als <a href="https://wiki.mozilla.org/Labs/Ubiquity/Ubiquity_0.1_Author_Tutorial#Hello_World:_The_First_Command">System-Message</a> aus:</p>


<pre class="wp-block-code"><span><code class="hljs language-javascript">Components.utils.import(<span class="hljs-string">"resource://gre/modules/Microformats.js"</span>);
CmdUtils.CreateCommand({
  <span class="hljs-attr">name</span>: <span class="hljs-string">"count-hcards"</span>,
  <span class="hljs-attr">execute</span>: <span class="hljs-function"><span class="hljs-keyword">function</span>(<span class="hljs-params"></span>) </span>{
    <span class="hljs-keyword">var</span> doc = Application.activeWindow.activeTab.document;	
    <span class="hljs-keyword">var</span> uFcount = Microformats.count(<span class="hljs-string">'hCard'</span>, doc);
    displayMessage( uFcount );
  }
})</code></span></pre>


<p>Martin McEvoy hat ein paar wesentlich schickere Commands gebaut, die mit Hilfe des <a href="https://web.archive.org/web/20100413130036/http://transformr.co.uk/">Transformrs</a> Mikroformate verarbeitet. Da für diese Verarbeitung ein Redirect (oder das öffnen einer zweiten Seite) notwendig ist, überprüft er mit Hilfe der Microformats-API zuerst ob sich die notwendigen Mikroformate überhaupt auf der Seite befinden.</p>



<p>Der folgende Code (von Martin) testet z.B. ob mind. ein hCalendar verfügbar ist, bevor er diesen verarbeitet:</p>


<pre class="wp-block-code"><span><code class="hljs language-php">CmdUtils.CreateCommand({
  icon: <span class="hljs-string">"http://transformr.co.uk/favicon.ico"</span>,
  name: <span class="hljs-string">"get-webcal"</span>,
  author: {name: <span class="hljs-string">"Martin McEvoy"</span>, email: <span class="hljs-string">"weborganics@googlemail.com"</span>},
  help: <span class="hljs-string">"Subscribe to a webcal feed using the 
&lt;a href=\"http://microformats.org/wiki/hcalendar\"&gt;hCalendar&lt;/a&gt; Microformat."</span>,
  preview: <span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-params">( pblock )</span> </span>{
    pblock.innerHTML = <span class="hljs-string">"Subscribe to web calendar"</span>;
  },
  execute: <span class="hljs-function"><span class="hljs-keyword">function</span><span class="hljs-params">()</span> </span>{
    <span class="hljs-keyword">var</span> doc = Application.activeWindow.activeTab.document;
    <span class="hljs-keyword">var</span> mFcount = Microformats.count(<span class="hljs-string">'hCalendar'</span>, doc,{ showHidden : <span class="hljs-keyword">true</span> });
    <span class="hljs-keyword">if</span> (mFcount &gt; <span class="hljs-number">0</span>) {
      <span class="hljs-keyword">var</span> url = <span class="hljs-string">"webcal://transformr.co.uk/hcalendar/"</span>;
      url += CmdUtils.getWindowInsecure().location ; 
      Utils.openUrlInBrowser(url);
    } <span class="hljs-keyword">else</span> {
      displayMessage(<span class="hljs-string">'Sorry No hCalendar Events Found!'</span>);
    }
  }
})</code></span></pre>


<p>Quelle: <a href="https://web.archive.org/web/20081121062147/http://transformr.co.uk/commands">http://transformr.co.uk/commands</a></p>



<p>Weitere großartige Ubiquity-Commands im <a href="http://microformats.org/wiki/ubiquity">Microfromats-Wiki</a>&#8230;</p>
<p>RSS readers like you are the unsung heroes of the internet. Keep up the good work!</p>]]></content:encoded>
					
					<wfw:commentRss>https://notiz.blog/2008/09/16/ubiquity-und-microformats/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>HTML5 is made for Microformats</title>
		<link>https://notiz.blog/2008/07/30/html5-is-made-for-microformats/</link>
					<comments>https://notiz.blog/2008/07/30/html5-is-made-for-microformats/#comments</comments>
		
		<dc:creator><![CDATA[Matthias Pfefferle]]></dc:creator>
		<pubDate>Wed, 30 Jul 2008 18:34:52 +0000</pubDate>
				<category><![CDATA[Open Web]]></category>
		<category><![CDATA[abbr design pattern]]></category>
		<category><![CDATA[GEO]]></category>
		<category><![CDATA[hCalendar]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Microformats]]></category>
		<category><![CDATA[RDFa]]></category>
		<category><![CDATA[Semantic HTML]]></category>
		<category><![CDATA[XHTML]]></category>
		<guid isPermaLink="false">http://notizblog.org/?p=1003</guid>

					<description><![CDATA[Naja, nicht wirklich aber immerhin hat es RDFa bis dato nicht in die HTML5 Spezifikation geschafft. Es gibt zwar einen Milestone&#8230; The HTML WG is encouraged to provide a mechanism to permit independently developed vocabularies such as Internationalization Tag Set (ITS), Ruby, and RDFa to be mixed into HTML documents. &#8230;aber wer weiß wie lange [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Naja, nicht wirklich aber immerhin hat es <a href="http://www.w3.org/TR/xhtml-rdfa-primer/">RDFa</a> bis dato nicht in die <a href="http://www.w3.org/html/wg/html5/">HTML5 Spezifikation</a> geschafft. Es gibt zwar einen <a href="http://www.w3.org/2007/03/HTML-WG-charter.html#deliverables">Milestone</a>&#8230;</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow"><p>The HTML WG is encouraged to provide a mechanism to permit independently developed vocabularies such as Internationalization Tag Set (ITS), Ruby, and RDFa to be mixed into HTML documents.</p></blockquote>



<p>&#8230;aber wer weiß wie lange das noch dauert. Das heißt wohl, dass die Microformats noch eine gewisse Zeit lang als Übergangslösung her halten müssen. Aber das ist ne andere Geschichte&#8230;</p>



<p>Eigentlich wollte ich auf zwei HTML5 &#8211; Elemente eingehen, die eine schicke Alternative zu den bisherigen (in <a href="http://microformats.org/wiki/geo">vielen</a> <a href="http://microformats.org/wiki/hCal">Microformats</a> verwendeten) <a href="http://microformats.org/wiki/abbr-design-pattern">abbr-design-pattern</a> bietet.</p>



<h4 class="wp-block-heading">Der &lt;time />-Tag</h4>



<p>Das <code><a href="http://www.w3.org/html/wg/html5/#time">time</a></code> Element ermöglicht das kennzeichnen eines Datums in z.B. Blogposts o.Ä.</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow"><p>The primary use cases for these elements are for marking up publication dates e.g. in blog entries, and for marking event dates in hCalendar markup.</p></blockquote>



<p>Also:</p>


<pre class="wp-block-code"><span><code class="hljs language-xml"><span class="hljs-tag">&lt;<span class="hljs-name">time</span> <span class="hljs-attr">datetime</span>=<span class="hljs-string">"2006-09-23"</span>&gt;</span>a Saturday<span class="hljs-tag">&lt;/<span class="hljs-name">time</span>&gt;</span></code></span></pre>


<p>statt:</p>


<pre class="wp-block-code"><span><code class="hljs language-xml"><span class="hljs-tag">&lt;<span class="hljs-name">abbr</span> <span class="hljs-attr">title</span>=<span class="hljs-string">"2006-09-23"</span>&gt;</span>a Saturday<span class="hljs-tag">&lt;/<span class="hljs-name">abbr</span>&gt;</span></code></span></pre>


<p>Ein <a href="http://microformats.org/wiki/hCal">hCalendar</a> könnte dann so aussehen:</p>


<pre class="wp-block-code"><span><code class="hljs language-xml"><span class="hljs-tag">&lt;<span class="hljs-name">div</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"vevent"</span>&gt;</span>
  <span class="hljs-tag">&lt;<span class="hljs-name">span</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"summary"</span>&gt;</span>event title<span class="hljs-tag">&lt;/<span class="hljs-name">span</span>&gt;</span>
  <span class="hljs-tag">&lt;<span class="hljs-name">time</span> <span class="hljs-attr">datetime</span>=<span class="hljs-string">"2006-09-23"</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"dtstart dtend"</span>&gt;</span>a Saturday<span class="hljs-tag">&lt;/<span class="hljs-name">time</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span></code></span></pre>


<h4 class="wp-block-heading">Custom data attributes (data-)</h4>



<p>Ein <em>custom data attribute</em> ist ein frei benutzbares Attribut um Elemente mit <a href="https://de.wikipedia.org/wiki/Metadaten">Metadaten</a> anzureichern. Die einzige Vorgabe ist, dass es mit <code>data-</code> beginnen muss. Ein Beispiel:</p>


<pre class="wp-block-code"><span><code class="hljs language-xml"><span class="hljs-tag">&lt;<span class="hljs-name">div</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"monkey"</span> <span class="hljs-attr">data-arms</span>=<span class="hljs-string">"2"</span>
     <span class="hljs-attr">data-legs</span>=<span class="hljs-string">"2"</span> <span class="hljs-attr">data-race</span>=<span class="hljs-string">"chimp"</span>&gt;</span>
  Cheetah
<span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span></code></span></pre>


<p>Ideal auch als <code>&lt;abbr /></code>-Ersatz bei z.B. dem <a href="http://microformats.org/wiki/geo">Geo-Microformat</a>.</p>



<p>Also:</p>


<pre class="wp-block-code"><span><code class="hljs language-xml"><span class="hljs-tag">&lt;<span class="hljs-name">div</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"geo"</span> <span class="hljs-attr">data-latitude</span>=<span class="hljs-string">"49.5483"</span> <span class="hljs-attr">data-longitude</span>=<span class="hljs-string">"8.6661"</span>&gt;</span>Weinheim<span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span></code></span></pre>


<p>statt:</p>


<pre class="wp-block-code"><span><code class="hljs language-xml"><span class="hljs-tag">&lt;<span class="hljs-name">abbr</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"geo"</span> <span class="hljs-attr">title</span>=<span class="hljs-string">"49.5483;8.6661"</span>&gt;</span>Weinheim<span class="hljs-tag">&lt;/<span class="hljs-name">abbr</span>&gt;</span></code></span></pre>


<h4 class="wp-block-heading">Fazit</h4>



<p>(X)HTML (egal ob XHTML2 mit RDFa oder X/HTML5) wird also definitiv ein semantisches Feuerwerk, ganz im Sinne von Tim Berners Lee&#8230;</p>



<p>Ich freu mich 🙂</p>
<p>Hey there, RSS reader! You’re one of a special few, choosing this old-school yet awesome way of staying informed. Kudos!</p>]]></content:encoded>
					
					<wfw:commentRss>https://notiz.blog/2008/07/30/html5-is-made-for-microformats/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
			</item>
		<item>
		<title>Structured blogging mit Flock</title>
		<link>https://notiz.blog/2008/06/15/structured-blogging-mit-flock/</link>
					<comments>https://notiz.blog/2008/06/15/structured-blogging-mit-flock/#respond</comments>
		
		<dc:creator><![CDATA[Matthias Pfefferle]]></dc:creator>
		<pubDate>Sun, 15 Jun 2008 15:33:36 +0000</pubDate>
				<category><![CDATA[Open Web]]></category>
		<category><![CDATA[Bloggen]]></category>
		<category><![CDATA[flock]]></category>
		<category><![CDATA[Microformats]]></category>
		<category><![CDATA[posh]]></category>
		<category><![CDATA[Semantic HTML]]></category>
		<category><![CDATA[Structured-Blogging]]></category>
		<guid isPermaLink="false">http://notizblog.org/?p=906</guid>

					<description><![CDATA[Strukturiertes bloggen (z.B. die Verwendung von Microformats in Blog-Posts) stellt eine gewisse Hürde für den Verfasser dar, da ein gewisser Mehraufwand in Form von strukturiertem/semantischem HTML notwenig ist. Um diese Hürde so gering wie möglich zu halten gibt es mittlerweile reichlich Plugins für die gängigsten Weblog-Tools sowie die verbreitetsten Mikroformate. Um den Komfort der strukturellen [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p><a href="https://web.archive.org/web/20100106115556/http://structuredblogging.org/">Strukturiertes bloggen</a> (z.B. die Verwendung von <a href="http://microformats.org">Microformats</a> in Blog-Posts) stellt eine gewisse Hürde für den Verfasser dar, da ein gewisser Mehraufwand in Form von <a href="http://microformats.org/wiki/posh">strukturiertem/semantischem HTML</a> notwenig ist. Um diese Hürde so gering wie möglich zu halten gibt es mittlerweile <a href="http://microformats.org/wiki/implementations">reichlich Plugins</a> für die gängigsten Weblog-Tools sowie die <a href="http://microformats.org/wiki/Main_Page#Specifications">verbreitetsten Mikroformate</a>.</p>



<p>Um den Komfort der strukturellen Inhalte auch auf den Desktop zu bringen gibt es ein schickes Plugin für den <a href="http://flock.com">Flock</a> <a href="https://web.archive.org/web/20101122161745/http://flock.com/faq/show/29">Blog-Editor</a>.</p>



<figure class="wp-block-image aligncenter"><img decoding="async" src="https://notiz.blog/wp-content/uploads/2008/06/hcalendar-flock-blogging.jpg" alt="hcalendar-flock-blogging.jpg" /></figure>



<p><a href="https://web.archive.org/web/20140831141309/http://flock.spatialviews.com:80/blogplus_features.html">Blogplus</a> erweitert den Blog-Editor von Flock um eine Menge neuer Features, um unter anderem auch strukturierter bloggen zu können:</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
	<p>Preset Markup allows you to create, store, edit and apply preset html markup to highlighted text, such as preformatted signatures, css styles or html element attributes (id, class, title). This is particulalrly useful for improving productivity for <a href="http://microformats.org">microformat</a> creation. See <a href="https://web.archive.org/web/20120924042901/http://flock.spatialviews.com:80/blogplus_markup.html">help page</a> for more info.</p>
</blockquote>



<p>oder:</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
	<p>hCalendar allows you to create microformats hCalendar events. This is included as it is a little easier than going the Preset Markup route for the complicated hCalendar markup.</p>
</blockquote>



<p>Ich hoffe <a href="http://www.red-sweater.com/marsedit/">MarsEdit</a> kommt demnächst mit einem ähnlichen Feature 🙂</p>
<p>Congratulations on being an RSS reader! You are part of an elite group of people who know how to stay updated in style.</p>]]></content:encoded>
					
					<wfw:commentRss>https://notiz.blog/2008/06/15/structured-blogging-mit-flock/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Semantic Overkill</title>
		<link>https://notiz.blog/2008/03/04/semantic-overkill/</link>
					<comments>https://notiz.blog/2008/03/04/semantic-overkill/#respond</comments>
		
		<dc:creator><![CDATA[Matthias Pfefferle]]></dc:creator>
		<pubDate>Tue, 04 Mar 2008 19:40:47 +0000</pubDate>
				<category><![CDATA[Open Web]]></category>
		<category><![CDATA[Microformats]]></category>
		<category><![CDATA[RDFa]]></category>
		<category><![CDATA[Semantic HTML]]></category>
		<category><![CDATA[Semantic Web]]></category>
		<category><![CDATA[XHTML]]></category>
		<guid isPermaLink="false">http://notizblog.org/2008/03/04/semantic-overkill/</guid>

					<description><![CDATA[Wer sich nicht zwischen RDFa und Microformats entscheiden kann und nicht sehr viel von dem Transformation-System GRDDL hält, kann seine HTML Inhalte natürlich auch mit beiden Formaten auszeichnen. Gerade die Profil- und Kalender-Semantiken bieten sich wegen ihrer Ähnlichkeit besonders an. hCard und RDFa vCard: &#8230;oder hCalendar und RDFa iCalendar: Legende: Microformats bzw. RDFa So, als [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Wer sich nicht zwischen RDFa und Microformats entscheiden kann und nicht sehr viel von dem Transformation-System <abbr title="Gleaning Resource Descriptions from Dialects of Languages">GRDDL</abbr> hält, kann seine HTML Inhalte natürlich auch mit beiden Formaten auszeichnen. Gerade die Profil- und Kalender-Semantiken bieten sich wegen ihrer Ähnlichkeit besonders an.</p>



<p><a href="http://microformats.org/wiki/hCard">hCard</a> und RDFa vCard:</p>


<pre class="wp-block-code"><span><code class="hljs language-xml"><span class="hljs-tag">&lt;<span class="hljs-name">body</span> <span class="hljs-attr">xmlns:contact</span>=<span class="hljs-string">"http://www.w3.org/2001/vcard-rdf/3.0#"</span>&gt;</span>
  <span class="hljs-tag">&lt;<span class="hljs-name">div</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> <span class="hljs-attr">property</span>=<span class="hljs-string">"contact:fn"</span>&gt;</span>Max Mustermann<span class="hljs-tag">&lt;/<span class="hljs-name">span</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">a</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"email"</span> <span class="hljs-attr">rel</span>=<span class="hljs-string">"contact:email"</span> <span class="hljs-attr">href</span>=<span class="hljs-string">"mailto:max.mustermann@example.org"</span>&gt;</span>
      max.mustermann@example.org
    <span class="hljs-tag">&lt;/<span class="hljs-name">a</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">div</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"adr"</span> <span class="hljs-attr">property</span>=<span class="hljs-string">"contact:adr"</span>&gt;</span>
      <span class="hljs-tag">&lt;<span class="hljs-name">span</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"street-address"</span> <span class="hljs-attr">property</span>=<span class="hljs-string">"contact:street"</span>&gt;</span>Street<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">"country-name"</span> <span class="hljs-attr">property</span>=<span class="hljs-string">"contact:country"</span>&gt;</span>Country<span class="hljs-tag">&lt;/<span class="hljs-name">span</span>&gt;</span>
    <span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span>
  <span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">body</span>&gt;</span></code></span></pre>


<p>&#8230;oder <a href="http://microformats.org/wiki/hCal">hCalendar</a> und RDFa iCalendar:</p>


<pre class="wp-block-code"><span><code class="hljs language-xml"><span class="hljs-tag">&lt;<span class="hljs-name">body</span> <span class="hljs-attr">xmlns:cal</span>=<span class="hljs-string">"http://www.w3.org/2002/12/cal/ical#"</span>&gt;</span>
  <span class="hljs-tag">&lt;<span class="hljs-name">div</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"vevent"</span> <span class="hljs-attr">instanceof</span>=<span class="hljs-string">"cal:Vevent"</span>&gt;</span>
    <span class="hljs-tag">&lt;<span class="hljs-name">span</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"summary"</span> <span class="hljs-attr">property</span>=<span class="hljs-string">"cal:summary"</span>&gt;</span>Ein Event<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">property</span>=<span class="hljs-string">"cal:dtstart"</span> <span class="hljs-attr">content</span>=<span class="hljs-string">"20070916T1600-0500"</span>&gt;</span>
      <span class="hljs-tag">&lt;<span class="hljs-name">abbr</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"dtstart"</span> <span class="hljs-attr">title</span>=<span class="hljs-string">"20070916T1600-0500"</span>&gt;</span>
        September 16th at 4pm.
      <span class="hljs-tag">&lt;/<span class="hljs-name">abbr</span>&gt;</span>
    <span class="hljs-tag">&lt;/<span class="hljs-name">span</span>&gt;</span>
  <span class="hljs-tag">&lt;/<span class="hljs-name">div</span>&gt;</span>
<span class="hljs-tag">&lt;/<span class="hljs-name">body</span>&gt;</span></code></span></pre>


<p>Legende: Microformats bzw. RDFa</p>



<p>So, als nächstes schau ich mir mal die RDFa Attribute näher an&#8230;</p>
<p>You are a master of efficiency! By using RSS, you save time and avoid distractions. 👏</p>]]></content:encoded>
					
					<wfw:commentRss>https://notiz.blog/2008/03/04/semantic-overkill/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
