Google microdata errors

More
6 years 10 months ago #67588 by lipatovroman
Hi!
I have tested item page with Google microdata testing tool and it displays errors:



The main issue - is multiple aggregate ratings



So, how we can disable ratings microdata in category lists and modules?
We have to display only stars without microdata.

Please Log in or Create an account to join the conversation.

More
6 years 10 months ago - 6 years 10 months ago #67590 by ggppdk
Replied by ggppdk on topic Google microdata errors
Hello

you can have multiple of these "aggregate" ratings in category views / module listing

just it should be nested like NESTED like this:
(so we need to check that our module layout have)
Code:
itemscope itemtype="http://schema.org/Product"
and then inside it:
Code:
itemprop="name"

Code:
<div itemscope itemtype="http://schema.org/Product"> ... <span itemprop="name">Some title</a> ... <span itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating"> <meta itemprop="ratingValue" content="100"> <meta itemprop="bestRating" content="100"> <meta itemprop="ratingCount" content="1"> </span> </div> <div itemscope itemtype="http://schema.org/Product"> ... <span itemprop="name">Some title</a> ... <span itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating"> <meta itemprop="ratingValue" content="100"> <meta itemprop="bestRating" content="100"> <meta itemprop="ratingCount" content="1"> </span> </div> <div itemscope itemtype="http://schema.org/Product"> ... <span itemprop="name">Some title</a> ... <span itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating"> <meta itemprop="ratingValue" content="100"> <meta itemprop="bestRating" content="100"> <meta itemprop="ratingCount" content="1"> </span> </div>


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
Last edit: 6 years 10 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
6 years 10 months ago #67596 by lipatovroman
So, what shoud I do?
I should add lost
Code:
div itemscope itemtype="http://schema.org/Product">

in category and module templates?

Or you will fix it yourself?

Thanks.

Please Log in or Create an account to join the conversation.

More
6 years 10 months ago #67643 by lipatovroman
Waiting for instructions :oops:

Please Log in or Create an account to join the conversation.

More
6 years 10 months ago - 6 years 10 months ago #67645 by ggppdk
Replied by ggppdk on topic Google microdata errors
Hello

above i made a description of how
we should fix our templates, not to forget the studied code

the answer was mostly meant as instructions to myself than to you

files that need updating are:
category_items(_html5).php in category-like views
and
the template files of the universal modules

and maybe the voting field also needs some updating

PS:
since you have installed github,
please update to new BETA2, some important issues were fixed,

github.com/FLEXIcontent/flexicontent-cck/releases

Like uploading files via file field


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
Last edit: 6 years 10 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
6 years 10 months ago #67646 by ggppdk
Replied by ggppdk on topic Google microdata errors
Hello

in short we need to update our templates in 2 ways

1. Nest the Tags properly (tag inside proper tag):
Code:
<div itemscope itemtype="http://schema.org/Product"> ... <span itemprop="name">Some title</a> ... <span itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating"> <meta itemprop="ratingValue" content="100"> <meta itemprop="bestRating" content="100"> <meta itemprop="ratingCount" content="1"> </span> </div>

2. when ITEMTYPE has not been defined then use some default

So what you should do is nothing for now
- just check your item types and make sure you have selected an itemtype
- wait for update / post some REMINDER here in a few days if you get no responce


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.298 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline