Dev2Dev - Microformats

18
Format it! Usage of microformats and schema.org Dmitry Ivashutin at :iTechArt, Feb 2014

description

Dev2Dev presentation on Micro-formats and Schema.org

Transcript of Dev2Dev - Microformats

Page 1: Dev2Dev - Microformats

Format it!

Usage of microformats and schema.org

Dmitry Ivashutin at :iTechArt, Feb 2014

Page 2: Dev2Dev - Microformats

Microformats are:

A way of thinking about data

Design principles for formats

Adapted to current behaviors and usage patterns

Highly correlated with semantic XHTML

A set of simple open data format standards

Page 3: Dev2Dev - Microformats

Microformats are not:

A new language

Infinitely extensible and open-ended

An attempt to get everyone to change their behavior and rewrite their tools

A whole new approach that throws away what already works today

Page 4: Dev2Dev - Microformats
Page 5: Dev2Dev - Microformats

So what are

microformats?

Page 6: Dev2Dev - Microformats

Common address markup

<div><div>Dmitry Ivashutin</div><div>iTechArt Group</div><div>+1 732 917 06 32</div><a href="http://www.itechart.com/">

www.itechart.com</a>

</div>

Page 7: Dev2Dev - Microformats

Adding styles

<div class="personal-info"><div class="full-name">Dmitry Ivashutin</div><div class="company-name">iTechArt Group</div><div class="phone-primary">+1 732 917 06 32</div><a href="http://www.itechart.com/">

www.itechart.com</a>

</div>

Page 8: Dev2Dev - Microformats

Are you an

inventor?

Page 9: Dev2Dev - Microformats

Don’t invent the wheel<div class="vcard">

<div class="fn">Dmitry Ivashutin</div><div class="org">iTechArt Group</div><div class="tel">

<span class="type">Work</span> <span class="value">+1 732 917 06 32</span>

</div><a class="url" href="http://www.itechart.com/">

www.itechart.com</a>

</div>Microformats hCard Creator

Page 10: Dev2Dev - Microformats

They are already here

hCardgeo

adr

hAtom

XFN

hCalendar

hReview

hProduct

Page 11: Dev2Dev - Microformats

What about

schema.org?

Page 12: Dev2Dev - Microformats

“Schema” style markup<div itemscope itemtype="http://schema.org/Person">

<div itemprop="name"> Dmitry Ivashutin

</div><div itemscope itemtype="http://schema.org/Organization"> <a itemprop="url" href="http://www.itechart.com/"> <div itemprop="name"> iTechArt Group </div> </a> <div itemprop="telephone">+1 732 917 06 32</div></div>

</div> Google Structured Data Testing Tool

Page 13: Dev2Dev - Microformats

Make the world search better

Page 14: Dev2Dev - Microformats

Prehistory of schema

Page 15: Dev2Dev - Microformats

Schema agreement

Page 16: Dev2Dev - Microformats

Pros and Cons

Page 17: Dev2Dev - Microformats

Pros and Cons

“+”❖ “semantic-ness”

➢ for services➢ for extensions➢ for SEO

❖ Open Web

“–”❖ additional markup❖ extra support❖ extra attention to data❖ no uniform support in

browsers

“+”❖ generalized format❖ rich formats❖ SEO oriented❖ strict and structured❖ HTML5

“–”❖ Big Three Agreement and

Closed Web❖ agreement, not standard❖ HTML5❖ all other cons from

microformats

Microformats schema.org