Giter VIP home page Giter VIP logo

edxml-tools's Introduction

edxml-tools

This repository has some tools for manipulating edXML. Specifically, at this point, it has one tool: clean_studio_xml.py.

This tool started with a chunk of code from Chris Terman which took the Studio-exported XML and put it all in one big file. It was something a human could edit without pulling teeth quite as much. Neat!

I took this, and modified it to, as much as possible, strip out Studio-generated IDs and replace them with human-readable slugs. If you export a course, run this tool over it, and import it back in, you'll notice a few changes:

  1. Unit identifiers in Studio will mostly be human-readable. instead of something like 'cdba7b0a6ea548bc9df43b17c560b6cc', you'll see something like 'Create_a_few_problems'.
  2. As a corollary, Analytics, data exports, gradebooks, etc. will become much more human-friendly.
  3. Forums will have discussion targets set.

Note that you should never do this to a running course. Changing the IDs will, in fact, cause the system to forget all the work your students did. However, doing this before a course rerun will make your life much easier.

This code is not bombproof.

  1. You should check and double-check the output before this hits students.
  2. Studio is a bit broken in how it handles drafts/public versions in imports/exports. Studio has a horrible hack, which this code does not support. Make everything public before exporting.

This code does save a mapping between your old URL names and new ones in the static directory. This will make it possible to compare analytics and similar between runs.

edxml-tools's People

Contributors

pmitros avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

jbartelh

edxml-tools's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.