Make XmlModuleStore handle asides

PLAT-221
This commit is contained in:
Don Mitchell
2014-12-09 15:56:54 -05:00
parent 128d763047
commit de5e88561f
32 changed files with 293 additions and 126 deletions

View File

@@ -0,0 +1 @@
This is a very very simple course, useful for initial debugging of processing code.

View File

@@ -0,0 +1 @@
<course org="edX" course="aside_test" url_name="2012_Fall"/>

View File

@@ -0,0 +1,13 @@
<course course_image="just_a_test.jpg">
<test_aside xblock-family='xblock_asides.v1' data_field='course aside data'>Course Aside</test_aside>
<textbook title="Textbook" book_url="https://s3.amazonaws.com/edx-textbooks/guttag_computation_v3/"/>
<chapter url_name="Overview">
<test_aside xblock-family='xblock_asides.v1' data_field='chapter aside data'>Chapter Aside</test_aside>
<sequential url_name="Toy_Videos">
<test_aside xblock-family='xblock_asides.v1' data_field='sequential aside data'>Sequential Aside</test_aside>
<html url_name="toyhtml">
<test_aside xblock-family='xblock_asides.v1' data_field='html aside data'>Html Aside</test_aside>
</html>
</sequential>
</chapter>
</course>

View File

@@ -0,0 +1 @@
<a href='/static/handouts/sample_handout.txt'>Sample</a>

View File

@@ -0,0 +1 @@
<html filename="toyhtml.html"/>

View File

@@ -0,0 +1 @@
<a href='/static/handouts/sample_handout.txt'>Sample</a>

View File

@@ -0,0 +1,23 @@
{
"course/2012_Fall": {
"graceperiod": "2 days 5 hours 59 minutes 59 seconds",
"start": "2015-07-17T12:00",
"display_name": "Toy Course",
"graded": "true",
},
"tabs": [
{"type": "courseware"},
{"type": "course_info", "name": "Course Info"},
{"type": "static_tab", "url_slug": "syllabus", "name": "Syllabus"},
{"type": "static_tab", "url_slug": "resources", "name": "Resources"},
{"type": "discussion", "name": "Discussion"},
{"type": "wiki", "name": "Wiki"},
{"type": "progress", "name": "Progress"}
],
"chapter/Overview": {
"display_name": "Overview"
},
"html/secret:toylab": {
"display_name": "Toy lab"
},
}

View File

@@ -0,0 +1,10 @@
{
"textbook.pdf":{
"contentType":"text/pdf",
"displayname":"textbook.pdf",
"locked":false,
"filename":"/c4x/edx/toy/asset/textbook.pdf",
"import_path":null,
"thumbnail_location":null
}
}

View File

@@ -0,0 +1,17 @@
_
| |
_____ ____ _ _ __ ___ _ __ | | ___
/ _ \ \/ / _` | '_ ` _ \| '_ \| |/ _ \
| __/> < (_| | | | | | | |_) | | __/
\___/_/\_\__,_|_| |_| |_| .__/|_|\___|
| |
|_|
_ _ _
| | | | (_)
___| |_ __ _| |_ _ ___
/ __| __/ _` | __| |/ __|
\__ \ || (_| | |_| | (__
|___/\__\__,_|\__|_|\___|

Binary file not shown.

After

Width:  |  Height:  |  Size: 547 B

Binary file not shown.

View File

@@ -1,6 +1,5 @@
<b>Lab 2A: Superposition Experiment</b>
<<<<<<< Updated upstream
<p>Isn't the toy course great?</p>
<p>Let's add some markup that uses non-ascii characters.
@@ -8,6 +7,3 @@ For example, we should be able to write words like encyclop&aelig;dia, or foreig
Looking beyond latin-1, we should handle math symbols: &pi;r&sup2 &le; &#8734.
And it shouldn't matter if we use entities or numeric codes &mdash; &Omega; &ne; &pi; &equiv; &#937; &#8800; &#960;.
</p>
=======
<p>Isn't the toy course great? — &le;</p>
>>>>>>> Stashed changes