SlideShare a Scribd company logo
Meetup #1 13th April 2011
Tonight
•   Welcome
•   House Keeping
•   Meetups
•   Sponsors
•   Jobs
•   Quick Talk - Microdata
•   Drinks, Chats, Networking etc
Why Web Standards?
Meeting Format
Meeting
• Next Meetup Wednesday 11th May
  http://www.meetup.com/darwin-web-standards

• Suggest a topic
  http://www.darwinwebstandards.org/suggest

• Locations
• Helpers?
Around the Web
•   Website - http://www.darwinwebstandards.org
•   Meetup Group
    http://www.meetup.com/darwin-web-standards
•   Subscribe
    http://www.darwinwebstandards.org/subscribe
•   Follow us on Twitter @dwebstandards
•   Join Facebook Group (Darwin Web Standards)
•   Linked In Group (Darwin Web Standards)
Sponsors
Jobs
MICRODATA
Overview
• HTML5
• Semantic Web
• What is Microdata?
• Real World Examples
• When can we use it
HTML5
WHERE DID HTML5
 COME FROM?

• WHAT-WG - Web Applications 1.0
• W3C - HTML 5
WHAT IS HTML5?
• SVG Graphics       • Drop Shadows
• iPhone friendly    • Rounded Corners
• iPad friendly      • Semantic Markup
• IE6 Incompatible   • AJAX
• Transitions        • Web 3.0
• Typography
WHAT IS HTML5?
•          •
•          •
•          • Semantic Markup
•          •
•          •
•
WHAT IS HTML5?
•          •
•          •
•          • Semantic Markup
•          • plus a little more...
•          •
•
WHAT IS HTML5?
If anyone asks.....

“HTML5 is a positive
thing that is making
the Web a better
place.”
WHY SEMANTICS?
HTML5 SEMANTIC
         TAGS
•   <audio>

•   <video>

•   <header>

•   <section>

•   <article>

•   <nav>

•   <footer>

•   more (http://www.w3schools.com/html5/html5_reference.asp)
HTML5 SEMANTIC
      <body>
              TAGS                        <h1>Title</h1>
    <header>                            </header>
      <hgroup>                          <section>
        <h1>Page title</h1>               Content...
        <h2>Page subtitle</h2>          </section>
      </hgroup>                       </article>
    </header>                        </section>

    <nav>                          <aside>
     <ul>                           Top links...
       Navigation...               </aside>
     </ul>
    </nav>                           <figure>
    <section>                          <img src="..."/>
     <article>                         <figcaption>Chart 1.1</figcaption>
       <header>                      </figure>
         <h1>Title</h1>
       </header>                   <footer>
       <section>                    Copyright ©
         Content...                 <time datetime="2010-11-08">2010</time>.
       </section>                  </footer>
     </article>                  </body>
     <article>
       <header>
HTML5 SEMANTIC
     TAGS
Why the semantic web?

•   Web of data
•   Billions of pages
•   Machine Readable
•   How things are related
•   Allows us to easily find and combine data
What is Micro.....

• Microformats
• RDFa
• Microdata
Microformats

• hCard
• hCalendar
• hReview
• XFN (http://gmpg.org/xfn/creator)
XFN example

•   <a href="http://surfthedream.com.au" rel="me">Justin Avery</a>

•   <a href="http://www.laulovesyoga.com" rel="contact met co-
    resident spouse crush date sweetheart">Laura Anderson</a>

•   <a href="http://www.darwinwebstandards.org"
    rel="nofollow">Darwin Web Standards</a>
RDFa
     <?xml version="1.0" encoding="UTF-8"?>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN"
    "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:foaf="http://xmlns.com/foaf/0.1/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    version="XHTML+RDFa 1.0" xml:lang="en">
  <head>
    <title>John's Home Page</title>
    <base href="http://example.org/john-d/" />
    <meta property="dc:creator" content="Jonathan Doe" />
    <link rel="foaf:primaryTopic" href="http://example.org/john-d/#me" />
  </head>
  <body about="http://example.org/john-d/#me">
    <h1>John's Home Page</h1>
    <p>My name is <span property="foaf:nick">John D</span> and I like
      <a href="http://www.neubauten.org/" rel="foaf:interest"
         xml:lang="de">Einstürzende Neubauten</a>.
    </p>
    <p>
      My <span rel="foaf:interest" resource="urn:ISBN:0752820907">favorite
      book is the inspiring <span about="urn:ISBN:0752820907"><cite
      property="dc:title">Weaving the Web</cite> by
      <span property="dc:creator">Tim Berners-Lee</span></span>
     </span>
    </p>
  </body>
</html>
Microdata
•   itemscope — defines a group of name-value pair(s), called an item

•   itemprop="property-name" — adds a property to a microdata item. The name of the property
    can be a word or URL, and the value is the ‘content’ of the element with this attribute:

•   For most elements, the value is the element’s text content (not including any HTML tags)

•   For elements with a URL attribute, the value is the URL (<img src="">, <a href="">, <object data="">,
    etc.)

•   For the <time> element, the value is the datetime="" attribute

•   For <meta itemprop="" content="">, the value is the content="" attribute

•   itemref="" — allows a microdata item to include non-descendent properties by referring to the ids
    of element(s) containing them

•   itemtype="" — defines the item’s type when used on the same element as itemscope. The itemtype
    value is a URL that acts as an identifying vocabulary name.

•   itemid="" — allows a microdata item to be associated with a unique identifier, for example an ISBN
    number on a book. Use itemid on the same element as the item’s itemscope and itemtype attributes.
Microdata
•   Person

•   Events

•   Locations

•   Product

•   Organization

•   Review (Review-aggregate)

•   Breadcrumb

•   Offer (Offer-aggregate)

    http://www.data-vocabulary.org
Real World Examples
So, why use it?
“Semantic markup and structured data is
the future. Incorporating Microdata as
part of your web site and content
management strategy now will give you
a head start and increase the relevance of
your data in the increasingly social and
structured Internet of tomorrow.”
Links
•   http://diveintohtml5.org/extensibility.html

•   http://slides.html5rocks.com/

•   http://html5doctor.com/microdata/

•   http://www.data-vocabulary.org


•   @justinavery
    http://surfthedream.com.au
Questions?
Your turn!

More Related Content

PDF
Next Steps in Responsive Design
PPT
Responsive Web Design
PPTX
PDF
CSS3 Media Queries
PPTX
Presentation about html5 css3
PDF
Intro to CSS3
PDF
CSS3 Media Queries
Next Steps in Responsive Design
Responsive Web Design
CSS3 Media Queries
Presentation about html5 css3
Intro to CSS3
CSS3 Media Queries

What's hot (20)

PDF
Whirlwind Tour of SVG (plus RaphaelJS)
PDF
Fundamental CSS3
PPTX
About Best friends - HTML, CSS and JS
PPT
Responsive content
KEY
Slow kinda sucks
PDF
Modular HTML, CSS, & JS Workshop
PDF
Advanced CSS Troubleshooting
PPTX
Responsive UI using CSS Media Query
PDF
Three quick accessibility tips for HTML5
PDF
PDF
Advanced CSS Troubleshooting & Efficiency
PDF
Meta layout: a closer look at media queries
PDF
Adobe MAX 2008: HTML/CSS + Fireworks
PDF
Intro to HTML 5 / CSS 3
PDF
Responsive Design Tools & Resources
PDF
HTML5 & CSS3 Flag
PPTX
Meta tag creation
PPT
Css best practices style guide and tips
PDF
Introduction to CSS3
PDF
CSS3: Are you experienced?
Whirlwind Tour of SVG (plus RaphaelJS)
Fundamental CSS3
About Best friends - HTML, CSS and JS
Responsive content
Slow kinda sucks
Modular HTML, CSS, & JS Workshop
Advanced CSS Troubleshooting
Responsive UI using CSS Media Query
Three quick accessibility tips for HTML5
Advanced CSS Troubleshooting & Efficiency
Meta layout: a closer look at media queries
Adobe MAX 2008: HTML/CSS + Fireworks
Intro to HTML 5 / CSS 3
Responsive Design Tools & Resources
HTML5 & CSS3 Flag
Meta tag creation
Css best practices style guide and tips
Introduction to CSS3
CSS3: Are you experienced?
Ad

Similar to Darwin web standards (20)

PDF
HTML5, just another presentation :)
KEY
Html5 Brown Bag
PPTX
HTML 5 Fundamental
PDF
Frontend for developers
KEY
2022 HTML5: The future is now
KEY
Fronttechnieken met HTML5 en de Slice-template
KEY
ZIP
Html5 public
PDF
TOSSUG HTML5 讀書會 新標籤與表單
PDF
Seo Cheat Sheet
PDF
Seo cheat-sheet
PPTX
Introduction to HTML5
PDF
An Introduction To HTML5
PPTX
Apex & jQuery Mobile
PPTX
Curtin University Frontend Web Development
PDF
[Access U 2010] HTML5 & Accessibility
PDF
Seo cheat sheet
PDF
Seo cheat-sheet
PDF
Seo cheat sheet
PDF
Moz SEO Web cheat sheet 2016
HTML5, just another presentation :)
Html5 Brown Bag
HTML 5 Fundamental
Frontend for developers
2022 HTML5: The future is now
Fronttechnieken met HTML5 en de Slice-template
Html5 public
TOSSUG HTML5 讀書會 新標籤與表單
Seo Cheat Sheet
Seo cheat-sheet
Introduction to HTML5
An Introduction To HTML5
Apex & jQuery Mobile
Curtin University Frontend Web Development
[Access U 2010] HTML5 & Accessibility
Seo cheat sheet
Seo cheat-sheet
Seo cheat sheet
Moz SEO Web cheat sheet 2016
Ad

Darwin web standards

  • 1. Meetup #1 13th April 2011
  • 2. Tonight • Welcome • House Keeping • Meetups • Sponsors • Jobs • Quick Talk - Microdata • Drinks, Chats, Networking etc
  • 5. Meeting • Next Meetup Wednesday 11th May http://www.meetup.com/darwin-web-standards • Suggest a topic http://www.darwinwebstandards.org/suggest • Locations • Helpers?
  • 6. Around the Web • Website - http://www.darwinwebstandards.org • Meetup Group http://www.meetup.com/darwin-web-standards • Subscribe http://www.darwinwebstandards.org/subscribe • Follow us on Twitter @dwebstandards • Join Facebook Group (Darwin Web Standards) • Linked In Group (Darwin Web Standards)
  • 10. Overview • HTML5 • Semantic Web • What is Microdata? • Real World Examples • When can we use it
  • 11. HTML5
  • 12. WHERE DID HTML5 COME FROM? • WHAT-WG - Web Applications 1.0 • W3C - HTML 5
  • 13. WHAT IS HTML5? • SVG Graphics • Drop Shadows • iPhone friendly • Rounded Corners • iPad friendly • Semantic Markup • IE6 Incompatible • AJAX • Transitions • Web 3.0 • Typography
  • 14. WHAT IS HTML5? • • • • • • Semantic Markup • • • • •
  • 15. WHAT IS HTML5? • • • • • • Semantic Markup • • plus a little more... • • •
  • 16. WHAT IS HTML5? If anyone asks..... “HTML5 is a positive thing that is making the Web a better place.”
  • 18. HTML5 SEMANTIC TAGS • <audio> • <video> • <header> • <section> • <article> • <nav> • <footer> • more (http://www.w3schools.com/html5/html5_reference.asp)
  • 19. HTML5 SEMANTIC <body> TAGS        <h1>Title</h1>   <header>      </header>     <hgroup>      <section>       <h1>Page title</h1>        Content...       <h2>Page subtitle</h2>      </section>     </hgroup>    </article>   </header>   </section>   <nav>   <aside>    <ul>    Top links...      Navigation...   </aside>    </ul>   </nav>   <figure>   <section>     <img src="..."/>    <article>     <figcaption>Chart 1.1</figcaption>      <header>   </figure>        <h1>Title</h1>      </header>   <footer>      <section>    Copyright ©        Content...    <time datetime="2010-11-08">2010</time>.      </section>   </footer>    </article> </body>    <article>      <header>
  • 21. Why the semantic web? • Web of data • Billions of pages • Machine Readable • How things are related • Allows us to easily find and combine data
  • 22. What is Micro..... • Microformats • RDFa • Microdata
  • 23. Microformats • hCard • hCalendar • hReview • XFN (http://gmpg.org/xfn/creator)
  • 24. XFN example • <a href="http://surfthedream.com.au" rel="me">Justin Avery</a> • <a href="http://www.laulovesyoga.com" rel="contact met co- resident spouse crush date sweetheart">Laura Anderson</a> • <a href="http://www.darwinwebstandards.org" rel="nofollow">Darwin Web Standards</a>
  • 25. RDFa <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="XHTML+RDFa 1.0" xml:lang="en"> <head> <title>John's Home Page</title> <base href="http://example.org/john-d/" /> <meta property="dc:creator" content="Jonathan Doe" /> <link rel="foaf:primaryTopic" href="http://example.org/john-d/#me" /> </head> <body about="http://example.org/john-d/#me"> <h1>John's Home Page</h1> <p>My name is <span property="foaf:nick">John D</span> and I like <a href="http://www.neubauten.org/" rel="foaf:interest" xml:lang="de">Einstürzende Neubauten</a>. </p> <p> My <span rel="foaf:interest" resource="urn:ISBN:0752820907">favorite book is the inspiring <span about="urn:ISBN:0752820907"><cite property="dc:title">Weaving the Web</cite> by <span property="dc:creator">Tim Berners-Lee</span></span> </span> </p> </body> </html>
  • 26. Microdata • itemscope — defines a group of name-value pair(s), called an item • itemprop="property-name" — adds a property to a microdata item. The name of the property can be a word or URL, and the value is the ‘content’ of the element with this attribute: • For most elements, the value is the element’s text content (not including any HTML tags) • For elements with a URL attribute, the value is the URL (<img src="">, <a href="">, <object data="">, etc.) • For the <time> element, the value is the datetime="" attribute • For <meta itemprop="" content="">, the value is the content="" attribute • itemref="" — allows a microdata item to include non-descendent properties by referring to the ids of element(s) containing them • itemtype="" — defines the item’s type when used on the same element as itemscope. The itemtype value is a URL that acts as an identifying vocabulary name. • itemid="" — allows a microdata item to be associated with a unique identifier, for example an ISBN number on a book. Use itemid on the same element as the item’s itemscope and itemtype attributes.
  • 27. Microdata • Person • Events • Locations • Product • Organization • Review (Review-aggregate) • Breadcrumb • Offer (Offer-aggregate) http://www.data-vocabulary.org
  • 29. So, why use it? “Semantic markup and structured data is the future. Incorporating Microdata as part of your web site and content management strategy now will give you a head start and increase the relevance of your data in the increasingly social and structured Internet of tomorrow.”
  • 30. Links • http://diveintohtml5.org/extensibility.html • http://slides.html5rocks.com/ • http://html5doctor.com/microdata/ • http://www.data-vocabulary.org • @justinavery http://surfthedream.com.au