-
Microformats Intro
27 September 2006
The New Context Conference 2006
Tantek
Çelik
Chief Technologist
Technorati
-
(cc) Creative Commons
BY
-
-
hCard markup example
http://tantek.com/
Tantek
Çelik
Chief Technologist
http://technorati.com/
Technorati
-
hCard markup example
<div >
<a href="http://tantek.com/">
<span >Tantek</span>
<span >Çelik</span>
</a>
<span >Chief Technologist</span>
<a href="http://technorati.com/">
Technorati</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>
<span class="title">Chief Technologist</span>
<a class="org" href="http://technorati.com/">
Technorati</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>
<span class="title">Chief Technologist</span>
<a class="org" href="http://technorati.com/">
Technorati</a>
</div>
-
What are Microformats?
-
Microformats enable the publishing and sharing
of higher fidelity information on the Web.
- Building blocks that enable users to own, control, move, and share their data on the Web.
-
Small bits of (X)HTML that identify richer data types
like people and events in your webpages.
- The fastest and simplest way to provide an API for your website.
-
- Analogy: link to a stylesheet with rel="stylesheet"
- Thus: link to a license with rel="license"
-
Example: rel-license
http://creativecommons.org/licenses/by/2.5/
Some rights reserved. CC by-2.5.
-
Example: rel-license
<a
href="http://creativecommons.org/licenses/by/2.5/">
Some rights reserved. CC by-2.5.
</a>
-
Example: rel-license
<a rel="license"
href="http://creativecommons.org/licenses/by/2.5/">
Some rights reserved. CC by-2.5.
</a>
-
Example: rel-license
<a rel="license"
href="http://creativecommons.org/licenses/by/2.5/">
Some rights reserved. CC by-2.5.
</a>
-
rel-license support
-
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"
-
Microformats: 2004 → 2006
-
Microformats: 2004 → 2006
-
- XFN - distributed social network
- rel-license - license links
- CC Creator, Yahoo CC search, Google Search
- XOXO - lists and outlines
- VoteLinks - for/against/abstain a link
- hCalendar - events
- Yahoo Upcoming.org, Eventful.com, more...
- hCard - people & orgs
- rel-tag - content tagging
-
-
Recently released...
-
Microformats Community
- IRC
- Email
- Blog
- Wiki
- if you find errors, please fix them, like Wikipedia
- add examples, help research, brainstorm, etc.
- help translate!
-
Microformat Exercise for the Reader
- Create your own hCard
- Publish it on your site in your about/contact page
- Add a link to it in hCard New Examples
- Ping Pingerati.net with your about/contact page
-
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
XFN Friendly extends 'rel'
2004
O'Reilly ETech conference
- "microformats" introduced
- rel="license" & VoteLinks
- XOXO (XHTML Outlines)
FOO Camp brainstorms
-
-
XHTML Friends Network (XFN) extends 'rel'
XFN Friendly
-