What microdata should i use for purchase guide segment in category page? - microdata

I have many category pages and each category has many products and companies and one guide for users (user guide about category subject).
What microdata should I use for purchase guide for each category page?
If I use article, Problem is logo! I don't want show my logo (Publisher logo) at the end of user guide segment!

If you don't want show the Puplisher logo visible at the end of the article you can use
<span itemprop="logo" itemscope itemtype="https://schema.org/ImageObject">
<meta itemprop="url" content="http://www.domain.com/logo.jpg">
<meta itemprop="width" content="600">
<meta itemprop="height" content="60">
</span>
So you have a valid microdata article. But it will show in the Serps.

Related

Google Plus share button Displayed Wrong Image

I want to add Google plus button. So user can share products using Google plus. But when i click on share button then Product name, URL everything are correct except product image.
Product image not displayed properly. I write below code for create Google Plus Button code.
Share on Gogole+
I also try to add some meta tags for resolve this issue but nothing happen.
<meta property="og:title" content="..."/>
<meta property="og:image" content="..."/>
<meta property="og:description" content="..."/>
In sort I need to display current products details and Image on Google plus share popup.
Please help me as soon as possible.
It would be easier to tell what was wrong if you gave an example URL but it sounds like you have markup for multiple entities on your product detail page. When that happens the snippet fetcher will take the image from the first entity in the page.
Use this tool: http://www.google.com/webmasters/tools/richsnippets to test your snippet markup and identify the entities the snippet fetcher is seeing.
You should also take a look at: https://developers.google.com/+/web/snippet/ which shows that we prefer that you use schema.org markup to describe the entities in your page.
Hello add below code on product detail page
<?php $productName = $_helper->productAttribute($_product, $_product->getName(), ‘name’); ?>
<?php $productUrl = $_helper->productAttribute($_product, $_product->getProductUrl(), 'product_url'); ?>
<?php $productImage = $_product->getImageUrl() ?>
Share on Gogole+
Hope this helps you...

Unable to pass W3C Validation

I am trying to get something to pass the W3C Validation (this is my first HTML web design class). I keep getting the same error (Text not allowed in element ul in this context.). There are five of these errors, they are all in the same location but on different lines.
If anyone could please look at this and tell me what I have done wrong. Thank You.
<!DOCTYPE html>
<html lang="en">
<head>
<title>Fish Creek Animal Hospital Services</title>
<meta charset="utf-8">
</head>
<body>
<h1>Fish Creek Animal Hospital</h1>
<div><b>Home
Services
Ask the Vet
Contact </b></div>
<ul>
<li><strong>Medical Services</strong></li>
We offer state of the art equipment and technology.
<li><strong>Surgical Services</strong></li>
Full range of surgical procedures including orthopedics and emergency surgeries.
<li><strong>Dental Care</strong></li>
A dental exam can determine whether your pet needs preventative dental care such as scaling and polishing.
<li><strong>House Calls</strong></li>
The elderly, physically challenged, and multiple pet households often find our in-home veterinary service helpful and convenient.
<li><strong>Emergencies</strong></li>
At least one of our doctors is on call every day and night.
</ul>
<div>
<small><i>Copyright © 2013 Fish Creek Animal Hospital
csigman1#gmail.com
</i></small>
</div>
</body>
</html>
Any section that has text, which has not been wrapped in a HTML tag will cause you this error. Here, it's the list. Each item (block of text) within the list requires a <li> tag wrapping the whole content.
<ul>
<li>text content</li> <!-- correct -->
<li></li>text content <!-- incorrect -->
</ul>
So in your script, change all items from this:
<li>
<strong>Surgical Services</strong></li>
Full range of surgical procedures including orthopedics
and emergency surgeries.
To this:
<li>
<strong>Surgical Services</strong>
Full range of surgical procedures including orthopedics
and emergency surgeries.
</li>

Rich Snippet on homepage

We have embedded rich snippets for a rental objects rating website. Here an example:
http://www.google.de/webmasters/tools/richsnippets?q=http%3A%2F%2Fwww.sonnenquartiere.de%2Fferienwohnungen%2F4-wohnung-8-boardinghaus-norderney-2-zimmer-apartment.html
Works fine when listed in Google search results.
Now we want to aggregate all ratings and post them on the homepage so the homepage itself gets a rating in the Google search results. We did it some time ago:
http://www.google.de/webmasters/tools/richsnippets?q=www.sonnenquartiere.de
We did that some time ago, but the result in the Google Search is still not being displayed with the aggregated rating. Here an Example:
https://www.google.de/search?q=Boardinghaus+Norderney (2nd place here)
Is there something we can do to get this working?
One thing that I did notice about your markup is that you are using the schema.org/WebPage markup for your aggregate review rating. So search engines are seeing that schema as a rating for your home page. You should be using the aggregate rating schema with a schema that better describes your type of business, perhaps something in the schema.org/LodgingBusiness category.
I hope this is not too late and that I will be able to help.
Following the standard procedure is the best practice in such thing. Make sure you use the correct markup. So for review use the reviews-schema as the example below:
Use this tool to generate the code and then modify your website according to this working sample
http://www.microdatagenerator.com/reviews-schema/
For example:
<div itemscope itemtype="http://schema.org/Review">
<div itemprop="itemReviewed" itemscope temtype="http://schema.org/Thing"><span itemprop="name">home mortgage</span> </div>
<div itemprop="author" itemscope itemtype="http://schema.org/Person">
<span itemprop="name"> Nick M.</span>
</div><meta itemprop="datePublished" content = "01/01/2016">
<div itemprop="reviewRating" itemscope itemtype="http://schema.org/Rating"
<meta itemprop="worstRating" content = "1"/><span itemprop="ratingValue">5</span>/<span itemprop="bestRating">5</span> stars </div>
<span itemprop="description">My experience with ABC Company was very good and I recommend it to everyone. </span>
</div>
you take that code and take the parts you need to your webpage.
This video was great:
https://www.youtube.com/watch?v=N2PjWtybDOs

microdata not displaying in google search results

I have a "Review-aggregate" microdata snippet in my site, and google has cached it, but it is not appearing in the google search results with the rating stars.
The URL that has the microdata in is:
http://www.rnsalert.com/
And here is the snippet:
<div class="ui-corner-bottom" id="micro-data-reviews" itemscope="" itemtype="http://data-vocabulary.org/Review-aggregate">
<span itemprop="itemreviewed">RNSalert</span> is rated
<span itemprop="rating" itemscope="" itemtype="http://data-vocabulary.org/Rating">
<span itemprop="average">9.0</span>
out of <span itemprop="best">10</span>
</span>
based on <span itemprop="votes">16</span> independent ratings.
</div>
Using Google's structured data test tool, it shows that the microdata is being parsed correctly...
http://www.google.com/webmasters/tools/richsnippets?url=http%3A%2F%2Fwww.rnsalert.com%2F&html=
Yet the google search results aren't showing it. The page has been cached.
Search google for "RNS alert" and you will get the page listed as the first organic result.
Any thoughts?
Many thanks,
Dan
Google should recognise all types defined in schema.org, but it supports rich snippets in the search results for these content types only:
Reviews
People
Products
Businesses and organizations
Recipes
Events
Music
Source:
http://support.google.com/webmasters/bin/answer.py?hl=en&answer=99170&topic=1088472&ctx=topic
Also, it may take a while before you're able to see them in the search results - maybe even days.
I'm 95% sure that for your rating/review stars to appear in Google's web results you must also setup Google authorship with the site/page.
6+ months ago this step wasn't required.
Your page contains microdata for a review aggregate, but it is not related to a product or item.
Check the examples here https://schema.org/AggregateRating
The aggregate needs to be within the scope of another item:
<div itemscope itemtype="http://schema.org/Restaurant">
<span itemprop="name">GreatFood</span>
<div itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
<span itemprop="ratingValue">4</span> stars -
based on <span itemprop="reviewCount">250</span> reviews
</div>
<div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
<span itemprop="streetAddress">1901 Lemur Ave</span>
<span itemprop="addressLocality">Sunnyvale</span>,
<span itemprop="addressRegion">CA</span> <span itemprop="postalCode">94086</span>
</div>
<span itemprop="telephone">(408) 714-1489</span>
<a itemprop="url" href="http://www.dishdash.com">www.greatfood.com</a>
Hours:
<meta itemprop="openingHours" content="Mo-Sa 11:00-14:30">Mon-Sat 11am - 2:30pm
<meta itemprop="openingHours" content="Mo-Th 17:00-21:30">Mon-Thu 5pm - 9:30pm
<meta itemprop="openingHours" content="Fr-Sa 17:00-22:00">Fri-Sat 5pm - 10:00pm
Categories:
<span itemprop="servesCuisine">
Middle Eastern
</span>,
<span itemprop="servesCuisine">
Mediterranean
</span>
Price Range: <span itemprop="priceRange">$$</span>
Takes Reservations: Yes
</div>
Unfortunately, just because you put something on your site doesn't mean that Google has to show it in their search results.
I would assume that they need to have a certain amount of trust in your site before anything will show. If not then everyone would just mark their own products/posts with 5 stars so it looks good in a search listing page.
In my experience, it is a lot easier to get rating stars in listings when your site contains votes for other people's products rater than your own.
Google help:
The search preview is approximate.
Real Google Search results for your data might look different.
The search preview is illustrative.
We do not guarantee that the content you preview will be displayed in Search results. Your content will likely appear in Search results for relevant queries, but that content must first pass through our systems to be appropriately indexed and ranked before it appears in actual Search results. We reserve the right to filter out any results at our discretion if it violates our quality guidelines. Finally, any preview tool URL for your content is only valid for a limited duration (e.g. weeks).

How can I add structured data to one page containing event and reviews of event?

I have a HTML page that displays an event. Together with the event there are reviews and an aggregated rating.
Now I want to add structured data with schema.org to be extracted by search engines.
The item type http://schema.org/Event does not support the properties "aggregateRating" or "review".
I tried to put different item scopes next to each other. I have linked them by using the "itemReviewed" property as a link to an "itemid":
<div itemid="#myevent" itemtype="http://schema.org/Event" itemscope>
....
<dl itemtype="http://schema.org/AggregateRating" itemscope>
<link href="#myevent" itemprop="itemReviewed">
<meta content="4.5" itemprop="ratingValue">
<meta content="6" itemprop="reviewCount">
...
</dl>
<dl itemtype="http://schema.org/Review" itemscope>
<link href="#myevent" itemprop="itemReviewed">
<p itemtype="http://schema.org/Rating" itemscope
itemprop="reviewRating">Rating: <img src="...">
<meta content="4" itemprop="ratingValue">
</p>
...
</dl>
</div>
Google Rich Snippet Tool does not complain. But in the preview it only displays one of the review items. No display of event date or location. No display of aggregate review.
I don't know if this is just a problem of Snippet Tool or if real Google Search extracts the same.
Could you please tell me how I could improve my markup?
Is the usage of itemid / link correct?
Is there any schema that has startdate, enddate and aggregateRating and reviews?
I'm dealing with the same problem. The best solution I found was to use Microformats.
So you calculate the average rating for the event (rating you want to show on Google's rich snippet) and do this:
<div itemid="#myevent" itemtype="http://schema.org/Event" itemscope class="hreview-aggregate">
<h1 class="fn" itemprop="name">Event</h1>
<div>
Rated <span class="rating">3.5</span>/5 based on <span class="count">11</span> reviews
</div>
<dl itemtype="http://schema.org/AggregateRating" itemscope>
<link href="#myevent" itemprop="itemReviewed">
...
</div>
That should do the trick. The only problem is that then you get Warning
Warning: If count is specified in review aggregate, page should contain reviews. Otherwise you may want to use votes. More information about aggregate reviews.

Resources