Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Chasil

    (@chasil)

    Hi cebln!

    Thanks for the hint. I will check that in the next few days and get back to you.

    Regards

    interested too, subscribed to this thread 🙂

    Plugin Author Chasil

    (@chasil)

    Hi all,

    thanks for your patience. I had some time to think about the rating / reviewRating thing. When I implemented the SEO I wasn’t sure what the best would be and my guess was that a “rating” would fit for everyone. More or less…

    I think if you use this plugin it’s always a rating but not always part of a review. Sure, in 95% it is. But what about these 5%? Shall I ignore them or is it OK for me to let the SEO not that precise?

    And here we are. Still no change. I decided to add a new option inside the settings page so that you can choose if you use “rating” or “reviewRating” for the SEO. I will update the plugin the next few days and then you can decide what fits your needs best.

    I’m not very knowledgeable about this, only started reading up and implementing a few weeks ago and am still looking for the right tool but what you suggest sounds like a good solution.

    Will wait for the update and then give it a try.
    Thanks for looking into this Chasil.

    Plugin Author Chasil

    (@chasil)

    Hello again!

    First of all I am sorry for the delay.

    I updated USR to version 1.9.5 with the option to change the rating type. Choices are now “rating” and “reviewRating”. I checked it with the Google code checker. Unfortunately Google interprets the reviewRating as a rating because you need to define what your review is about. Because USR will never have a clue about what you review it always will be identified as a rating.

    Sorry that there are no better news but keep in mind that a reviewRating is just a sub type of a rating so that it is never wrong.

    Cheers

    Hi Chasil,

    are you sure about this? I just googled “reviewRating” and found https://developers.google.com/structured-data/rich-snippets/reviews
    where it is described as:

    reviewRating Rating The rating given in this review. A nested schema.org/Rating or more specific subtype, most typically AggregateRating.

    And when you say

    you need to define what your review is about

    do you mean that one needs to specify if it is a reviewRating for a service or a product, etc?

    Plugin Author Chasil

    (@chasil)

    Hi Ovidiu,

    I am sure. A reviewRating can only be inside a review or it will be interpreted as a rating even if it is declared as a reviewRating.

    Just play around with the testing tool:
    https://developers.google.com/structured-data/testing-tool/

    Try this QC – for a rating:

    <div itemprop="rating" itemscope itemtype="http://schema.org/Rating" class="usr">
    <meta itemprop="worstRating" content="0" />
    <img class="usr" src="http://www.cizero.de/wp-content/plugins/universal-star-rating/includes/stars.php?img=02.png&px=12&max=5&rat=3.5" alt="3.5 Stars" />
    (<span itemprop="ratingValue">3.5</span> / <span itemprop="bestRating">5</span>)
    </div>

    QC for a reviewRating – Check is OK but marks it as rating:

    <div itemprop="reviewRating" itemscope itemtype="http://schema.org/Rating" class="usr">
    <meta itemprop="worstRating" content="0" />
    <img class="usr" src="http://www.cizero.de/wp-content/plugins/universal-star-rating/includes/stars.php?img=02.png&px=12&max=5&rat=3.5" alt="3.5 Stars" />
    (<span itemprop="ratingValue">3.5</span> / <span itemprop="bestRating">5</span>)
    </div>

    QC for a reviewRating inside a review – Some data are not known and Google marks it as wrong even if a reviewRating is recognized:

    <div itemprop="review" itemscope itemtype="http://schema.org/Review" class="usr">
    <div itemprop="reviewRating" itemscope itemtype="http://schema.org/Rating" class="usr">
    <meta itemprop="worstRating" content="0" />
    <img class="usr" src="http://www.cizero.de/wp-content/plugins/universal-star-rating/includes/stars.php?img=02.png&px=12&max=5&rat=3.5" alt="3.5 Stars" />
    (<span itemprop="ratingValue">3.5</span> / <span itemprop="bestRating">5</span>)
    </div>
    </div>

    It is possible to do a workaround. If you post something you could define the needed Tags before and after the rating:

    <div itemscope itemtype="http://schema.org/Review">
      <div itemprop="itemReviewed" itemscope itemtype="http://schema.org/Restaurant">
        <span itemprop="name">Legal Seafood</span>
      </div>
    
      HERE COMES USR
    
      <span itemprop="author" itemscope itemtype="http://schema.org/Person">
        <span itemprop="name">Bob Smith</span>
      </span>
    </div>

    I will check if I could implement another shortcode which works with some extra data so that these tags can be generated and Rich Snippets are available. But can’t promise.

    Thanks for your effort, don’t take me wrong I was just trying to understand 🙂

    Thanks a lot for the samples, will check it out.

    Plugin Author Chasil

    (@chasil)

    No worries, I just wanted to explain 🙂

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘schema code incomplete?’ is closed to new replies.