Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Schema.org/AggregateRating has some errors #6051

Closed
sshcli opened this issue Jul 18, 2018 · 2 comments
Closed

Schema.org/AggregateRating has some errors #6051

sshcli opened this issue Jul 18, 2018 · 2 comments
Labels
Milestone

Comments

@sshcli
Copy link
Member

sshcli commented Jul 18, 2018

Steps to reproduce the behavior:

  1. Enable rating in configuration and category
  2. Run validation here:
    https://search.google.com/structured-data/testing-tool#url=https%3A%2F%2Fk51.jobsnear.net%2Fwelcome-mat%2F1-welcome-to-kunena

Expected behavior
No errors

Actual result
errorrating

System information (please complete the following information)
Joomla version: 3.8.10
Kunena version: 5.1.3-DEV
Php version: 7.2.7
Database version: MySQL 5.6.39

@sshcli
Copy link
Member Author

sshcli commented Jul 18, 2018

To fix the rating issue, you could take some ideas from the example below:

<script type="application/ld+json">
{
  "@context": "http://schema.org/",
  "@type": "Review",
  "itemReviewed": {
    "@type": "Thing",
    "name": "Super Book"
  },
  "author": {
    "@type": "Person",
    "name": "Joe"
  },
  "reviewRating": {
    "@type": "Rating",
    "ratingValue": "7",
    "bestRating": "10"
  }
}
</script>

@sshcli
Copy link
Member Author

sshcli commented Jul 18, 2018

@810 810 added this to the 5.1.3 milestone Jul 18, 2018
@810 810 closed this as completed Jul 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants