…ganz im Stil der W3C-Specs 🙂

Ist auf alle Fälle sehr schick geworden!
Mikroformate sind ein Markup-Format zur semantischen Annotation von HTML oder XHTML. Mikroformat-Annotationen können leicht aus Webseiten extrahiert werden und machen weiteren Programmen (etwa Suchmaschinen) die Bedeutung des Seiteninhalts verständlich.
…ganz im Stil der W3C-Specs 🙂

Ist auf alle Fälle sehr schick geworden!
Für den Podcast zum Thema Microformats hab ich mich mal schlau gemacht wie weit verbreitet die einzelnen Formate gerade sind.
| Microformats | Verbreitung |
|---|---|
| hCard | 1,590,000,000 |
| hAtom | 374,000,000 |
| XFN | 283,000,000 |
| hResume | 155,000,000 |
| hReview | 75,100,000 |
| hCalendar | 55,100,000 |
Quelle: SearchMonkey (Yahoo!)
Mehr als 1.5 Milliarden hCards, ich finde das Ergebnis kann sich sehen lassen 🙂
Sehr (positiv) überrascht war ich auch über die Verbreitung einzelner RDFa und eRDF Formate:
(X)HTML wird vielleicht doch noch ein RDF/OWL Ersatz 🙂
Ich lese in letzter Zeit wieder immer häufiger von Microformats-Implementierungen im Internet Explorer 8. Geht es da „nur“ um die schon angekündigten Webslices? Weiß jemand mehr?
Übrigens hat Mix Online, „a community for web designers and developers“ von Microsoft, gerade ein recht schickes Microformats Toolkit mit dem Namen Oomph veröffentlicht.
(mehr …)Dass sich das Portable Contacts Schema trotz der Aussage:
Third, we’re reusing existing standards wherever possible, including vCard, OpenSocial, XRDS-Simple, OAuth, etc.
von dem des v/hCard Schema unterscheidet, habe ich ja schon vor einigen Wochen erläutert:
Schade dass die vCard nicht zu 100% übernommen wurde… sonst hätte man ohne größere Änderungen auch die JSON-Serialisierte hCard (jCard) in den Prozess integrieren können. Spannend wäre es vor allem für Services wie Twitter, die das Freundesnetzwerk sowieso mit hCards auszeichnen.
Aber das schöne an Standards ist, dass sie sich ohne großen Aufwand in andere transformieren lassen. Magdex (die Firma hinter UfXtract und OAuth.net) bietet eine Reihe dieser Transformatoren um z.B. hCards, hCards + XFN oder hResumes in das Portable Contacts – Format zu bringen.
…jetzt das ganze nur noch mit OAuth schützen und fertig ist die Portable Contacts API 🙂
(via)
Emily Lewis hat ein paar fantastische Artikel über Microformats veröffentlicht. Absolut lesenswert!
NoseRub hat ein WordPress-Plugin:
If you have an account on a social network site powered by NoseRub, i.e. identoo.com
this plugin provides a couple of widgets to show your lifestream your hCard, your contacts
and, on newer installations of NoseRub, your services.You can also choose to use your weblog as an OpenID-URL, powered by your NoseRub account.
…außerdem wurde noch ne ganze Menge XFN verwendet 🙂
Mal schau’n was Dominik Schwind auf dem nächsten NoseRub-DevCamp so zaubert.
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:
Components.utils.import("resource://gre/modules/Microformats.js");
CmdUtils.CreateCommand({
name: "count-hcards",
execute: function() {
var doc = Application.activeWindow.activeTab.document;
var uFcount = Microformats.count('hCard', doc);
displayMessage( uFcount );
}
})Code-Sprache: JavaScript (javascript)
Martin McEvoy hat ein paar wesentlich schickere Commands gebaut, die mit Hilfe des Transformrs 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.
Der folgende Code (von Martin) testet z.B. ob mind. ein hCalendar verfügbar ist, bevor er diesen verarbeitet:
CmdUtils.CreateCommand({
icon: "http://transformr.co.uk/favicon.ico",
name: "get-webcal",
author: {name: "Martin McEvoy", email: "weborganics@googlemail.com"},
help: "Subscribe to a webcal feed using the
<a href=\"http://microformats.org/wiki/hcalendar\">hCalendar</a> Microformat.",
preview: function ( pblock ) {
pblock.innerHTML = "Subscribe to web calendar";
},
execute: function() {
var doc = Application.activeWindow.activeTab.document;
var mFcount = Microformats.count('hCalendar', doc,{ showHidden : true });
if (mFcount > 0) {
var url = "webcal://transformr.co.uk/hcalendar/";
url += CmdUtils.getWindowInsecure().location ;
Utils.openUrlInBrowser(url);
} else {
displayMessage('Sorry No hCalendar Events Found!');
}
}
})Code-Sprache: PHP (php)
Quelle: http://transformr.co.uk/commands
Weitere großartige Ubiquity-Commands im Microfromats-Wiki…
madgex hat vor ein paar Tagen eine OAuth – Library für .net veröffentlicht. Was ich jedoch wesentlich interessanter finde, sind die Referenz-Implementierungen:
Ein weiteres Projekt von magdex ist übrigens der Microformats-Parser UfXtract.
David Recordon stellt auf O’Reilly – Radar zwei der spannendsten Ergebnisse des gestrigen PortableContacts Hackathon (bei Six Apart) vor:
Joseph Smarr and Kevin Marks of Google hacked together a web transformer that integrates Microformats, vCard, and the Portable Contacts API. Given Kevin’s homepage which is full of Microformats, they’ve built an API that extracts his profile information from hCard, uses a public API from Technorati to transform it to vCard, and then exposes it as a Portable Contacts API endpoint. Not only does this work on Kevin’s own page, but his Twitter profile as well which contains basic profile information such as name, homepage, and a short bio.
Ein schönes Beispiel was man mit semantisch ausgezeichneten Informationen machen kann und dass Microformats eben auch (ohne viel Aufwand und mit ein bisschen Transformation) in höherwertige APIs integriert werden können… also keine hCard wurde umsonst geschrieben 🙂
Brian Ellin of JanRain has successfully combined OpenID, XRDS-Simple, OAuth, and the Portable Contacts API to start showing how each of these building blocks should come together. Upon visiting his demo site he logs in using his OpenID. From there, the site discovers that Plaxo hosts his address book and requests access to it via OAuth. Finishing the flow, his demo site uses the Portable Contacts API to access information about his contacts directly from Plaxo. End to end, login with an OpenID and finish by giving the site access to your address book without having to fork over your password.
Dazu brauche ich nicht mehr sagen, als: Implementieren! Sofort und überall 😉
Der Such-Affe und sogar die Microformats-Suche funktionieren auch perfekt auf dem iPhone…

Einfach bei der klassischen Suche ein kleines i hinter die URL packen: http://search.yahoo.com/i/
…und gegebenenfalls noch ein „searchmonkeyid:com.yahoo.uf.hatom“ oder ein „searchmonkeyid:com.yahoo.uf.hcard“ dazu…
Großartig 🙂
(via)