sarvevents
sarvevents is a simple ruby gem that makes it easier to parse data from a recordings events.xml file.
This gem is currently being used on the recording server to parse events and build meeting dashboards.
Testing
bundle install --path vendor/bundle
Copy an events.xml
file into testdata/
dir.
bundle exec ruby example.rb testdata/events.xml
Installation
Add this line to your application's Gemfile:
gem 'sarvevents'
And then execute:
$ bundle
Usage
Recordings
require 'sarvevents'
recording = SARVEvents.parse("events.xml")
recording.metadata
recording.meeting_id
recording.start
recording.finish
recording.duration
recording.attendees
recording.moderators
recording.viewers
recording.polls
recording.published_polls
recording.unpublished_polls
recording.files
recording.create_csv("data.csv")
Attendees
attendee.name
attendee.moderator?
attendee.duration
attendee.joined
attendee.left
attendee.joins
attendee.leaves
attendee.engagement
Polls
poll.published?
poll.start
poll.options
poll.votes
License
The gem is available as open source under the terms of the LGPL 3.0 License.