Mapping Videos and Exercises back to the online source

I’ve just had an interesting question from Edulution in Zambia. They are asking how to refer from a KA Lite video to the www.khanacademy.org source.

I was just about to say “download the latest content pack and just append the slug to www.khanacademy.org” – but it turns out it’s not quite so.

Our slug:

http://127.0.0.1:8008/learn/khan/math/early-math/cc-early-math-add-sub-basics/cc-early-math-making-5-9/making-5/

Upstream slug:

https://www.khanacademy.org/math/cc-kindergarten-math/cc-kindergarten-add-subtract/kindergarten-making-5-9/v/making-5

I can imagine that it’s a problem with the slugs that come from the API are not the same as the navigation on khanacademy.org - but is there a way to map them?

Any suggestions here?

Pinging @mrpau-eugene @Richard_Amodia ?

It’s as simple as adding a v or an e before the final slug segment (depending on whether it is a video or an exercise).

So making-5/ becomes v/making-5/.

THANKS - you are so right - after this, there’s a redirect to the final slug path.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.