Export calendar data for jekyll.
Add this line to your application's Gemfile:
gem 'cal_exporter'
And then execute:
$ bundle
Or install it yourself as:
$ gem install cal_exporter
$ cal_exporter calendar CALENDER_ID FILE_FORMAT SAVE_LOCATION
Example code below :
$ cal_exporter calendar engineyard.com_f0a3jqaqooc9r7kmk2hiblojgs@group.calendar.google.com jekyll ~/Desktop/meetups
$ tree
meetups/
├── 2013-04-08-qaias4p.md
├── 2013-04-15-boenj2u.md
├── 2013-04-17-8m2aphs.md
├── 2013-04-20-fqmab6r.md
├── 2013-04-22-5itqrg3.md
├── 2013-04-23-eml2lv5.md
├── 2013-04-24-9jck6ib.md
├── 2013-04-26-go72sbm.md
...
- Fork it ( https://github.com/[my-github-username]/cal_exporter/fork )
- 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 a new Pull Request