Selene
Selene is an iCalendar parser for Ruby. It takes a string in iCalendar format (RFC 5545) and outputs a serializable hash.
Installation
Add this line to your application's Gemfile:
gem 'selene'
And then execute:
$ bundle install
Or install it yourself as:
$ gem install selene
Usage
ical = Selene.parse(File.read('calendar.ics'))
Demo
I wrote a quick little ical to json Heroku app:
http://ical-to-json.herokuapp.com/
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Namesake
Selene is the Greek goddess of the moon, and also happens to be a vampire from the excellent film Underworld: