We want the parser to handle parsing the video annotations.
It should handle all the @ tags:
@lesson_id:<id> describes the id of the lesson and helps to generate the path to the lesson. A path generated might look like: http://www.systemdesigncourse.com/lessons/<id>
@lesson_title:<title> describes the title that will be at the top of the lesson
@video_url:<url> will hold the youtube url to embed into the webpage
@question will have the question for the lesson. Can have several questions per lesson
@hint will be shown as possible hints to guide the user before showing the answer
@answer answer for the question immediately above it
@link:[](<id>): create a link to the lesson id. If you leave the text in [] blank, the web page will replace it with the lesson_title of that lesson.
Summary
We want the parser to handle parsing the video annotations. It should handle all the @ tags:
@lesson_id:<id>
describes the id of the lesson and helps to generate the path to the lesson. A path generated might look like:http://www.systemdesigncourse.com/lessons/<id>
@lesson_title:<title>
describes the title that will be at the top of the lesson@video_url:<url>
will hold the youtube url to embed into the webpage@question
will have the question for the lesson. Can have several questions per lesson@hint
will be shown as possible hints to guide the user before showing the answer@answer
answer for the question immediately above it@link:[](<id>)
: create a link to the lesson id. If you leave the text in[]
blank, the web page will replace it with thelesson_title
of that lesson.As well, the schema of the JSON would be:
This will be stored under one file:
/webui/generated/lessons.json