Automattic / sensei

Sensei LMS - Online Courses, Quizzes, & Learning
https://senseilms.com
GNU General Public License v2.0
539 stars 198 forks source link

Add structured data to courses #3856

Open donnapep opened 3 years ago

donnapep commented 3 years ago

Describe the solution you'd like

Add structured data to courses in order to improve SEO and rank on search engines. Currently, people are using other plugins to create structured data.

Additional context

From pcsW8B-1S-p2.

styrketrappan commented 3 years ago

I have some input, guess this could be a good start. Then I presume one could also look from Sensei LMS and all the addon perspective, how to map as much fields as possible from those to Course structured data 👍 Basics I think a good page to start looking at is https://developers.google.com/search/docs/data-types/course which describes the schema needed and how it is interpreted. Business case I also think that the business case for this is that search engines get a improved way of reading the information so they can present it in SERP which in turn improves the situation for us using these platforms Expected behavior When activated structured data should be added with the mandatory fields according to https://schema.org/course, perhaps more understandably described by Google in https://developers.google.com/search/docs/data-types/course Functional details According to Google there are two mandatory fields

Brief technical details Example how the HTML look like (copied from Google page mentioned about)

Introduction to Computer Science and Programming

Looking at https://schema.org/course, far down in that document is more examples which should give a good idea how to use the schema. In one example there is pricing so perhaps this could be context sensitive, so for the ones using the Woocommerce plugins to sell the courses some extra information could be added to the document?

When looking at who supports this, it seems like Google has support for it while Yandex https://yandex.com/support/webmaster/schema-org/what-is-schema-org.html and Bing https://www.bing.com/webmasters/help/marking-up-your-site-with-structured-data-3a93e731 is still building support for schema.org and offer support for the basic schemas.

styrketrappan commented 3 years ago

This news shows that at least Google handle more and more structured data https://www.searchenginejournal.com/google-supports-new-schema-markup-for-education-sites/400273/

Any plans for this the coming year?

burtrw commented 2 years ago

We had another request for this via Twitter: https://twitter.com/nimmala/status/1515225825456623622

It seems adding to both the Courses page and to the Student Courses block may be fairly simple. I'll add to our queue in hopes that we can fit it in between larger projects.