7

A news post would be like

<article itemscope itemtype="http://schema.org/NewsArticle">       

  <h1 itemprop="headline">Awesome News</h1>    

  <div itemprop="articleBody">
     bla bla bla...
  </div>

</article>

What if I would like to include related news and markup them?

<ul>
  <li><a href="related_news_1.html">Related News 1</a></li>
  <li><a href="related_news_2.html">Related News 2</a></li>
  <li><a href="related_news_3.html">Related News 3</a></li>
</ul>
amachino
  • 71
  • 1
  • 2

1 Answers1

5

Try using element from WebPage itemtype (from: http://schema.org/WebPage, I know that You are using NewsArticle in this case, but I used Article for this example):

<div itemscope itemtype="http://schema.org/Article">
    <span itemprop="name">How to Tie a Reef Knot</span>
    by <span itemprop="author">John Doe</span>
    This article has been tweeted 1203 times and contains 78 user comments.
    <meta itemprop="interactionCount" content="UserTweets:1203" />
    <meta itemprop="interactionCount" content="UserComments:78" />
</div>


<ul itemscope itemtype="http://schema.org/WebPage">
    <li itemprop="relatedLink"><a href="related_news_1.html">Related News 1</a></li>
    <li itemprop="relatedLink"><a href="related_news_2.html">Related News 2</a></li>
    <li itemprop="relatedLink"><a href="related_news_3.html">Related News 3</a></li>
</ul>

Google Webmaster Tools sees it like this:

enter image description here

Alternatively You can do it like this:

<ul itemscope itemtype="http://schema.org/WebPage">
    <li><a href="related_news_1.html" itemprop="relatedLink">Related News 1</a></li>
    <li><a href="related_news_2.html" itemprop="relatedLink">Related News 2</a></li>
    <li><a href="related_news_3.html" itemprop="relatedLink">Related News 3</a></li>
</ul>

And Google sees it like this then:

enter image description here

Archios
  • 190
  • 7
  • 2
    Wouldn’t your first example (`itemprop="relatedLink"` on `li` instead of `a`) be wrong as [`relatedLink` has the expected type `URL`](http://schema.org/WebPage)? – unor Jul 12 '13 at 12:06
  • 1
    Thats why I've attached two examples. Google treats it well in both cases so I thought it was right (also I use both of above methods and never had problems with indexation, but maybe You're right :)) – Archios Jul 14 '13 at 20:08