I have this schema set up, it is one rating for one product but I am getting an error asking for an aggregate rating.
As you can see from the image there are multiple products, but each one is enclosed with the code below. Is my code wrong?
<div itemprop="review" itemscope itemtype="http://schema.org/Review">
<div class="col-sm-8 no-justify"><p>
<span itemprop="author" itemscope itemtype="http://schema.org/Person"> Thats Insurance</span> Rating for
<span itemprop="reviewAspect">Single Trip Gold Plus: </p></span></div>
<div class="col-sm-4 ">
<span itemprop="reviewRating" itemscope="" itemtype="http://schema.org/Rating"><p>
<span itemprop="ratingValue" content="3"></span></span></div></p></div>
Unfortunately at this time Schema does not allow for a review that has sub items that are of different types.
In this case we have a main rating
Single Trip Policy Ratings
and within this - Sub Ratings
Gold and
Gold Plus Policies
Schema presently counts each sub rating as a review of the the main rating. For things like Customer Reviews this would be correct, but in this circumstance it will not work as you will be asked to enter an Aggregate Rating - when there is no aggregate rating as these are separate items.
Having spent the entire day trying different combinations of Schema I am confident that this is the case for my circumstance.
Hopefully my answer will save someone wasted time searching.
Related
I am new to microdata, and have to try and put together an assignment.
It requires "At least one itemtype should be embedded (or nested) in another itemtype: the value for at least one itemprop should itself be another itemtype with its own set of properties."
The code I came up with is this:
<div itemscope itemtype="https://schema.org/Person">
<div style="white-space: pre-wrap;">
<span itemprop="description">
Since I am still in my <span itemprop="knowsAbout">library and information science program</span>, I do not have as many finished projects as I wish to showcase here.
</span>
I have been performing coursework on reference and information services, information organization (including metadata), and an introduction to technologies that are used in the library sciences field, such as database management.
<div itemscope itemtype="https://schema.org/Action">
I have done a few <span itemprop="result">library science projects</span> over the last year that have been recently completed. Actually, this<span itemprop="result"> early version of my website</span> you are on is one of them! I programmed this
myself over the course of several days using a combination of HTML and CSS to create this website experience.</div>
<div itemscope itemtype="https://schema.org/CreativeWork">
Another project I have worked on is a <a itemprop="exampleOfWork" href="link_insert_here" target="_blank">LibGuide</a> (a library research guide) for LGBTQ+ characters in Comic Books and Graphic Novels. I have also created several learning aids.
First is an example of a <a itemprop="exampleOfWork" href="handout.pdf" target="_blank">handout</a> I created discussing some basic information on virtual machines. This is an example of a <a itemprop="exampleOfWork" href="link_insert_here" target="_blank">video tutorial</a> I created on how to sign up for a Local Public Library eCard.
</div>
</div>
</div>
I'm not sure I nested everything properly, and when I use various structured testing tools it picks up my microdata. While it seems right, I just can't tell.
I want to increase the attractiveness of the site in a search engine and I want to use a microdata.
But I did not find a single example of application/ld micromarking for a car rental website. I could find only microdata for email notifications.
Is there a micro markup for rental car sites?
Have you really looked for it on schema.org?
https://schema.org/AutoRental
There is even a generator for a simple schema:
https://schema.pythonanywhere.com/AutoRental
<div itemscope itemtype="http://schema.org/AutoRental">
<span itemprop="description">description</span>
<span itemprop="image">image</span>
<span itemprop="name">rent a vw</span>
<span itemprop="potentialAction">rent</span>
<span itemprop="url">/rent/</span>
</div>
So I was told that you can set a certain tag in a html page that will tell search engines what kind of page it is (like if the tag was set to game then google would organize it as game). What tag would this be done in and how would it be found?? (I was told this by older brother so If not possible or is false information I will understand)
You can use structured data in your website to tell the search engines what is described on the page and give machine readable details.
This is (at this time) the recommended way by Google.
The format for this is described in great detail on http://schema.org, the types can be found here:
http://schema.org/docs/full.html
To address your example, here is the sample from the type Game (copy&paste):
<section itemscope itemtype="http://schema.org/Game">
<section itemprop="offers" itemscope itemtype="http://schema.org/Offer">
<span>Approx. Retail:</span>
<span itemprop="priceCurrency">$</span><span itemprop="price">17.99</span>
Where To Buy
</section>
<span itemprop="audience" itemscope itemtype="http://schema.org/PeopleAudience">
Ages: <span itemprop="suggestedMinAge">8</span> YEARS & UP
</span>
<h4>Game Description:</h4>
<p itemprop="description">Own it all as a high-flying trader in the fast-paced world of real estate. Tour the city for the hottest properties: sites, stations and utilities are all up for grabs. Invest in houses and hotels, then watch the rent come pouring in! Make deals with other players and look out for bargains at auction. There are many ways to get what you want. For really speedy dealers, use the speed die for a quick and intense game of Monopoly. So get on Go and trade your way to success!<br/><br/>Includes <span itemprop="gameItem">gameboard</span>, <span itemprop="gameItem">8 tokens</span>, <span itemprop="gameItem">28 Title Deed cards</span>, <span itemprop="gameItem">16 Chance cards</span>, <span itemprop="gameItem">16 Community Chest cards</span>, <span itemprop="gameItem">money pack</span>,<span itemprop="gameItem"> 32 houses</span>, <span itemprop="gameItem">12 hotels</span>, 2 dice and instructions<br/><br/>•Features a speed die for a faster, more intense game<br/>•Includes the new token that was voted No. 1: the cat<br/><br/>For <div itemprop="numberOfPlayers" itemscope itemtype="http://schema.org/QuantitativeValue">
<span itemprop="minValue">3</span> to <span itemprop="maxValue">5</span> players </div>.<br/><br/>Ages 8 and up.<br/><br/>Monopoly and all related characters are trademarks of <span itemprop="copyrightHolder">Hasbro</span>. <P></p>
</section>
As you can see there are several attributes like itemtype, itemprop etc. added that contain the data that is targeted for search engines. These attributes vary from type to type.
Google does a lot more than read tags to organize pages and rank them. However, there is a tag defined in HTML to describe keywords and other information about your page.
Placed in the head of your HTML document, the meta tag can be used to define your pages character set, add a description, keywords and an author (amongst other things).
For example:
<head>
<meta charset="UTF-8">
<meta name="description" content="Jordan's Homepage">
<meta name="keywords" content="Games, younger brothers, stack overflow">
<meta name="author" content="Jordan 1591">
</head>
Google's ranking algorithms are very complex and not publicly known in their entirety, partly to prevent people from abusing them and being unfairly ranked highly, but any seach engine -including Google - will look at meta tags as a bare minimum.
I’m using Schema.org properties to provide product data of my webshop to search engines. It includes stuff like the image, product name and price. All works great, and as a result, the price shows up nicely in Google’s search results.
However, the availability (In stock) for some reason doesn’t make it into the results, even after waiting a few weeks.
My products are on number 1 in the SERPs, just without the availability. I validated my page with Google's Structured Data Testing Tool and it looks great.
Does anyone know why Google doesn’t bother to show the availability?
A snippet of my source:
<div itemscope itemtype="http://schema.org/Product">
<img itemprop="image" src="/media/product.jpg" alt="Product image">
<h2 itemprop="name">Product name</h2>
<div itemprop="offers" itemscope itemtype="http://schema.org/Offer">
<meta itemprop="priceCurrency" content="EUR">
<span itemprop="price">€ 12,95</span>
<ul>
<li itemprop="availability" href="http://schema.org/InStock">Op voorraad</li>
</ul>
</div>
</div>
I don’t know if this is the reason why Google Search does not pick it up, but your markup is not valid.
The li element can’t have a href attribute.
So instead of this
<li itemprop="availability" href="http://schema.org/InStock">Op voorraad</li>
you should use, for example, this
<li><link itemprop="availability" href="http://schema.org/InStock"/>Op voorraad</li>
Side note: About your price
The value of the price property should not contain the currency symbol, so you might want to use this instead:
<span itemprop="price">12,95</span> €
As Schema.org recommends to use the . as decimal separator, you could use the data element or the meta element to still how , to your visitors:
<data itemprop="price" value="12.95">12,95</data> €
<span><meta itemprop="price" content="12.95" />12,95</span> €
The http://schema.org/InStock should idealy be defined at the itemscope level and your itemprop can continue to be mentioned in the li tag as before, without the link in it.
Google may not choose to show availability in organic search results depending on how relevant it perceives that information to be for users compared to price, item name etc (remember, there's only a limited amount of space in the results).
Do any of your other competitors' listings show availability?
I am working on a site of a christian church. It has a page with schedule list and house churches list which I want to mark up using Schema.org microdata. The thing is I cannot find appropriate type to describe these items. For schedule I decided to go for http://Schema.org/Event type, however I need to add contact person name and phone but which property of Event can I use for that? I used "performer" property, but that is not really it...
<div itemscope="" itemtype="http://schema.org/Event">
<span class="time"><time itemprop="startDate" datetime="2012-07-02T19:00:00">19:00</time></span>
<h2 class="colored" itemprop="name">Worship Group</h2>
<strong>Address:</strong> <span itemprop="location">St. Patric 42</span>
<br><strong>Contacts:</strong>
<span itemprop="performer" itemscope="" itemtype="http://schema.org/Person">
<span itemprop="telephone">8-422-212-5532</span> (<span itemprop="name">John Parker</span>)</span>
<span itemprop="description">We want to worhip God together</span>
</div>
As for a house church - it's something between an Organization and Event - it's a group of believers getting together at a place at a certain time. I decided to go for http://schema.org/Organization, added ContactPoint as church leader contacts info. But how can I mark start time?
Is there any way to combine entity types so that I could describe all important properties I have?
First part of your question:
For schedule I decided to go for http://Schema.org/Event type, however
I need to add contact person name and phone but which property of
Event can I use for that?
You're spot on using an Event for your schedules. You could of course be a bit more precise and and use an extension of Event to be more precise as itemtype.
When you wish to specify a contact person as a performer I'm a bit unsure. I would rather flip your thinking around and not specify a contact person but instead specify the events as upcoming or past events associated with the organization. The organization then has a contact point that will go for all the events.
<div itemscope="" itemtype="http://schema.org/Organization/ReligiousGroup">
<div itemprop="location" itemscope="" itemtype="http://schema.org/Church">
...
</div>
<div itemprop="contactPoint" itemscope="" itemtype="http://schema.org/Person">
...
</div>
<div itemprop="events" itemscope="" itemtype="http://schema.org/Event">
...
</div>
<div itemprop="events" itemscope="" itemtype="http://schema.org/Event">
...
</div>
<div itemprop="events" itemscope="" itemtype="http://schema.org/Event">
...
</div>
</div>
Or more simple described with YAML:
---
Organization/ReligiousGroup:
location : Church
contactPoint : Person
events :
- Event
- Event
- Event
You can extend Organization to ReligiousGroup to be more precise of the item.
Read more about extending here: http://www.schema.org/docs/extension.html
Now the final part of your question:
As for a house church - it's something between an Organization and
Event - it's a group of believers getting together at a place at a
certain time.
A group of people getting together at a place at a certain time is an Event.