-
Microformats
Data Formats That Put Humans First
2007 April 30 — Lando 4204, The Venetian, Las Vegas, NV
Tantek
Çelik
Chief Technologist
-
-
Disclosure / Past Affiliations
- worked for Microsoft for 7+ years (1997-2004)
- IE5/Mac
- represented in W3C CSS, HTML, XForms groups
- browser engines for various set-top boxes
- other things I can't talk about
-
-
hCard markup example
http://tantek.com/
Tantek
Çelik
-
hCard markup example
<div >
<a href="http://tantek.com/">
<span >Tantek</span>
<span >Çelik</span>
</a>
</div>
-
hCard markup example
<div class="vcard">
<a class="url fn n" href="http://tantek.com/">
<span class="given-name">Tantek</span>
<span class="family-name">Çelik</span>
</a>
</div>
-
hCard markup example
<div class="vcard">
<a class="url fn n" href="http://tantek.com/">
<span class="given-name">Tantek</span>
<span class="family-name">Çelik</span>
</a>
</div>
-
microformats - how did we get here?
- separation of markup & style
- return to semantic HTML (POSH)
- class names for meaning/IA
- recognizing solved problems
- reusing vocabularies saves time
- reusing also shares meaning
- community established for learning, sharing, collaborating
-
microformats - common content first
- prioritization
- simple solutions to common problems/content first
- blogroll relationships - XFN
- licenses - rel-license
- lists & outlines - XOXO
- people & organizations - hCard
- events - hCalendar
-
-
Example: hCalendar
http://tantek.com/presentations/...
Microformats: for Humans
2007 April 30
-
Example: hCalendar
<ol >
<li >
<a href="http://tantek.com/presentations/..."
>
<span >Microformats: for Humans</span>
2007 April 30
</a>
</li>
</ol>
-
Example: hCalendar
<ol class="vcalendar">
<li class="vevent">
<a href="http://tantek.com/presentations/..."
class="url">
<span class="summary">Microformats: for Humans</span>
<abbr class="dtstart" title="2007-04-30T13:30-0700">
2007 April 30
</abbr>
</a>
</li>
</ol>
-
Example: hCalendar
<ol class="vcalendar">
<li class="vevent">
<a href="http://tantek.com/presentations/..."
class="url">
<span class="summary">Microformats: for Humans</span>
<abbr class="dtstart" title="2007-04-30T13:30-0700">
2007 April 30
</abbr>
</a>
</li>
</ol>
-
What are Microformats?
-
Microformats enable the publishing and sharing
of higher fidelity information on the Web.
- Building blocks that enable users to own,
control, and share their data on the Web.
-
Small bits of HTML that represent data types like people and events in your webpages.
- Fastest & simplest way to publish an API for your website.
-
microformats - just better markup?
- built on valid semantic HTML (POSH)
- as with HTML, broadly human read/writable/editable
- easier maintenance, updates, collaboration, team work
- better default behaviors from more user agents
- accessibility - screen readers
- diverse device support - mobile
- search engine optimization
- more than just "good class names"
- principles keep things "micro"
- process emphasizes getting real
- community minimizes duplicates
-
Microformats Principles
- solve a specific problem
-
The trick.... is to make sure that each limited mechanical part of the Web, each application, is within itself composed of simple parts that will never get too powerful.
- —Tim Berners-Lee, Weaving The Web
-
Microformats Principles
- solve a specific problem
- simple as possible
- evolutionary improvements
- humans first, machines second
- presentable and parsable
- adapt to current behaviors
- reuse from widely adopted standards
- semantic (X)HTML, schemas from interoperable RFCs
-
...if I had insisted everyone use HTTP, this would also have been against the principle of minimal constraint. ... the Web would come as a set of ideas that could be adopted individually in combination with existing or future parts.
- ibid.
-
Microformats Principles
- solve a specific problem
- simple as possible
- evolutionary improvements
- humans first, machines second
- presentable and parsable
- adapt to current behaviors
- reuse from widely adopted standards
- semantic (X)HTML, schemas from interoperable RFCs
- modularity / embeddability
- decentralized development, content, services
- explicitly encourage "spirit of the Web"
-
- Analogy: link to a stylesheet with rel="stylesheet"
- Thus: link to a license with rel="license"
-
Example: rel-license
http://creativecommons.org/licenses/by/3.0/
Some rights reserved. CC by-3.0.
-
Example: rel-license
<a
href="http://creativecommons.org/licenses/by/3.0/">
Some rights reserved. CC by-3.0.
</a>
-
Example: rel-license
<a rel="license"
href="http://creativecommons.org/licenses/by/3.0/">
Some rights reserved. CC by-3.0.
</a>
-
Example: rel-license
<a rel="license"
href="http://creativecommons.org/licenses/by/3.0/">
Some rights reserved. CC by-3.0.
</a>
-
rel-license support
-
Microformats: 2004 → 2007
-
Microformats: 2004 → 2007
-
- XFN - distributed social network
- blo.gs, WordPress, Rubhub, more…
- rel-license - license links
- CC Creator, Yahoo CC search, Google Search
- XOXO - lists and outlines
- WordPress, Technorati, more…
- VoteLinks - for/against/abstain a link
- hCalendar - events
- Y! Upcoming, Eventful, LiveClipboard, more…
- hCard - people & orgs
- Y! Local, Flickr/Zooomr/Technorati profiles, LiveClipboard, more…
- rel-tag - content tagging
- Technorati, Ice Rocket, more…
-
-
Recently released...
- December 2006: Pingerati.net launched — updates distributor
- Technorati Contacts Service and Events Service launched
- Operator - Firefox extension detects hCard, hCalendar, geo, hReview, rel-tag, hResume, more every week
- January 2007: Linkedin - 9M+ hResumes
- March 2007: SXSW 2007 - 500+ speaker 1000+ band hCards
- hCard in Wikipedia bios with Infobox templates
- Today: members of the 110th US Congress
-
-
Microformats Community
- IRC
- Email
- Blog
- Wiki
- if you find errors, please fix them, like Wikipedia
- advocate microformats support on sites you use
- add examples, help research, brainstorm, etc.
- help translate!
-
Microformat Exercise for the Reader
-
Colophon
-
Thanks!
-
Extra stuff
-
semantic markup history
2000-2002
Broad CSS1 support
- IE5/Mac, Moz, IE6/Win, Opera
web designers use more CSS
- less presentational markup
<table> & <font>
float & font-family
- Smaller documents
web designers rediscover semantic (X)HTML
less <b><br>
more <h3><p>
Search engine relevance
Easier to style
2003
Blogging tools adopt more semantic (X)HTML
<a name>
→ <div id>
and <a rel="bookmark">
'rel' attribute rediscovered
blogrolls link people/URLs
extends 'rel'
2004
O'Reilly ETech conference
- "microformats" introduced
- rel="license" & VoteLinks
- XOXO (XHTML Outlines)
FOO Camp brainstorms
-
-
XHTML Friends Network (XFN) extends 'rel'
-