Rich Snippets for Google in Ajax-PHP Rating Stars Script

Place for comments, problems, questions, or any issue related to the JavaScript / PHP scripts from this site.
ralle
Posts: 1

Rich Snippets for Google in Ajax-PHP Rating Stars Script

Hi,
Thank you for this great Rating Script: https://coursesweb.net/php-mysql/rating- ... jax-php_s2
Has anyone ever tried to generate rich snippets for Google to display the ratings in the search result list?

Admin Posts: 805
Hello
To generate rich snippets for Google to display the ratings in the search result list, the microdata with ratings must be in the html source page because Google doesn't run javascript when indexing your webpage.
But that script is Ajax based, the ratings data are included with javascript into the html page, so, those data aren't initially in the html source page.
- The Ajax-PHP Rating Stars Script cannot be used to generate rich snippets for Google.