richie icon indicating copy to clipboard operation
richie copied to clipboard

RDFa schema.org Course issues on Google Search Console

Open igobranco opened this issue 1 year ago • 2 comments

Bug Report

Problematic Behavior The Google Search Console complains about missing some information.

image

Errors / problems:

  • [ ] Missing field 'offers'
  • [ ] Missing field 'hasCourseInstance'
  • [ ] Either 'courseWorkload' or 'courseSchedule' should be specified (in 'hasCourseInstance')

Using https://search.google.com/test/rich-results/result online tool to validate and view the details of RDFa fields crawled by Google.

Expected behavior/code Missing the courseSchedule https://schema.org/CourseInstance or a courseWorkload.

CourseSchedule Testing a different MOOC platform using course page link on https://search.google.com/test/rich-results/result: it shows CourseSchedule example data. image

offers Testing a different MOOC platform using course page link on https://search.google.com/test/rich-results/result: It shows an offers example data. image

Missing field hasCourseInstance The archived couse pages didn't contains a hasCourseInstance tag.

Steps to Reproduce Use https://search.google.com/test/rich-results/result tool.

igobranco avatar Jun 21 '24 21:06 igobranco

Google recommends the use of JSON-LD instead of using RDFa, reference: https://developers.google.com/search/docs/appearance/structured-data/intro-structured-data

I also think that generating this information on python would be easier than managing it on tags at the middle of the page. But this change would be a major change.

igobranco avatar Jun 21 '24 22:06 igobranco

Currently we still have issues on the 'offers'. After the merge of https://github.com/openfun/richie/pull/2549 then we just need to fix the 'offers'.

igobranco avatar Feb 06 '25 17:02 igobranco