Project

cc2html

0.0
No commit activity in last 3 years
No release in over 3 years
Converts an IMS Common Cartridge package to a self-contained web site or epub
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

 Project Readme

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