Skip to content

Converts an IMS Common Cartridge package to a self-contained web site or epub

License

Notifications You must be signed in to change notification settings

bracken/cc2html

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Converts an IMS Common Cartridge package to a self-contained web site or epub

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages