Skip to content
Converts an IMS Common Cartridge package to a self-contained web site or epub
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
bin
lib
test
.ruby-version
Gemfile
Gemfile.lock
Guardfile
LICENSE
README.md
Rakefile
cc2html.gemspec

README.md

cc2html

cc2html will convert Common Cartridge 1.3 packages into html or epub format

Common Cartridge information: http://www.imsglobal.org/cc/index.html

Use the Github Issues for feature requests and bug reports.

Installation/Usage

Command line

Install RubyGems on your system, see http://rubygems.org/ for instructions. Once RubyGems is installed you can install this gem:

$ gem install cc2html

Convert a Common Cartridge into EPUB

$ cc2html convert --format=epub <path-to-cc-backup> <name-of-epub-without-extension>

Or into HTML (mostly broken) :)

$ cc2html convert <path-to-cc-backup> <path-to-html-export-directory>

Todo

  • Oh so much!
  • Support converting all Common Cartridge versions
  • Create chapters from organization sections
  • Quiz conversion
  • Styles so it looks good
  • Configurable styles
  • Write epub/html output tests
  • Make HTML output work
  • Make HTML/EPUB code more DRY
  • Handle CC weblink/topic/assignment/LTI types better
  • Automatically zip up epub

Contributing

Run the tests:

$ bundle exec rake
  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request
Something went wrong with that request. Please try again.