1. Microformats 101

    2006 October 7 Silicon Valley Code Camp

    Tantek Çelik Chief Technologist Technorati
  2. (cc) Creative Commons BY
  3. Technorati Contact page

  4. hCard markup example

    
    
                               http://tantek.com/
                               Tantek 
                                Çelik
    
                         Chief Technologist
                          http://technorati.com/
       Technorati
    
    
  5. 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>
    
  6. 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>
    
  7. 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>
    
  8. What are Microformats?

  9. Microformat: linked license

  10. Example: rel-license

    
    
             http://creativecommons.org/licenses/by/2.5/
             Some rights reserved. CC by-2.5.
    
    
  11. Example: rel-license

    
    <a 
       href="http://creativecommons.org/licenses/by/2.5/">
             Some rights reserved. CC by-2.5.
    </a>
    
  12. Example: rel-license

    
    <a rel="license"
       href="http://creativecommons.org/licenses/by/2.5/">
             Some rights reserved. CC by-2.5.
    </a>
    
  13. Example: rel-license

    
    <a rel="license"
       href="http://creativecommons.org/licenses/by/2.5/">
             Some rights reserved. CC by-2.5.
    </a>
    
  14. rel-license support

  15. Example: blog quote

  16. Example: blog quote

    
    <p>      Eric Meyer        wrote:</p>
    
    <p>
     What's so interesting to me is that the guys who decided 
     to focus on the positive went out and did something; 
     those who want to mix in the negative seem to have 
     nothing to offer except complaints.
    </p>
    
    <p>An excellent contrast between those who want to 
    build new things and those who want to tear them down.
    </p>
    
  17. Example: blog quote

    
    <p><cite>Eric Meyer</cite> wrote:</p>
    <blockquote>
    <p>
     What's so interesting to me is that the guys who decided 
     to focus on the positive went out and did something; 
     those who want to mix in the negative seem to have 
     nothing to offer except complaints.
    </p>
    </blockquote>
    <p>An excellent contrast between those who want to 
    build new things and those who want to tear them down.
    </p>
    
  18. Example: blog quote

    
    <p><cite>Eric Meyer</cite> wrote:</p>
    <blockquote cite="http://meyerweb.../social-protocols/">
    <p>
     What's so interesting to me is that the guys who decided 
     to focus on the positive went out and did something; 
     those who want to mix in the negative seem to have 
     nothing to offer except complaints.
    </p>
    </blockquote>
    <p>An excellent contrast between those who want to 
    build new things and those who want to tear them down.
    </p>
    
  19. Example: blog quote

    
    <p><cite>Eric Meyer</cite> wrote:</p>
    <blockquote cite="http://meyerweb.../social-protocols/">
    <p>
     What's so interesting to me is that the guys who decided 
     to focus on the positive went out and did something; 
     those who want to mix in the negative seem to have 
     nothing to offer except complaints.
    </p>
    </blockquote>
    <p>An excellent contrast between those who want to 
    build new things and those who want to tear them down.
    </p>
    
  20. Example: blog quote with microformats

    
    <p><cite              >
    <a href="http://meyerweb.com"
                                >Eric Meyer</a>
    </cite> wrote:</p>
    <blockquote cite="http://meyerweb.../social-protocols/">
    <p>
     What's so interesting to me is that the guys who decided 
     to focus on the positive went out and did something; 
     those who want to mix in the negative seem to have 
     nothing to offer except complaints.
    </p>
    </blockquote>
    <p>An excellent contrast between those who want to 
    build new things and those who want to tear them down.
    </p>
    
  21. Example: blog quote with microformats

    
    <p><cite class="vcard">
    <a href="http://meyerweb.com" class="url fn"
                                >Eric Meyer</a>
    </cite> wrote:</p>
    <blockquote cite="http://meyerweb.../social-protocols/">
    <p>
     What's so interesting to me is that the guys who decided 
     to focus on the positive went out and did something; 
     those who want to mix in the negative seem to have 
     nothing to offer except complaints.
    </p>
    </blockquote>
    <p>An excellent contrast between those who want to 
    build new things and those who want to tear them down.
    </p>
    
  22. Example: blog quote with microformats

    
    <p><cite class="vcard">
    <a href="http://meyerweb.com" class="url fn" 
      rel="met friend colleague">Eric Meyer</a>
    </cite> wrote:</p>
    <blockquote cite="http://meyerweb.../social-protocols/">
    <p>
     What's so interesting to me is that the guys who decided 
     to focus on the positive went out and did something; 
     those who want to mix in the negative seem to have 
     nothing to offer except complaints.
    </p>
    </blockquote>
    <p>An excellent contrast between those who want to 
    build new things and those who want to tear them down.
    </p>
    
  23. Example: blog quote with microformats

    
    <p><cite class="vcard">
    <a href="http://meyerweb.com" class="url fn" 
      rel="met friend colleague">Eric Meyer</a>
    </cite> wrote:</p>
    <blockquote cite="http://meyerweb.../social-protocols/">
    <p>
     What's so interesting to me is that the guys who decided 
     to focus on the positive went out and did something; 
     those who want to mix in the negative seem to have 
     nothing to offer except complaints.
    </p>
    </blockquote>
    <p>An excellent contrast between those who want to 
    build new things and those who want to tear them down.
    </p>
    
  24. More than just "good class names"

  25. Microformats Principles

  26. Microformats Principles

  27. Microformats Principles

  28. Microformats Process

  29. BarCamp home page

  30. Example: hCalendar

    
    
    
               http://tantek.com/presentations/... 
    
                             Microformats 101
    
        7 October 2006
    
    
    
    
    
  31. Example: hCalendar

    
    <ol                  >
     <li               >
      <a href="http://tantek.com/presentations/..." 
                    >
       <span                >Microformats 101</span>
    
        7 October 2006
    
      </a>
     </li>
    </ol>
    
  32. Example: hCalendar

    
    <ol class="vcalendar">
     <li class="vevent">
      <a href="http://tantek.com/presentations/..." 
         class="url">
       <span class="summary">Microformats 101</span>
       <abbr class="dtstart" title="20061007T1345-0700">
        7 October 2006
       </abbr>
      </a>
     </li>
    </ol>
    
  33. Example: hCalendar

    
    <ol class="vcalendar">
     <li class="vevent">
      <a href="http://tantek.com/presentations/..." 
         class="url">
       <span class="summary">Microformats 101</span>
       <abbr class="dtstart" title="20061007T1345-0700">
        7 October 2006
       </abbr>
      </a>
     </li>
    </ol>
    
  34. Example: hCalendar + hCard

    
    
    
               http://siliconvalley-codecamp.com/
    
                             Silicon Valley Code Camp
    
        10/7       -
        
        10/8/2006            at 
      
                           Foothill College
                                                        
                                    12345 El Monte Blvd.
                               Los Altos Hills       ,
                             CA                     
                                  94022 
                             
    
    
    
  35. Example: hCalendar + hCard

    
    <ol                  >
     <li               >
      <a href="http://siliconvalley-codecamp.com/" 
                    >
       <span                >Silicon Valley Code Camp</span>
    
        10/7       -
        
        10/8/2006       </a> at 
      <div                       >
       <div               >Foothill College</div>
       <div            >                                                 
        <div                       >12345 El Monte Blvd.</div>
        <span                 >Los Altos Hills</span>,
        <span               >CA</span>                                        
        <span                    >94022</span></div>
      </div>
     </li>
    </ol>
    
  36. Example: hCalendar + hCard

    
    <ol class="vcalendar">
     <li class="vevent">
      <a href="http://siliconvalley-codecamp.com/" 
         class="url">
       <span class="summary">Silicon Valley Code Camp</span>
       <abbr class="dtstart" title="20061007">
        10/7</abbr> -
       <abbr class="dtend" title="20061009">    
        10/8/2006</abbr></a> at 
      <div class="location vcard">
       <div class="fn org">Foothill College</div>
       <div class="adr">                                                 
        <div class="street-address">12345 El Monte Blvd.</div>
        <span class="locality">Los Altos Hills</span>,
        <span class="region">CA</span>                                        
        <span class="postal-code">94022</span></div> 
      </div>
     </li>
    </ol>
    
  37. Example: hCalendar + hCard

    
    <ol class="vcalendar">
     <li class="vevent">
      <a href="http://siliconvalley-codecamp.com/" 
         class="url">
       <span class="summary">Silicon Valley Code Camp</span>
       <abbr class="dtstart" title="20061007">
        10/7</abbr> -
       <abbr class="dtend" title="20061009">    
        10/8/2006</abbr></a> at 
      <div class="location vcard">
       <div class="fn org">Foothill College</div>
       <div class="adr">                                                 
        <div class="street-address">12345 El Monte Blvd.</div>
        <span class="locality">Los Altos Hills</span>,
        <span class="region">CA</span>                                        
        <span class="postal-code">94022</span></div> 
      </div>
     </li>
    </ol>
    
  38. Microformats: 2004 → 2006

  39. Microformats: 2004 → 2006

  40. Recently released...

  41. Microformats Community

  42. Microformat Exercise for the Reader

  43. Colophon

  44. Thanks!

  45. Extra stuff

  46. semantic markup history