Error : Joomla vote plugin ItemReviewed field is missing #42920
Replies: 4 comments
-
With the following code from ConseilGouz , in the rating.php file, we get the itemReviewed field. The itemscope is set to Recipe , as it was tested on a Recipe article.
But Google sees a recipe and shows a critical error as it wants all the items for a recipe, the minimum is an image. With the following code it gets an image :
But Then Google sees 2 Recipes : the one indexed with the Schema tab, and the one indexed with the rating.php On top of that , the rating .php is tuned for Recipe, not for every type. It is necessary to merge both to get only one indexed article as Recipe, and to get the type from the schemaorg tab. |
Beta Was this translation helpful? Give feedback.
-
As suggested on the french forum, try http://schema.org/Product instead of recipe. According to Schema.org doc https://schema.org/Product , it behaves like a generic type. Suggested plugin override, replacing line 82 to 86, becomes :
|
Beta Was this translation helpful? Give feedback.
-
To make your test a "human test", please use https://issues.joomla.org/tracker/joomla-cms/42933 To make this PR RTC, after code reviews and comments from Dev Team, we need at least 2 "human tests". Pascal |
Beta Was this translation helpful? Give feedback.
-
Hi,
I have activated the the core Joomla vote on content plugin. It works OK on front end. But When I check with the Google validating tool https://search.google.com/test/rich-results?hl=en, I get a critical error. itemReviewed field is missing.
I guess that the file /plugins/content/vote/tmpl/rating.php should be adjusted.
PMLeconte on the French community Joomla forum has posted a partial answer. https://forum.joomla.fr/forum/joomla-5-x/questions-g%C3%A9n%C3%A9rales-ab/2060593-erreur-indexation-google-vote-sur-article?p=2060635#post2060635
conseilgouz proposes an extra-vote plugin from JoomlaHill https://github.com/conseilgouz/pkg_extravote_j4
How can this be generalized ? I am not a coder, and I cannot cope with php.
How can this be solved ? Thanks for help
Beta Was this translation helpful? Give feedback.
All reactions