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)
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.
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.”