Registrarme Entrar
Email
Contraseña
Nombre
Email

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/treeweb/www_ovillo/class/Database.class.php on line 20
06
Sep
2011
por Gerardo
0 respuestas

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/treeweb/www_ovillo/class/Textile.class.php on line 1526

Hola,

Acabo de leer un artículo en Genbetadev sobre los microformatos de html, parece ser que Bing, Google y Yahoo se han organizado para fusionar las alternativas (microdatos, microformatos y RDF) en http://schema.org

Hay una gran cantidad de estructuras de datos definidas: “http://schema.org/docs/full.html”:http://schema.org/docs/full.html

Por ejemplo el siguiente código tiene microformatos:

<body itemscope itemtype="http://schema.org/WebPage">
...
<div itemprop="breadcrumb">
 
<a href="category/books.html">Books</a> >
 
<a href="category/books-literature.html">Literature & Fiction</a> >
 
<a href="category/books-classics">Classics</a>
</div>

<div itemscope itemtype="http://schema.org/Book">

<img itemprop="image" src="catcher-in-the-rye-book-cover.jpg" />
<span itemprop="name">The Catcher in the Rye</span> -
<link itemprop="bookFormat" href="http://schema.org/Paperback">Mass Market Paperback
by
<a itemprop="author" href="/author/jd_salinger.html">J.D. Salinger</a>

<div itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
 
<span itemprop="ratingValue">4</span> stars -
 
<span itemprop="reviewCount">3077</span> reviews
</div>

<div itemprop="offers" itemscope itemtype="http://schema.org/Offer">
  Price:
<span itemprop="price">$6.99</span>
 
<meta itemprop="priceCurrency" content="USD" />
 
<link itemprop="availability" href="http://schema.org/InStock">In Stock
</div>

Product details
<span itemprop="numPages">224</span> pages
Publisher:
<span itemprop="publisher">Little, Brown, and Company</span> -
<meta itemprop="datePublished" content="1991-05-01">May 1, 1991
Language:
<span itemprop="inLanguage">English</span>
ISBN-10:
<span itemprop="isbn">0316769487</span>

Reviews:

<div itemprop="reviews" itemscope itemtype="http://schema.org/Review">
 
<span itemprop="reviewRating">5</span> stars -
 
<b>"<span itemprop="name">A masterpiece of literature</span>" </b>
  by
<span itemprop="author">John Doe</span>,
  Written on
<meta itemprop="datePublished" content="2006-05-04">May 4, 2006
 
<span itemprop="reviewBody">I really enjoyed this book. It captures the essential
  challenge people face as they try make sense of their lives and grow to adulthood.
</span>
</div>

<div itemprop="reviews" itemscope itemtype="http://schema.org/Review">
 
<span itemprop="reviewRating">4</span> stars -
 
<b>"<span itemprop="name">A good read.</span>" </b>
  by
<span itemprop="author">Bob Smith</span>,
  Written on
<meta itemprop="datePublished" content="2006-06-15">June 15, 2006
 
<span itemprop="reviewBody">Catcher in the Rye is a fun book. It's a good book to read.</span>
</div>

</div>
...
</body>