0

I was trying to see if the microdata was configured well on my website, using the google structured data testing tool and it gives some errors. In this question, I'm asking about the first: Missing required field "entry-title".

enter image description here I already enclosed the title of the post in entry-title class but it is not working. It is the code of my page that regards the error:

 <header itemscope itemtype="http://schema.org/Article">
    <figure>
       <img width="674" height="250" src="http://www.primapaginaonline.it/wp-content/uploads/2014/07/tagliodiverso-674x250.jpeg?3ef148" class="attachment-topimage wp-post-image" alt="tagliodiverso" itemprop="thumbnailUrl" /></figure>
    </figure>
<div itemprop="articleSection" class="single-page-category">Cultura</div>
<h1 itemprop="headline" class="entry-title single-entry-title"> Tagliodiverso, gli appuntamenti della Pietraia dei Poeti</h1>   
<div itemprop="description" class="meta-description">Con Tagliodiverso il museo a cielo aperto Pietraia dei Poeti stila un cartellone di incontri culturali incentrati sulla disabilità e l'accessibilità.</div>
    <div class="single-post-meta"></div>
</header>
unor
  • 92,415
  • 26
  • 211
  • 360
fas
  • 103
  • 2
  • 3
  • 13
  • Note that your code doesn’t include Microdata. I guess you use **Microformats**, but your code snippet doesn’t show which Microformat (the top-level class is missing). – unor Jul 07 '14 at 10:03
  • Well, I don't know but it hadn't pasted the class in the header tag, I edited now – fas Jul 07 '14 at 10:06
  • But there aren’t any Microdata properties (`itemprop`) now? You only create an `Article` item but don’t give any properties (like title, URL, image etc.) for this article. – unor Jul 07 '14 at 10:09
  • Ok, it wasn't pasting the itemprop element, now there is all, thanks – fas Jul 07 '14 at 10:43
  • Alright. But I don’t get any error in Google’s testing tool for this code. – unor Jul 07 '14 at 12:49
  • Added the screenshot with the error in the first post – fas Jul 07 '14 at 14:31
  • I guess you are testing the full page (via URL), but testing your code included in the question doesn’t yield any errors/warnings. – unor Jul 07 '14 at 15:43
  • Yes, I'm testing the entire page and gives that error. Looking at the tutorials online, it seems that can be resolved giving the entry-title class to the title of the article, but in my case it's not working. That's why I posted the code of that part – fas Jul 07 '14 at 16:18

1 Answers1

1

Solved, I must enclose all the article in a <div class="hentry"> tag and all works!

fas
  • 103
  • 2
  • 3
  • 13