mitodl / ocw-to-hugo

A command line utility for taking master.json output from ocw-data-parser and producing markdown for use with hugo-course-publisher
3 stars 0 forks source link

CHP: "Other Offerings on OpenCourseWare" #273

Closed pdpinch closed 3 years ago

pdpinch commented 3 years ago

As a user looking at a course home page, I'd like to see a list of links to other versions of the same course. This will help me understand that course options exist and help me decide which one works best for me.

In https://github.com/mitodl/ocw-data-parser/pull/74 we added a field other_version_parent_subjects to the parsed JSON. The value of this field can be used as a key to match multiple versions of the current course.

Design

See InVision, specifically the section with the header "Other Offerings on OpenCourseWare"

Legacy example: https://ocw.mit.edu/courses/mathematics/18-01-single-variable-calculus-fall-2006/

gumaerc commented 3 years ago

It's not apparent from the ocw-data-parser PR, but the field actually ended up being called other_version_parent_uids