@bzcomputers
So in line 15, just change it to "@type": "Course", if my resources are online courses?
Is that the only thing done to get it to work on google?
I tried the rich result test but it ALWAYS timed out. Not sure if the source code is buggy
Rich Results Test - Google Search Console
search.google.com
Excellent.because template PAGE_CONTAINER contains data-app="public"
you can delete this line from PAGE_CONTAINER and check from https://search.google.com/test/rich-results
<xf:if is="contains($xf.request.getUserAgent(), 'google')">
...
...
<xf:else />
...
data-app="public"
...
</xf:if>
I'm not sure that's the case, since I'm getting the same error on a member album in xfmg... I tried making the changes described here (not sure I did it exactly right) but it didn't seem to take. I simply added the microdata and then ensured the data-app public line does not show in page container as well (for google).Media Gallery uses the "MediaObject" type so it does not have any schema issues at this time and will produce enhanced search results within Google search.
Thank you very much !i rewrite in xfrm_resource_view code <script type="application/ld+json"> .... </script> on correct code, and google checked it correct
checked on the page https://search.google.com/test/rich-results
Appreciate the fix. This did the trick for me while the other edit to PAGE_CONTAINER alone didn't.i rewrite in xfrm_resource_view code <script type="application/ld+json"> .... </script> on correct code, and google checked it correct
checked on the page https://search.google.com/test/rich-results
We use essential cookies to make this site work, and optional cookies to enhance your experience.