Assuming I have a marked-up blog post using Microdata, is this the correct way to include the nested publisher
person? I don't want to display the publisher name, but it's required by Google Structured Data Testing Tool. I'm happy with the markup for the nested author
person, but using div
, a layout tag, simply for nesting an invisible meta tag seems wrong.
<article itemscope itemtype="http://schema.org/BlogPosting">
<h1 itemprop="headline">Post heading goes here</h1>
<meta itemprop="keywords" content="alpha, beta, gamma" />
<div itemprop="publisher" itemscope itemtype="http://schema.org/Person" itemid="philbalchin">
<meta itemprop="name" content="Phil Balchin" />
</div>
<p itemprop="author" itemscope itemtype="http://schema.org/Person" itemid="philbalchin">
<span itemprop="name">Phil Balchin</span>
</p>
</article>
Is it possible to chain itemprop
names, i.e., itemprop="publisher.name"
, or something similar to avoid unnecessary tags?