This changes logic to allow more missed use cases of course_image to work properly. The cases are: . XML courses with the course_image attribute set . Mongo courses that are imported without a contentstore . Mongo courses that have course_image set but don't have a content store It also exports default images_static_course.jpg to images/static_course.jpg to handle a use case where a course author uploaded an image to the default location in studio without using the studio interface for adding course images, they then export the course, and then import it without a contentstore
24 lines
1.0 KiB
XML
24 lines
1.0 KiB
XML
<course course_image="just_a_test.jpg">
|
|
<textbook title="Textbook" book_url="https://s3.amazonaws.com/edx-textbooks/guttag_computation_v3/"/>
|
|
<chapter url_name="Overview">
|
|
<videosequence url_name="Toy_Videos">
|
|
<html url_name="secret:toylab"/>
|
|
<html url_name="toyjumpto"/>
|
|
<html url_name="toyhtml"/>
|
|
<html url_name="nonportable"/>
|
|
<html url_name="nonportable_link"/>
|
|
<html url_name="badlink"/>
|
|
<html url_name="with_styling"/>
|
|
<html url_name="just_img"/>
|
|
<video url_name="Video_Resources" youtube_id_1_0="1bK-WdDi6Qw" display_name="Video Resources"/>
|
|
</videosequence>
|
|
<video url_name="Welcome" youtube_id_1_0="p2Q6BrNhdh8" display_name="Welcome"/>
|
|
<video url_name="video_123456789012" youtube_id_1_0="p2Q6BrNhdh8" display_name='Test Video'/>
|
|
<video url_name="video_4f66f493ac8f" youtube_id_1_0="p2Q6BrNhdh8"/>
|
|
</chapter>
|
|
<chapter url_name="secret:magic"/>
|
|
<chapter url_name="poll_test"/>
|
|
<chapter url_name="vertical_container"/>
|
|
<chapter url_name="handout_container"/>
|
|
</course>
|