Fonecal parses formula1.com for each Grand Prix and outputs an iCalendar file with every qualifying, practice, and race session for this year's 2014 Formula One season. All event times are converted to UTC time, allowing calendars to convert the event time to the user's current timezone.
The latest version of the calendar is hosted here: martinbmadsen.dk/files/fonecal.ics, and can be subscribed to in most calendar applications.
Note: Most users do not need to read past this point.
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install fonecal
require 'fonecal' and call
To create an iCalendar file in the current directory, readable by your favorite text editor. It is then ready to be imported in a calendar application.
A list of stuff I (might) eventually do.
- fix tests
- create a better CLI exposing more features
- add documentation
- 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