microformats—the hidden treasure

45
Microformats the hidden treasure

Upload: dmitry-baranovskiy

Post on 10-May-2015

1.959 views

Category:

Technology


2 download

DESCRIPTION

WebDU 2007

TRANSCRIPT

Page 1: Microformats—the hidden treasure

Microformatsthe hidden treasure

Page 2: Microformats—the hidden treasure

What do we usethe web for?

Page 3: Microformats—the hidden treasure

i

Page 4: Microformats—the hidden treasure

feed ➙ RSS

Page 5: Microformats—the hidden treasure

feed ➙ RSS

events ➙ iCalendar

Page 6: Microformats—the hidden treasure

feed ➙ RSS

events ➙ iCalendar

person ➙ vCard

Page 7: Microformats—the hidden treasure

HTML

Page 8: Microformats—the hidden treasure

HTML

vCard iCalendar RSS

Page 9: Microformats—the hidden treasure

HTML

Print version vCard iCalendar RSS

Page 10: Microformats—the hidden treasure

HTML

Print version vCard iCalendar RSS You name

it

Page 11: Microformats—the hidden treasure

HTML

Print version vCard iCalendar RSS You name

it

CSS

Page 12: Microformats—the hidden treasure

CSS

HTML

Print version vCard iCalendar RSS You name

it

Microformats

Page 13: Microformats—the hidden treasure

CSS

HTML

Print version vCard iCalendar RSS You name

it

Microformats ?

Page 14: Microformats—the hidden treasure

Demo

Page 15: Microformats—the hidden treasure

rel

Page 16: Microformats—the hidden treasure

class

Page 17: Microformats—the hidden treasure

class

as a stylesheet selector

for general purpose processing by user

agents

Page 18: Microformats—the hidden treasure

<span class="phone">95123456</span>

Page 19: Microformats—the hidden treasure

<span class="phone">95123456</span> <span class="tel">95123456</span>

Page 20: Microformats—the hidden treasure

<span class="phone">95123456</span> <span class="tel">95123456</span> <span class="mobile">95123456</span>

Page 21: Microformats—the hidden treasure

<span class="phone">95123456</span> <span class="tel">95123456</span> <span class="mobile">95123456</span><span class="telephone">95123456</span>

Page 22: Microformats—the hidden treasure

<span class="phone">95123456</span> <span class="tel">95123456</span> <span class="mobile">95123456</span><span class="telephone">95123456</span> <span class="ph">95123456</span>

Page 23: Microformats—the hidden treasure

agreements

Page 24: Microformats—the hidden treasure

standards

Page 25: Microformats—the hidden treasure

formats

Page 26: Microformats—the hidden treasure

microformats

Page 27: Microformats—the hidden treasure

XHTML Friends Network• contact• acquaintance• friend• met• co-worker• colleague• co-resident• neighbor

• child• parent• spouse• kin• muse• crush• date• sweetheart

• me

Page 28: Microformats—the hidden treasure

<a href="http://maxdesign.com.au/"> Russ</a>

<a href="http://dmitry.baranovskiy.com/"> Dmitry</a>

XHTML Friends Network

Page 29: Microformats—the hidden treasure

<a href="http://maxdesign.com.au/" rel="friend met contact colleague"> Russ</a>

<a href="http://dmitry.baranovskiy.com/" rel="acquaintance met contact colleague"> Dmitry</a>

XHTML Friends Network↩

Page 30: Microformats—the hidden treasure

hCard<div> <h3> Cameron Adams </h3> <div>Web Technologist</div> <dl> <dt>Web Page:</dt> <dd> <a href="http://themaninblue.com">The Man in Blue</a> </dd> </dl></div>

Page 31: Microformats—the hidden treasure

hCard<div class="vcard"> <h3> Cameron Adams </h3> <div>Web Technologist</div> <dl> <dt>Web Page:</dt> <dd> <a href="http://themaninblue.com">The Man in Blue</a> </dd> </dl></div>

Page 32: Microformats—the hidden treasure

hCard<div class="vcard"> <h3 class="fn"> Cameron Adams </h3> <div>Web Technologist</div> <dl> <dt>Web Page:</dt> <dd> <a href="http://themaninblue.com">The Man in Blue</a> </dd> </dl></div>

Page 33: Microformats—the hidden treasure

hCard<div class="vcard"> <h3 class="fn n"> <span class="given-name">Cameron</span> <span class="family-name">Adams</span> </h3> <div>Web Technologist</div> <dl> <dt>Web Page:</dt> <dd> <a href="http://themaninblue.com">The Man in Blue</a> </dd> </dl></div>

Page 34: Microformats—the hidden treasure

hCard<div class="vcard"> <h3 class="fn n"> <span class="given-name">Cameron</span> <span class="family-name">Adams</span> </h3> <div class="title">Web Technologist</div> <dl> <dt>Web Page:</dt> <dd> <a href="http://themaninblue.com">The Man in Blue</a> </dd> </dl></div>

Page 35: Microformats—the hidden treasure

hCard<div class="vcard"> <h3 class="fn n"> <span class="given-name">Cameron</span> <span class="family-name">Adams</span> </h3> <div class="title">Web Technologist</div> <dl> <dt>Web Page:</dt> <dd><a class="url nickname" href="http://themaninblue.com">The Man in Blue</a></dd> </dl></div>

Page 36: Microformats—the hidden treasure

hCard<div class="vcard"> <h3 class="fn n"> <span class="given-name">Cameron</span> <span class="family-name">Adams</span> </h3> <div class="title">Web Technologist</div> <dl> <dt>Web Page:</dt> <dd><a class="url nickname" rel="met friend colleague" href="http://themaninblue.com">The Man in Blue</a></dd> </dl></div>

↩↩

Page 37: Microformats—the hidden treasure

hCalendar<div> <h3> webDU—the web technology conference </h3> <p> webDU 2007 will be held 22–23 March at The Hilton Conference Centre in Sydney. </p></div>

Page 38: Microformats—the hidden treasure

hCalendar<div class="vevent"> <h3 class="summary"> webDU—the web technology conference </h3> <p> webDU 2007 will be held 22–23 March at <span class="location">The Hilton Conference Centre in Sydney</span>. </p></div>

Page 39: Microformats—the hidden treasure

hCalendar<div class="vevent"> <h3 class="summary"> webDU—the web technology conference </h3> <p> webDU 2007 will be held <abbr class="dtstart" title="2007-03-22">22</abbr>–<abbr class="dtend" title="2007-03-23">23 March</abbr> at <span class="location">The Hilton Conference Centre in Sydney</span>. </p></div>

↩↩

Page 40: Microformats—the hidden treasure

ISO 8601

2007-03-22T15:00:00+11:00

22 March 2007 3:00 PM

Page 41: Microformats—the hidden treasure

ISO 8601

2007-03-22T15:00:00+11:00

22 March 2007 3:00 PM

optional

20070322T150000+1100

Page 42: Microformats—the hidden treasure

Patterns

<abbr class="foo" title="ISO 8601"> Human Date Time</abbr>

ABBR Pattern

<object class="include" type="text/html" data="#idref"></object>

<a class="include" href="#idref">…</a>

Include Pattern

Page 43: Microformats—the hidden treasure

What is next?hAtom

hReviewxFolk

hResumeAddress

GeolocationRel-Tag

Rel-License

Title: Microformats—Empowering Your Markup for Web 2.0Author: John AllsoppPublisher: Friends of EdLanguage: EnglishISBN: 1590598148Published: March 26 2007

Title: Using Microformats

Author: Brian SudaPublisher: O’Reilly PublishingLanguage: EnglishISBN: 0596528213Published: September 18 2006

Page 44: Microformats—the hidden treasure

B

Linked in eventful

Pingerati

Page 45: Microformats—the hidden treasure

Thank you

[email protected]://microformats.org