Code Monkey home page Code Monkey logo

cc2olx's Introduction

cc2olx

https://github.com/openedx/cc2olx/workflows/Python%20CI/badge.svg?branch=master

cc2olx is a converter of Common Cartridge .imscc files into .tar.gz files that can be imported into Studio.

What is supported

Converted:

  • HTML
  • Web links
  • Some videos
  • LTI links
  • QTI assessments

Not converted:

  • Images

Install

Clone repository and install via setup.py:

python setup.py install

Use

The converter is a command-line Python 3 program.

To convert one file:

cc2olx -i <IMSCC_FILE>

This will write a .tar.gz file into the tmp directory here.

To store all results in zip file:

cc2olx -r zip -i <IMSCC_FILE>

An embeded video in an iframe tag in HTML can be converted to it's corresponding video xblock if we provide a link map file to it.

The CSV file should have the following header:

External Video Link, Edx Id, Youtube Id

Either Edx Id or Youtube Id should be be present. In case both of these are given Edx Id takes priority.

The link map file can be supplied using -f or --link_file:

cc2olx -r zip -i <IMSCC_FILE> -f <CSV_FILE>

Test Data

There are some test imscc files in test_data directory, but if you can also try cc2olx on some larger courses:

To Do

We would love help building out this tool. If you can help, either with development, or with real-world testing, please submit pull request or open new issue.

Work that needs to be done:

  • Test on real courses
  • Clean up the code
  • Add support for more Common Cartridge content
  • Write more documentation

Video Upload Tool

  • The cc2olx repository also has a video upload tool that can be used to upload videos to directly to edX's video encoding pipeline. See the tool's README :ref:`video_upload_tool`. for a further details.

cc2olx's People

Contributors

edx-requirements-bot avatar alangsto avatar 0x29a avatar stvstnfrd avatar nedbat avatar michaelroytman avatar azarembok avatar farhaanbukhsh avatar shimulch avatar kaizoku avatar ilee2u avatar ashultz0 avatar sarina avatar varshamenon4 avatar feanil avatar jansenk avatar jawayria avatar bseverino avatar aayushagrawal9 avatar arjunsinghy96 avatar janimo avatar dependabot[bot] avatar usamasadiq avatar tuchfarber avatar schenedx avatar aht007 avatar mraarif avatar arbrandes avatar brian-smith-tcril avatar pcockwell avatar

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.