Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Shane McC
3,005 PointsSchema.org Data Markup Question
Hi Everyone,
I'm trying to get google to display rich snippet information about my website in their search results. I've marked up my HTML below using schema.org and I've tested it using the google structured data testing tool but I'm not sure if the information will actually display.
So my question is, will anyone of you know if my below syntax will display rich snippet information in the google search results? The type of snippet information I wish to list is state, city, address, zip, phone, and business. Thanks
<a href="http://mywebsite.com/reviews/write-your-review/659" title="Name of Business">Write A Review Of This Business</a>
<br>Call This Business
<hr>
<div id="dealership">
<div itemscope itemtype="http://schema.org/AutoDealer">
<span itemprop="name"><a href="http://mywebsite.com/dealers/Florida/Business/811">Drivetime</a></span>
<div itemprop="address" itemscope itemtype="http://schema.org/State">
<span itemprop="streetAddress">1234 Main Street</span>
<br>
<span itemprop="addressRegion">Florida</span>
<br>
<span itemprop="addressLocality">Key West</span>
<br>
<span itemprop="postalCode">35201</span>
<br>
</div>
<span itemprop="telephone">2059093939</span></td>
<br>
</div>
<div><a href="http://mywebsite.com/dealers/Florida/Business/811" id="811">Business Info</a><br><div class="fmv2">Application</div>
1 Answer
Drew Morris
2,006 PointsHi Shane,
Your Schema markup looks valid and is helpful for Google (and other applications that utilise Schema) to better understand your business' location, e.g. for display in local search results.
This information, coupled with results from reputable online directories and review sites (think YellowPages, Yelp and now Google+) will help Google generate and verify your business' local listing in the search results.
Take a look at this example (External TinyPic Link) for an example of how Google might display your local business in the search results.
Finally, although Schema markup is present on your website, Google might use information from another source to display your business' location. Ensuring that your business' location is consisent across all relevant services plays an important role here.
Hopefully this helps!
Shane McC
3,005 PointsShane McC
3,005 PointsHi Drew,
Thanks for the reply but my website isn't a local business. It's a directory website. I would like for google to start displaying my schema markup in it's search results. For example, the state, city, zip, address etc...
Thanks