SlideShare a Scribd company logo
microformats  more than just promise more than just promise john allsopp - westciv web 2.0 expo Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
part I web 2.0? really?
browsers 1.0
browsers 1.0 browsers are still little more than printers to the screen what can we do with the data on a page other than read it?
imagine being able to grab any contact details on a page, and add them to your address book
 
imagine or being able to grab event details from a page, and add them to your calendar software
 
imagine or display the location of a person, place, company, on an online map
 
browsers 2.0 Microformats enable this today - through extensions to Firefox like Operator
browsers 2.0 Microformats change the paradigm of browsers from information printers to “ information brokers ” (Read/Write Web) or “ information switchboards ” (Alex Faaborg, Mozilla)
search 1.0
We decide the general kind of page we want to read about we search for one or more related keywords the search engine returns a list of matches we decide which of these matches to read  we read the page
search 2.0 what’s good what sucks what’s going on who is that?
RDF versus ufs
RDF versus ufs
 
enablers by adding richer more meaningful semantics to web content, microformats enable much more intelligent search
part II know your microformats
XHTML Friends Network (XFN)
XFN What is it? for marking up common professional and personal relationships with other people
XFN How do I use it? In a link to a blog or other site associated with a person, add one or more of the XFN keywords as the value of the  rel  attribute
XFN <a href=” http://tantek.com ”  rel=”colleague met friend” >Tantek Çelik</a> Signifies that Tantek is a friend, a colleague and that I’ve met him.
XFN Provides a set of possible values or “controlled vocabulary” for describing relationships. several categories, including  physical, professional, family, romantic
XFN XFN Creator  -  http://gmpg.org/xfn/creator WordPress  - built into “add links” Plug-ins for  Bloxsom  and  MoveableType DreamWeaver  toolbar from WaSP
Styling XFN microformats provide a framework for designers using CSS
XFN  + CSS The CSS attribute selector  a[rel~=&quot;met&quot;}:after {  content: '*';  } Tantek Çelik  *
XFN  + CSS a[rel=&quot;friend&quot;] {  background-image: url(...);  background-repeat: no-repeat;  background-position: center left;  padding-left: 32px;  color: #a8c90b;  }  Tantek Çelik  *
XFN  + CSS Anyone see a problem?
XFN  + CSS It doesn’t work in IE6
hCard
hCard What is it? simple, open, distributed format for representing people, companies, organizations, and places ...
hCard What is it? 1:1 representation of the properties and values of the vCard standard
hCard How do you use it? Add the  semantics  of vCard using the  class design pattern . Adds vCard’s  field names  as  class values  on any HTML element
hCard <div> <img src=&quot;img/thedude.jpg&quot; alt=&quot;The Dude&quot; /> <h2> <a  href=&quot; http://www.lebowskifest.com &quot;>  <span>Jeffrey</span> <span>Lebowski</span> </a> </h2> <h3>address</h3> <div> <div>123 Palm Drive</div> <span>Los Angeles</span>,  <span>CA</span>,  <span>123456</span> </div> <h3>phone</h3> <div>+1 (123) 456-7899</div> <h3>email</h3> <a href=&quot;mailto...&quot;>thedude@urban...com</a> </div> compound microformats have a root element.  hCard root elements have the class value “vcard”
hCard <div  class=”vcard” > <img src=&quot;img/thedude.jpg&quot; alt=&quot;The Dude&quot; /> <h2> <a  href=&quot; http://www.lebowskifest.com &quot;>  <span>Jeffrey</span> <span>Lebowski</span> </a> </h2> <h3>address</h3> <div> <div>123 Palm Drive</div> <span>Los Angeles</span>,  <span>CA</span>,  <span>123456</span> </div> <h3>phone</h3> <div>+1 (123) 456-7899</div> <h3>email</h3> <a href=&quot;mailto...&quot;>thedude@urban...com</a> </div>
hCard <div class=&quot;vcard&quot;> <img src=&quot;img/thedude.jpg&quot; alt=&quot;The Dude&quot; /> <h2> <a  href=&quot; http://www.lebowskifest.com &quot;>  <span>Jeffrey</span> <span>Lebowski</span> </a> </h2> <h3>address</h3> <div> <div>123 Palm Drive</div> <span>Los Angeles</span>,  <span>CA</span>,  <span>123456</span> </div> <h3>phone</h3> <div>+1 (123) 456-7899</div> <h3>email</h3> <a href=&quot; mailto ...&quot;>thedude@urban...com</a> </div> Names Formatted names and (optional) structured names
hCard <div class=&quot;vcard&quot;> <img src=&quot;img/thedude.jpg&quot; alt=&quot;The Dude&quot; /> <h2> <a  class= &quot;fn n&quot;  href=&quot; http://www.....com &quot;>  <span  class=&quot;given-name&quot; >Jeffrey</span> <span  class=&quot;family-name&quot; >Lebowski</span> </a> </h2> <h3>address</h3> <div> <div>123 Palm Drive</div> <span>Los Angeles</span>,  <span>CA</span>,  <span>123456</span> </div> <h3>phone</h3> <div>+1 (123) 456-7899</div> <h3>email</h3> <a href=&quot; mailto ...&quot;>thedude@urban...com</a> </div>
hCard <div class=&quot;vcard&quot;> <img src=&quot;img/thedude.jpg&quot; alt=&quot;The Dude&quot; /> <h2> <a class= &quot;fn n&quot; href=&quot; http://www.....com &quot;>  <span class=&quot;given-name&quot;>Jeffrey</span> <span class=&quot;family-name&quot;>Lebowski</span> </a> </h2> <h3>address</h3> <div> <div>123 Palm Drive</div> <span>Los Angeles</span>,  <span>CA</span>,  <span>123456</span> </div> <h3>phone</h3> <div>+1 (123) 456-7899</div> <h3>email</h3> <a href=&quot; mailto ...&quot;>thedude@urban...com</a> </div> URLs and Photos class=”photo” class=”url”
hCard <div class=&quot;vcard&quot;> <img src=&quot;img/thedude.jpg&quot; ...  class=   &quot; photo &quot;  /> <h2> <a class= &quot;fn n  url &quot; href=&quot; http://www.....com &quot;>  <span class=&quot;given-name&quot;>Jeffrey</span> <span class=&quot;family-name&quot;>Lebowski</span> </a> </h2> <h3>address</h3> <div> <div>123 Palm Drive</div> <span>Los Angeles</span>,  <span>CA</span>,  <span>123456</span> </div> <h3>phone</h3> <div>+1 (123) 456-7899</div> <h3>email</h3> <a href=&quot; mailto ...&quot;>thedude@urban...com</a> </div>
hCard <div class=&quot;vcard&quot;> <img src=&quot;img/thedude.jpg&quot; ... class= &quot;photo&quot; /> <h2> <a class= &quot;fn n url&quot; href=&quot; http://www.....com &quot;>  <span class=&quot;given-name&quot;>Jeffrey</span> <span class=&quot;family-name&quot;>Lebowski</span> </a> </h2> <h3>address</h3> <div> <div>123 Palm Drive</div> <span>Los Angeles</span>,  <span>CA</span>,  <span>123456</span> </div> <h3>phone</h3> <div>+1 (123) 456-7899</div> <h3>email</h3> <a href=&quot; mailto ...&quot;>thedude@urban...com</a> </div> Addresses street-address locality region postal-code country-name
hCard <div class=&quot;vcard&quot;> <img src=&quot;img/thedude.jpg&quot; ... class= &quot;photo&quot; /> <h2> <a class= &quot;fn n url&quot; href=&quot; http://www.....com &quot;>  <span class=&quot;given-name&quot;>Jeffrey</span> <span class=&quot;family-name&quot;>Lebowski</span> </a> </h2> <h3>address</h3> <div  class=&quot;adr&quot; > <div  class=&quot;street-address&quot; >123 Palm Drive</div> <span  class=&quot;locality&quot; >Los Angeles</span>,  <span  class=&quot;region&quot; >CA</span>,  <span  class=&quot;postal-code&quot; >123456</span> </div> <h3>phone</h3> <div>+1 (123) 456-7899</div> <h3>email</h3> <a href=&quot; mailto ...&quot;>thedude@urban...com</a> </div>
hCard <div class=&quot;vcard&quot;> <img src=&quot;img/thedude.jpg&quot; ... class= &quot;photo&quot; /> <h2> <a class= &quot;fn n url&quot; href=&quot; http://www.....com &quot;>  <span class=&quot;given-name&quot;>Jeffrey</span> <span class=&quot;family-name&quot;>Lebowski</span> </a> </h2> <h3>address</h3> <div class=&quot;adr&quot;> <div class=&quot;street-address&quot;>123 Palm Drive</div> <span class=&quot;locality&quot;>Los Angeles</span>,  <span class=&quot;region&quot;>CA</span>,  <span class=&quot;postal-code&quot;>123456</span> </div> <h3>phone</h3> <div>+1 (123) 456-7899</div> <h3>email</h3> <a href=&quot; mailto ...&quot;>thedude@urban...com</a> </div>
hCard <div class=&quot;vcard&quot;> <img src=&quot;img/thedude.jpg&quot; ... class= &quot;photo&quot; /> <h2> <a class= &quot;fn n url&quot; href=&quot; http://www.....com &quot;>  <span class=&quot;given-name&quot;>Jeffrey</span> <span class=&quot;family-name&quot;>Lebowski</span> </a> </h2> <h3>address</h3> <div class=&quot;adr&quot;> <div class=&quot;street-address&quot;>123 Palm Drive</div> <span class=&quot;locality&quot;>Los Angeles</span>,  <span class=&quot;region&quot;>CA</span>,  <span class=&quot;postal-code&quot;>123456</span> </div> <h3>phone</h3> <div>+1 (123) 456-7899</div> <h3>email</h3> <a href=&quot; mailto ...&quot;>thedude@urban...com</a> </div> newfangled stuff class=”email” class=”tel”
hCard <div class=&quot;vcard&quot;> <img src=&quot;img/thedude.jpg&quot; ... class= &quot;photo&quot; /> <h2> <a class= &quot;fn n url&quot; href=&quot; http://www.....com &quot;>  <span class=&quot;given-name&quot;>Jeffrey</span> <span class=&quot;family-name&quot;>Lebowski</span> </a> </h2> <h3>address</h3> <div class=&quot;adr&quot;> <div class=&quot;street-address&quot;>123 Palm Drive</div> <span class=&quot;locality&quot;>Los Angeles</span>,  <span class=&quot;region&quot;>CA</span>,  <span class=&quot;postal-code&quot;>123456</span> </div> <h3>phone</h3> <div  class=&quot;tel&quot; >+1 (123) 456-7899</div> <h3>email</h3> <a  class=&quot;email&quot;  href=&quot; mailto ...&quot;>...</a> </div>
hCard <div class=&quot;vcard&quot;> <img src=&quot;img/thedude.jpg&quot; ... class= &quot;photo&quot; /> <h2> <a class= &quot;fn n url&quot; href=&quot; http://www.....com &quot;>  <span class=&quot;given-name&quot;>Jeffrey</span> <span class=&quot;family-name&quot;>Lebowski</span> </a> </h2> <h3>address</h3> <div class=&quot;adr&quot;> <div class=&quot;street-address&quot;>123 Palm Drive</div> <span class=&quot;locality&quot;>Los Angeles</span>,  <span class=&quot;region&quot;>CA</span>,  <span class=&quot;postal-code&quot;>123456</span> </div> <h3>phone</h3> <div class=&quot;tel&quot;>+1 (123) 456-7899</div> <h3>email</h3> <a class=&quot;email&quot; href=&quot; mailto ...&quot;>...</a> </div>
hCard all sounds a bit hard? hCard Creator Dreamweaver toolbar plugins for  TextPattern  and  Wordpress
styling hCard with CSS Every hCard provides a context for styling through the root element We can use the .vcard class to select any element inside an hCard with the (much underused) descendent selector
styling hCard with CSS courtesy Dan Cederholm
styling hCard with CSS div.vcard  {  width: 26em; margin: 0 auto;  padding: 2em 2em 3em 2em;  line-height: 1.5em;  border-top: 1px solid #fff;  background: url(img/bg.gif) no-repeat bottom right;  } courtesy Dan Cederholm
styling hCard with CSS courtesy Dan Cederholm
styling hCard with CSS div.vcard img.photo {  float: right;  padding: 2px;  border: 4px double #d3d0c2;  background: #fff;  }  courtesy Dan Cederholm
styling hCard with CSS courtesy Dan Cederholm
styling hCard with CSS div.vcard h2  {  margin: 0 105px 1em 0;  padding: 6px 0 26px 0;  font-size: 140%;  font-weight: normal;  text-align: center;  color: #933;  border-top: 1px solid #d3d0c2;  background : url(img/ornament.gif) no-repeat 50% 100%;  } div.vcard h2 a.url {  color: #933;  text-decoration: none;  }  courtesy Dan Cederholm
styling hCard with CSS courtesy Dan Cederholm
styling hCard with CSS /* heading labels */  div.vcard h3 { float: left;   width: 6em;  margin: 0;  padding: 0;  font-family: &quot;Lucida Grande&quot;, Verdana, sans-serif;  font-size: 70%;  font-weight: normal;  text-transform: uppercase;  letter-spacing: 2px;  text-align: right;  color: #999;  } courtesy Dan Cederholm
styling hCard with CSS courtesy Dan Cederholm
styling hCard with CSS div.vcard div.adr {  background: url(img/icon-adr.gif) no-repeat 1px 3px;  }  div.vcard div.tel {  background: url(img/icon-phone.gif) no-repeat 1px 3px;  }  div.vcard a.email {  display: block;  background: url(img/icon-email.gif) no-repeat 0 3px;  } courtesy Dan Cederholm
styling hCard with CSS courtesy Dan Cederholm
hCard for Designers Microformats provide structured data that designers can use for styling with CSS
hCalendar
hCalendar What is it? simple, open, distributed calendaring and events format, based on the iCalendar standard
hCalendar How do you use it? Add the  semantics  of iCalendar using the  class design pattern . Adds iCalendar’s field names as class values on any HTML element
hReview
hReview What is it? simple, open, distributed format, suitable for embedding reviews (of products, services, businesses, events, etc.) in X/HTML
hReview How do you use it? Add common semantics for reviews using the class design pattern.
hReview Reviews commonly have item reviewed date reviewed reviewer description tags
but wait there’s more Yahoo! Tech and Local mark up millions of reviews (editorial and user generated) using hResume
but wait there’s more hAtom  is the semantics of Atom in HTML With it your page can be your feed Magnolia provides every bookmark marked up with hAtom
but wait there’s more hResume  is a simple way of marking up Resumes LinkedIn publishes every public profile using hResume - that’s 9 million + of them
but wait there’s more with many more microformats under development, or waiting for you to find out about, or even develop
Part III services using microformats
Technorati microformats search Indexes microformatted content supports hCard, hCalendar, hReview
Pingerati Notify Pingerati of new or changed microformatted content Other services can receive updates when content changes
aggregators Edgio aggregates classifieds listing from across the web, including the hListing draft microformat Revish aggregates reviews published using hReview, and combines them with reviews by users of their site
Part IV publishers using microformats
Flickr Geo microformat
Yahoo! Tech hReview, hCard
Upcoming hCalendar, hCard
LinkedIN hCard, hResume
Ma.gnolia every page is an hAtom feed every bookmark is an hAtom entry uses rel-tag for tagging uses hCard for contacts their website IS their API
Part V what you can do right now
what you can do right now Markup your contact details (company, individuals) using  hCard
what you can do right now Mark up news using  hAtom
what you can do right now Markup events you run or attend using  hCalendar
what you can do right now use  rel-tag  for tagging content on your site
what you can do right now markup your locations using GEO
More? microformats.org
the book
Thank you [email_address] http://microformatique.com

More Related Content

PDF
Microformats HTML to API
PDF
creating portable social networks with microformats
PDF
Do SEOs Need to Know About Chromium? Of CORS! Extended Edition - BrightonSEO ...
PPT
Web 2.0 Lessonplan Day1
PDF
Dynamic Rendering - is this really an SEO silver bullet? SMX WEST
PPT
Html5 accessibility
PPT
What I brought back from Austin
DOC
Jogos
Microformats HTML to API
creating portable social networks with microformats
Do SEOs Need to Know About Chromium? Of CORS! Extended Edition - BrightonSEO ...
Web 2.0 Lessonplan Day1
Dynamic Rendering - is this really an SEO silver bullet? SMX WEST
Html5 accessibility
What I brought back from Austin
Jogos

What's hot (18)

PPT
WordPress Development Confoo 2010
PDF
Findability Bliss Through Web Standards
PDF
Browser Changes That Will Impact SEO From 2019-2020
PPTX
Structured Data Implementation, MREIDs, and More at SMX Advanced 2018
PPTX
SMX Advanced 2018 SEO for Javascript Frameworks by Patrick Stox
PPT
RDFa: The Semantic Web's Missing Link
PPTX
Troubleshooting SEO for JS Frameworks - Patrick Stox - DTD 2018
PPT
(SEO) Search Engine Optimization
PPTX
Enterprise SEO Chaos - SMX Advanced 2016
PDF
Debugging rendering problems at scale
PPT
A Technical Look at Content - PUBCON SFIMA 2017 - Patrick Stox
PPTX
SearchLove London 2016 | Dom Woodman | How to Get Insight From Your Logs
PDF
Implementing schema.org in the JSON-LD format with Google Tag Manager
PPTX
Structured Data & Schema.org - SMX Milan 2014
PPTX
YQL talk at OHD Jakarta
PPTX
SMX Advanced 2018 Solving Complex SEO Problems by Patrick Stox
PPTX
Data Visualization for SEO
PDF
So you think you know canonical tags - Sean Butcher Brighton SEO presentation
WordPress Development Confoo 2010
Findability Bliss Through Web Standards
Browser Changes That Will Impact SEO From 2019-2020
Structured Data Implementation, MREIDs, and More at SMX Advanced 2018
SMX Advanced 2018 SEO for Javascript Frameworks by Patrick Stox
RDFa: The Semantic Web's Missing Link
Troubleshooting SEO for JS Frameworks - Patrick Stox - DTD 2018
(SEO) Search Engine Optimization
Enterprise SEO Chaos - SMX Advanced 2016
Debugging rendering problems at scale
A Technical Look at Content - PUBCON SFIMA 2017 - Patrick Stox
SearchLove London 2016 | Dom Woodman | How to Get Insight From Your Logs
Implementing schema.org in the JSON-LD format with Google Tag Manager
Structured Data & Schema.org - SMX Milan 2014
YQL talk at OHD Jakarta
SMX Advanced 2018 Solving Complex SEO Problems by Patrick Stox
Data Visualization for SEO
So you think you know canonical tags - Sean Butcher Brighton SEO presentation
Ad

Viewers also liked (20)

DOCX
Refuerzo de espaã±ol 3 periodo
PPTX
Presentación martinez rangel thalia administración sab_b
DOCX
Proyectos de inversion
PDF
El secreto arte secreto de llevarse mujeres a la cama - erik von markovik(...
PDF
Incorporación de la Gestión de Tecnología como un área del conocimiento en la...
PDF
Libro+2+tomo+i
PPT
Punto 7. ISO 9000
PDF
Estructura Organizacional
PPT
Taller mapeo de procesos
PPTX
01 marco conceptual y procesos
PDF
Hoe veilig is het werken in een verontreinigde bodem(compleet)_K.Hoogeboom_16...
PPT
Curso de Dirección de Proyectos
PDF
Speciale 2. udgave
DOCX
Iniciativa Anticorrupción
PDF
Taller de Preparación para la Certificación (PMI-RMP)® - Realizar el Análisis...
PPTX
Pensamiento Critico
DOC
Estudio economico De Un Proyecto
PPT
Dinámica de la Población (PSU 2014)
PDF
Creación de una Planta para el Mantenimiento y Procesamiento del Agua - Plani...
Refuerzo de espaã±ol 3 periodo
Presentación martinez rangel thalia administración sab_b
Proyectos de inversion
El secreto arte secreto de llevarse mujeres a la cama - erik von markovik(...
Incorporación de la Gestión de Tecnología como un área del conocimiento en la...
Libro+2+tomo+i
Punto 7. ISO 9000
Estructura Organizacional
Taller mapeo de procesos
01 marco conceptual y procesos
Hoe veilig is het werken in een verontreinigde bodem(compleet)_K.Hoogeboom_16...
Curso de Dirección de Proyectos
Speciale 2. udgave
Iniciativa Anticorrupción
Taller de Preparación para la Certificación (PMI-RMP)® - Realizar el Análisis...
Pensamiento Critico
Estudio economico De Un Proyecto
Dinámica de la Población (PSU 2014)
Creación de una Planta para el Mantenimiento y Procesamiento del Agua - Plani...
Ad

Similar to Microformats at Web 2.0 Expo April 2007 (20)

PDF
Microformats
PPT
Hands-on Microformats
PDF
Web Standards: Fueling Innovation [Web Builder 2.0 - 2008]
PDF
Web Standards: Fueling Innovation [Web Design World Boston '08]
PDF
Web Standards: Fueling Innovation [Web Design World - Seattle 2009]
PPT
Scottish Web Folk: Three (5-minute) ways to improve your Website
PPT
Microformats Workshop (2009)
PPT
Agile Descriptions
PPT
Microformats
PPT
Microformats
PPT
Microformats by venkat
PDF
Introduction to xml
PDF
Microformats I: What & Why
PDF
Juggling
PPT
Microformats
PPT
Microformats
PDF
FOWA Miami: Future of Social Networks
PDF
BarCamp Sd Microformats
PPT
Microformats
PDF
[edUi] HTML5 Workshop
Microformats
Hands-on Microformats
Web Standards: Fueling Innovation [Web Builder 2.0 - 2008]
Web Standards: Fueling Innovation [Web Design World Boston '08]
Web Standards: Fueling Innovation [Web Design World - Seattle 2009]
Scottish Web Folk: Three (5-minute) ways to improve your Website
Microformats Workshop (2009)
Agile Descriptions
Microformats
Microformats
Microformats by venkat
Introduction to xml
Microformats I: What & Why
Juggling
Microformats
Microformats
FOWA Miami: Future of Social Networks
BarCamp Sd Microformats
Microformats
[edUi] HTML5 Workshop

Recently uploaded (20)

PPTX
Module5_Session1 (mlzrkfbbbbbbbbbbbz1).pptx
PPT
features and equilibrium under MONOPOLY 17.11.20.ppt
PPTX
IGCSE ECONOMICS 0455 Foreign Exchange Rate
PDF
Statistics for Management and Economics Keller 10th Edition by Gerald Keller ...
PDF
NAPF_RESPONSE_TO_THE_PENSIONS_COMMISSION_8 _2_.pdf
PDF
Blockchain Pesa Research by Samuel Mefane
PPT
Chap 1PP.ppt introductory micro economics
PDF
discourse-2025-02-building-a-trillion-dollar-dream.pdf
PDF
Principal of magaement is good fundamentals in economics
PPTX
ML Credit Scoring of Thin-File Borrowers
PPTX
The discussion on the Economic in transportation .pptx
PPTX
Grp C.ppt presentation.pptx for Economics
PDF
USS pension Report and Accounts 2025.pdf
PDF
Buy Verified Stripe Accounts for Sale - Secure and.pdf
DOCX
BUSINESS PERFORMANCE SITUATION AND PERFORMANCE EVALUATION OF FELIX HOTEL IN H...
PPTX
introuction to banking- Types of Payment Methods
PDF
3CMT J.AFABLE Flexible-Learning ENTREPRENEURIAL MANAGEMENT.pdf
PDF
CLIMATE CHANGE AS A THREAT MULTIPLIER: ASSESSING ITS IMPACT ON RESOURCE SCARC...
PPTX
OAT_ORI_Fed Independence_August 2025.pptx
PDF
7a Lifetime Expected Income Breakeven Comparison between SPIAs and Managed Po...
Module5_Session1 (mlzrkfbbbbbbbbbbbz1).pptx
features and equilibrium under MONOPOLY 17.11.20.ppt
IGCSE ECONOMICS 0455 Foreign Exchange Rate
Statistics for Management and Economics Keller 10th Edition by Gerald Keller ...
NAPF_RESPONSE_TO_THE_PENSIONS_COMMISSION_8 _2_.pdf
Blockchain Pesa Research by Samuel Mefane
Chap 1PP.ppt introductory micro economics
discourse-2025-02-building-a-trillion-dollar-dream.pdf
Principal of magaement is good fundamentals in economics
ML Credit Scoring of Thin-File Borrowers
The discussion on the Economic in transportation .pptx
Grp C.ppt presentation.pptx for Economics
USS pension Report and Accounts 2025.pdf
Buy Verified Stripe Accounts for Sale - Secure and.pdf
BUSINESS PERFORMANCE SITUATION AND PERFORMANCE EVALUATION OF FELIX HOTEL IN H...
introuction to banking- Types of Payment Methods
3CMT J.AFABLE Flexible-Learning ENTREPRENEURIAL MANAGEMENT.pdf
CLIMATE CHANGE AS A THREAT MULTIPLIER: ASSESSING ITS IMPACT ON RESOURCE SCARC...
OAT_ORI_Fed Independence_August 2025.pptx
7a Lifetime Expected Income Breakeven Comparison between SPIAs and Managed Po...

Microformats at Web 2.0 Expo April 2007

  • 1. microformats more than just promise more than just promise john allsopp - westciv web 2.0 expo Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
  • 2. part I web 2.0? really?
  • 4. browsers 1.0 browsers are still little more than printers to the screen what can we do with the data on a page other than read it?
  • 5. imagine being able to grab any contact details on a page, and add them to your address book
  • 6.  
  • 7. imagine or being able to grab event details from a page, and add them to your calendar software
  • 8.  
  • 9. imagine or display the location of a person, place, company, on an online map
  • 10.  
  • 11. browsers 2.0 Microformats enable this today - through extensions to Firefox like Operator
  • 12. browsers 2.0 Microformats change the paradigm of browsers from information printers to “ information brokers ” (Read/Write Web) or “ information switchboards ” (Alex Faaborg, Mozilla)
  • 14. We decide the general kind of page we want to read about we search for one or more related keywords the search engine returns a list of matches we decide which of these matches to read we read the page
  • 15. search 2.0 what’s good what sucks what’s going on who is that?
  • 18.  
  • 19. enablers by adding richer more meaningful semantics to web content, microformats enable much more intelligent search
  • 20. part II know your microformats
  • 22. XFN What is it? for marking up common professional and personal relationships with other people
  • 23. XFN How do I use it? In a link to a blog or other site associated with a person, add one or more of the XFN keywords as the value of the rel attribute
  • 24. XFN <a href=” http://tantek.com ” rel=”colleague met friend” >Tantek Çelik</a> Signifies that Tantek is a friend, a colleague and that I’ve met him.
  • 25. XFN Provides a set of possible values or “controlled vocabulary” for describing relationships. several categories, including physical, professional, family, romantic
  • 26. XFN XFN Creator - http://gmpg.org/xfn/creator WordPress - built into “add links” Plug-ins for Bloxsom and MoveableType DreamWeaver toolbar from WaSP
  • 27. Styling XFN microformats provide a framework for designers using CSS
  • 28. XFN + CSS The CSS attribute selector a[rel~=&quot;met&quot;}:after { content: '*'; } Tantek Çelik *
  • 29. XFN + CSS a[rel=&quot;friend&quot;] { background-image: url(...); background-repeat: no-repeat; background-position: center left; padding-left: 32px; color: #a8c90b; } Tantek Çelik *
  • 30. XFN + CSS Anyone see a problem?
  • 31. XFN + CSS It doesn’t work in IE6
  • 32. hCard
  • 33. hCard What is it? simple, open, distributed format for representing people, companies, organizations, and places ...
  • 34. hCard What is it? 1:1 representation of the properties and values of the vCard standard
  • 35. hCard How do you use it? Add the semantics of vCard using the class design pattern . Adds vCard’s field names as class values on any HTML element
  • 36. hCard <div> <img src=&quot;img/thedude.jpg&quot; alt=&quot;The Dude&quot; /> <h2> <a href=&quot; http://www.lebowskifest.com &quot;> <span>Jeffrey</span> <span>Lebowski</span> </a> </h2> <h3>address</h3> <div> <div>123 Palm Drive</div> <span>Los Angeles</span>, <span>CA</span>, <span>123456</span> </div> <h3>phone</h3> <div>+1 (123) 456-7899</div> <h3>email</h3> <a href=&quot;mailto...&quot;>thedude@urban...com</a> </div> compound microformats have a root element. hCard root elements have the class value “vcard”
  • 37. hCard <div class=”vcard” > <img src=&quot;img/thedude.jpg&quot; alt=&quot;The Dude&quot; /> <h2> <a href=&quot; http://www.lebowskifest.com &quot;> <span>Jeffrey</span> <span>Lebowski</span> </a> </h2> <h3>address</h3> <div> <div>123 Palm Drive</div> <span>Los Angeles</span>, <span>CA</span>, <span>123456</span> </div> <h3>phone</h3> <div>+1 (123) 456-7899</div> <h3>email</h3> <a href=&quot;mailto...&quot;>thedude@urban...com</a> </div>
  • 38. hCard <div class=&quot;vcard&quot;> <img src=&quot;img/thedude.jpg&quot; alt=&quot;The Dude&quot; /> <h2> <a href=&quot; http://www.lebowskifest.com &quot;> <span>Jeffrey</span> <span>Lebowski</span> </a> </h2> <h3>address</h3> <div> <div>123 Palm Drive</div> <span>Los Angeles</span>, <span>CA</span>, <span>123456</span> </div> <h3>phone</h3> <div>+1 (123) 456-7899</div> <h3>email</h3> <a href=&quot; mailto ...&quot;>thedude@urban...com</a> </div> Names Formatted names and (optional) structured names
  • 39. hCard <div class=&quot;vcard&quot;> <img src=&quot;img/thedude.jpg&quot; alt=&quot;The Dude&quot; /> <h2> <a class= &quot;fn n&quot; href=&quot; http://www.....com &quot;> <span class=&quot;given-name&quot; >Jeffrey</span> <span class=&quot;family-name&quot; >Lebowski</span> </a> </h2> <h3>address</h3> <div> <div>123 Palm Drive</div> <span>Los Angeles</span>, <span>CA</span>, <span>123456</span> </div> <h3>phone</h3> <div>+1 (123) 456-7899</div> <h3>email</h3> <a href=&quot; mailto ...&quot;>thedude@urban...com</a> </div>
  • 40. hCard <div class=&quot;vcard&quot;> <img src=&quot;img/thedude.jpg&quot; alt=&quot;The Dude&quot; /> <h2> <a class= &quot;fn n&quot; href=&quot; http://www.....com &quot;> <span class=&quot;given-name&quot;>Jeffrey</span> <span class=&quot;family-name&quot;>Lebowski</span> </a> </h2> <h3>address</h3> <div> <div>123 Palm Drive</div> <span>Los Angeles</span>, <span>CA</span>, <span>123456</span> </div> <h3>phone</h3> <div>+1 (123) 456-7899</div> <h3>email</h3> <a href=&quot; mailto ...&quot;>thedude@urban...com</a> </div> URLs and Photos class=”photo” class=”url”
  • 41. hCard <div class=&quot;vcard&quot;> <img src=&quot;img/thedude.jpg&quot; ... class= &quot; photo &quot; /> <h2> <a class= &quot;fn n url &quot; href=&quot; http://www.....com &quot;> <span class=&quot;given-name&quot;>Jeffrey</span> <span class=&quot;family-name&quot;>Lebowski</span> </a> </h2> <h3>address</h3> <div> <div>123 Palm Drive</div> <span>Los Angeles</span>, <span>CA</span>, <span>123456</span> </div> <h3>phone</h3> <div>+1 (123) 456-7899</div> <h3>email</h3> <a href=&quot; mailto ...&quot;>thedude@urban...com</a> </div>
  • 42. hCard <div class=&quot;vcard&quot;> <img src=&quot;img/thedude.jpg&quot; ... class= &quot;photo&quot; /> <h2> <a class= &quot;fn n url&quot; href=&quot; http://www.....com &quot;> <span class=&quot;given-name&quot;>Jeffrey</span> <span class=&quot;family-name&quot;>Lebowski</span> </a> </h2> <h3>address</h3> <div> <div>123 Palm Drive</div> <span>Los Angeles</span>, <span>CA</span>, <span>123456</span> </div> <h3>phone</h3> <div>+1 (123) 456-7899</div> <h3>email</h3> <a href=&quot; mailto ...&quot;>thedude@urban...com</a> </div> Addresses street-address locality region postal-code country-name
  • 43. hCard <div class=&quot;vcard&quot;> <img src=&quot;img/thedude.jpg&quot; ... class= &quot;photo&quot; /> <h2> <a class= &quot;fn n url&quot; href=&quot; http://www.....com &quot;> <span class=&quot;given-name&quot;>Jeffrey</span> <span class=&quot;family-name&quot;>Lebowski</span> </a> </h2> <h3>address</h3> <div class=&quot;adr&quot; > <div class=&quot;street-address&quot; >123 Palm Drive</div> <span class=&quot;locality&quot; >Los Angeles</span>, <span class=&quot;region&quot; >CA</span>, <span class=&quot;postal-code&quot; >123456</span> </div> <h3>phone</h3> <div>+1 (123) 456-7899</div> <h3>email</h3> <a href=&quot; mailto ...&quot;>thedude@urban...com</a> </div>
  • 44. hCard <div class=&quot;vcard&quot;> <img src=&quot;img/thedude.jpg&quot; ... class= &quot;photo&quot; /> <h2> <a class= &quot;fn n url&quot; href=&quot; http://www.....com &quot;> <span class=&quot;given-name&quot;>Jeffrey</span> <span class=&quot;family-name&quot;>Lebowski</span> </a> </h2> <h3>address</h3> <div class=&quot;adr&quot;> <div class=&quot;street-address&quot;>123 Palm Drive</div> <span class=&quot;locality&quot;>Los Angeles</span>, <span class=&quot;region&quot;>CA</span>, <span class=&quot;postal-code&quot;>123456</span> </div> <h3>phone</h3> <div>+1 (123) 456-7899</div> <h3>email</h3> <a href=&quot; mailto ...&quot;>thedude@urban...com</a> </div>
  • 45. hCard <div class=&quot;vcard&quot;> <img src=&quot;img/thedude.jpg&quot; ... class= &quot;photo&quot; /> <h2> <a class= &quot;fn n url&quot; href=&quot; http://www.....com &quot;> <span class=&quot;given-name&quot;>Jeffrey</span> <span class=&quot;family-name&quot;>Lebowski</span> </a> </h2> <h3>address</h3> <div class=&quot;adr&quot;> <div class=&quot;street-address&quot;>123 Palm Drive</div> <span class=&quot;locality&quot;>Los Angeles</span>, <span class=&quot;region&quot;>CA</span>, <span class=&quot;postal-code&quot;>123456</span> </div> <h3>phone</h3> <div>+1 (123) 456-7899</div> <h3>email</h3> <a href=&quot; mailto ...&quot;>thedude@urban...com</a> </div> newfangled stuff class=”email” class=”tel”
  • 46. hCard <div class=&quot;vcard&quot;> <img src=&quot;img/thedude.jpg&quot; ... class= &quot;photo&quot; /> <h2> <a class= &quot;fn n url&quot; href=&quot; http://www.....com &quot;> <span class=&quot;given-name&quot;>Jeffrey</span> <span class=&quot;family-name&quot;>Lebowski</span> </a> </h2> <h3>address</h3> <div class=&quot;adr&quot;> <div class=&quot;street-address&quot;>123 Palm Drive</div> <span class=&quot;locality&quot;>Los Angeles</span>, <span class=&quot;region&quot;>CA</span>, <span class=&quot;postal-code&quot;>123456</span> </div> <h3>phone</h3> <div class=&quot;tel&quot; >+1 (123) 456-7899</div> <h3>email</h3> <a class=&quot;email&quot; href=&quot; mailto ...&quot;>...</a> </div>
  • 47. hCard <div class=&quot;vcard&quot;> <img src=&quot;img/thedude.jpg&quot; ... class= &quot;photo&quot; /> <h2> <a class= &quot;fn n url&quot; href=&quot; http://www.....com &quot;> <span class=&quot;given-name&quot;>Jeffrey</span> <span class=&quot;family-name&quot;>Lebowski</span> </a> </h2> <h3>address</h3> <div class=&quot;adr&quot;> <div class=&quot;street-address&quot;>123 Palm Drive</div> <span class=&quot;locality&quot;>Los Angeles</span>, <span class=&quot;region&quot;>CA</span>, <span class=&quot;postal-code&quot;>123456</span> </div> <h3>phone</h3> <div class=&quot;tel&quot;>+1 (123) 456-7899</div> <h3>email</h3> <a class=&quot;email&quot; href=&quot; mailto ...&quot;>...</a> </div>
  • 48. hCard all sounds a bit hard? hCard Creator Dreamweaver toolbar plugins for TextPattern and Wordpress
  • 49. styling hCard with CSS Every hCard provides a context for styling through the root element We can use the .vcard class to select any element inside an hCard with the (much underused) descendent selector
  • 50. styling hCard with CSS courtesy Dan Cederholm
  • 51. styling hCard with CSS div.vcard { width: 26em; margin: 0 auto; padding: 2em 2em 3em 2em; line-height: 1.5em; border-top: 1px solid #fff; background: url(img/bg.gif) no-repeat bottom right; } courtesy Dan Cederholm
  • 52. styling hCard with CSS courtesy Dan Cederholm
  • 53. styling hCard with CSS div.vcard img.photo { float: right; padding: 2px; border: 4px double #d3d0c2; background: #fff; } courtesy Dan Cederholm
  • 54. styling hCard with CSS courtesy Dan Cederholm
  • 55. styling hCard with CSS div.vcard h2 { margin: 0 105px 1em 0; padding: 6px 0 26px 0; font-size: 140%; font-weight: normal; text-align: center; color: #933; border-top: 1px solid #d3d0c2; background : url(img/ornament.gif) no-repeat 50% 100%; } div.vcard h2 a.url { color: #933; text-decoration: none; } courtesy Dan Cederholm
  • 56. styling hCard with CSS courtesy Dan Cederholm
  • 57. styling hCard with CSS /* heading labels */ div.vcard h3 { float: left; width: 6em; margin: 0; padding: 0; font-family: &quot;Lucida Grande&quot;, Verdana, sans-serif; font-size: 70%; font-weight: normal; text-transform: uppercase; letter-spacing: 2px; text-align: right; color: #999; } courtesy Dan Cederholm
  • 58. styling hCard with CSS courtesy Dan Cederholm
  • 59. styling hCard with CSS div.vcard div.adr { background: url(img/icon-adr.gif) no-repeat 1px 3px; } div.vcard div.tel { background: url(img/icon-phone.gif) no-repeat 1px 3px; } div.vcard a.email { display: block; background: url(img/icon-email.gif) no-repeat 0 3px; } courtesy Dan Cederholm
  • 60. styling hCard with CSS courtesy Dan Cederholm
  • 61. hCard for Designers Microformats provide structured data that designers can use for styling with CSS
  • 63. hCalendar What is it? simple, open, distributed calendaring and events format, based on the iCalendar standard
  • 64. hCalendar How do you use it? Add the semantics of iCalendar using the class design pattern . Adds iCalendar’s field names as class values on any HTML element
  • 66. hReview What is it? simple, open, distributed format, suitable for embedding reviews (of products, services, businesses, events, etc.) in X/HTML
  • 67. hReview How do you use it? Add common semantics for reviews using the class design pattern.
  • 68. hReview Reviews commonly have item reviewed date reviewed reviewer description tags
  • 69. but wait there’s more Yahoo! Tech and Local mark up millions of reviews (editorial and user generated) using hResume
  • 70. but wait there’s more hAtom is the semantics of Atom in HTML With it your page can be your feed Magnolia provides every bookmark marked up with hAtom
  • 71. but wait there’s more hResume is a simple way of marking up Resumes LinkedIn publishes every public profile using hResume - that’s 9 million + of them
  • 72. but wait there’s more with many more microformats under development, or waiting for you to find out about, or even develop
  • 73. Part III services using microformats
  • 74. Technorati microformats search Indexes microformatted content supports hCard, hCalendar, hReview
  • 75. Pingerati Notify Pingerati of new or changed microformatted content Other services can receive updates when content changes
  • 76. aggregators Edgio aggregates classifieds listing from across the web, including the hListing draft microformat Revish aggregates reviews published using hReview, and combines them with reviews by users of their site
  • 77. Part IV publishers using microformats
  • 82. Ma.gnolia every page is an hAtom feed every bookmark is an hAtom entry uses rel-tag for tagging uses hCard for contacts their website IS their API
  • 83. Part V what you can do right now
  • 84. what you can do right now Markup your contact details (company, individuals) using hCard
  • 85. what you can do right now Mark up news using hAtom
  • 86. what you can do right now Markup events you run or attend using hCalendar
  • 87. what you can do right now use rel-tag for tagging content on your site
  • 88. what you can do right now markup your locations using GEO
  • 91. Thank you [email_address] http://microformatique.com