microformats and seo

30
Glenn Jones Fresh Egg – Worthing 28 Oct 2011 Microformats and SEO

Upload: glenn-jones

Post on 17-May-2015

4.419 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Microformats and SEO

Glenn JonesFresh Egg – Worthing28 Oct 2011

Microformatsand SEO

Page 2: Microformats and SEO
Page 3: Microformats and SEO

Microformats

<p class="vcard"><a class="fn url"

href="http://glennjones.net/">Glenn Jones</a>

</p>

A method of marking up data with the pre-existing attributes of HTML. Uses fixed schemes developed by an online community

Page 4: Microformats and SEO

RDFa

<p xmlns:v="http://rdf.data-

vocabulary.org/#" typeof="v:Person">

<a href="http://glennjones.net/" rel="v:url" property="v:name">Glenn Jones</a></p>

A method of marking up data with custom attributes and namespaces.

Page 5: Microformats and SEO

Microdata (HTML5)

<p itemscope

itemtype="http://data-vocabulary.org/Person">

<a href="http://glennjones.net/"itemprop="url name">Glenn Jones</a>

</p>

A method of marking up data with the HTML5 attributes.

Page 6: Microformats and SEO

Microformats vs

Microdata/RDFa

Page 7: Microformats and SEO

http://www.google.com/landing/recipes/

Page 8: Microformats and SEO

Let’s mark-up a Yorkshire Pudding recipe page

Page 9: Microformats and SEO

http://codebits.glennjones.net/semantic/hrecipe.html

Page 10: Microformats and SEO

hRecipe - http://microformats.org/wiki/hrecipe

Page 11: Microformats and SEO

Recipe http://www.google.com/support/webmasters/bin

/answer.py?hl=en&answer=173379

Page 12: Microformats and SEO

Add the top level class around the HTML containing your data

<section class="hrecipe">

</section>

Page 13: Microformats and SEO

Add class names to the elementswithin your HTML

<section class="hrecipe"><h1 class="fn">Yorkshire

Puddings</h1>…

</section>

Page 14: Microformats and SEO

One property can live inside another

<p class="summary">Makes <span class="yield">6 good size

Yorkshire pudding</span>, the way my mum taught me

</p>

Page 15: Microformats and SEO

A property can have child properties

<li class="ingredient"> <span class="amount">75g</span> <span class="name">plain flour</span></li>

Page 16: Microformats and SEO

A property can take datafrom the text of an element or

another attribute

<img class="photo" src="yorkshire-

puddings.jpg" />

Page 17: Microformats and SEO

ISO DateTime

<p class="published">Published on <span class="value-title"

title="2011-10-27">27 Oct 2011</span></p>

<date>T<time>Z<timezone>2011-10-27T20:41Z-1:00

Page 18: Microformats and SEO

ISO Duration

<li class="prepTime">Preparation <span class="value-title" title="PT0H10M">10mins</span</li>

P<date>T<time>PT0H10M is a duration of 10 minutes

Page 19: Microformats and SEO

http://www.google.com/webmasters/tools/richsnippets

Page 20: Microformats and SEO

Compound microformats

AuthorhCard

Reviewhreview-aggregate

hRecipe

Page 21: Microformats and SEO

hReview-aggregate

<p class="review hreview-aggregate"> <span class="rating"> <span class="average">4.0</span> stars based on <span class="count">35</span>reviews

</span> </p>

Page 22: Microformats and SEO

Using a star image

<span class="average "><img

class="value-title" title="4.5"

src="images/4-5stars.png" /></span>

Page 23: Microformats and SEO

Author hCard

<p class="hcard author published">

Published on <span class="value-title" title="2011-10-27">27 Oct 2011</span> by

<a class="fn url" href="http://glennjones.net">Glenn Jones

</a></p>

Page 24: Microformats and SEO

http://www.google.com/support/webmasters/bin/answer.py?answer=1229920

Page 25: Microformats and SEO
Page 26: Microformats and SEO

rel=me and rel=author

<a rel="me"

href="http://glennjones.net">Glenn Jones </a>

Page 27: Microformats and SEO

Interlinking sites

Recipe site

RecipeAuthorProfile

GoogleProfile

rel=author rel=me

Page 28: Microformats and SEO

Thank youand questions?

Page 29: Microformats and SEO

Creative Commons Attribution-Non-Commercial 2.0 UK: England & Wales Licence.

Copyright Glenn Jones 2011www.glennjones.net

Page 30: Microformats and SEO

http://www.flickr.com/photos/dithie/4106528495/

Thanks to the following for their photos