So, I have the code below that works great when entering the Google Rich Snippet Testing Tool . The problem is that I don't need the Venue Name associated with any url. However, when I take out the a tag and simplify this line only to <span itemprop="name">Venue Name</span> , the test tool tells me that the page does not contain extended snippet markup. In addition, it issues a warning similar to this:
Warning: Event urls are pointing to a different domain than the base url.
Is there a way that the name of the object is not associated with anything?
Basically, I just want the result to look like this (with reference only to the “buy tickets” part):
February 2 - Phoenix, AZ - Crescent - Buy tickets
I have downloaded the html file that I am testing and enter the test tool here .
<div itemscope itemtype="http://schema.org/MusicGroup"> <h1 itemprop="name">Name</h1> <div itemprop="events" itemscope itemtype="http://schema.org/Event"> <meta itemprop="startDate" content="2012-02-02">Date — <span itemprop="location">City, State</span> - <a href="/tour" itemprop="url"> <span itemprop="name">Venue Name</span> </a> - <a href="http://ticketlink.com" itemprop="offers">Buy tickets</a> </div> </div>
2/16 - updated code
<div itemscope itemtype="http://schema.org/MusicEvent"> <h1 itemprop="name">Name</h1> <div itemprop="events" itemscope itemtype="http://schema.org/Event"> <meta itemprop="startDate" content="2012-02-02">Date — <span itemprop="location" itemscope itemtype="http://schema.org/Place"> <span itemprop="address" itemscope itemtype="http://schema.org/PostalAddress"> <span itemprop="addressLocality">City</span>, <span itemprop="addressRegion">State</span> </span>- <span itemprop="name">Venue Name</span> - <div itemprop="offers" itemscope itemtype="http://schema.org/Offer"> <a href="http://ticketlink.com" itemprop="url">Buy tickets</a> </div> </span> </div> </div>
2/17 - updated code
<div itemscope itemtype="http://schema.org/MusicGroup"> <h1 itemprop="name">Name</h1> <div itemprop="events" itemscope itemtype="http://schema.org/MusicEvent"> <meta itemprop="startDate" content="2012-02-02">Date — <span itemprop="location" itemscope itemtype="http://schema.org/Place"> <span itemprop="address" itemscope itemtype="http://schema.org/PostalAddress"> <span itemprop="addressLocality">City</span>, <span itemprop="addressRegion">State</span> </span>- <span itemprop="name">Venue Name</span> - <div itemprop="offers" itemscope itemtype="http://schema.org/Offer"> <a href="http://ticketlink.com" itemprop="url">Buy tickets</a> </div> </span> </div> </div>
2/17 - new updated code
<div itemscope itemtype="http://schema.org/MusicGroup"> <h1 itemprop="name">Name</h1> <div itemprop="events" itemscope itemtype="http://schema.org/MusicEvent"> <meta itemprop="startDate" content="2012-02-02">Date — <span itemprop="location" itemscope itemtype="http://schema.org/Place"> <span itemprop="address" itemscope itemtype="http://schema.org/PostalAddress"> <span itemprop="addressLocality">City</span>, <span itemprop="addressRegion">State</span> </span>- <span itemprop="name">Venue Name</span> - </span> <div itemprop="offers"> <a href="http://ticketlink.com" itemprop="url">Buy tickets</a> </div> </div> </div>
source share