Process Adobe Captivate results with Ruby
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib/generators/ruby_captivate
test
.autotest
Manifest.txt
README.rdoc
Rakefile
ruby_captivate-1.1.4.gem
ruby_captivate.gemspec

README.rdoc

Ruby Captivate

Process Adobe Captivate SWF files with Ruby on Rails 3.0+

rubygems.org/gems/ruby_captivate

SYNOPSIS:

After completing a Captivate quiz, a “captivate_results” directory is auto-created beneath the “doc” directory of your project.

In this “captivate_results” directory, XML files containing the Captivate quiz results will also be auto-created.

After installation, take a Captivate quiz and check for a generated XML file in 'doc/captivate_results/'. You can then use the Nokogiri gem to parse the results.

rubygems.org/gems/nokogiri

REQUIREMENTS:

Rails >= 3.0

INSTALL:

In your Captivate instance, you must specify a target URL of “www.example.com/internalreport

Detailed instructions on how to set this up on the Captivate end can be found at: tv.adobe.com/watch/publish-and-track-results/reporting-using-lms-or-internal-server/

run:

gem install ruby_captivate

Add the gem to your gemfile and then run the generator:

rails generate ruby_captivate:install

This will create a route, a captivate_results_controller, and a process_results view file. The view file is only a stub file as Adobe Captivate will show your users an 'unknown error' popup without one due to Rails complaining about the lack of a view template. A 'skip_before_filter' is added to the controller, otherwise Rails won't be able to verify the CSRF token coming from Captivate.

LICENSE:

(The MIT License)

Copyright © 2012 Michael Leveton

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.