A simple clone of the Dashing-Milkman widget which does not require API access to the API but uses the non-event iCalendar whose URL you can get on your dashboard.
Add them to dashing's gemfile:
gem 'icalendar'
gem 'haml'
gem 'httparty'
and run bundle install
. Also you need to require 'haml'
in your config.ru
.
Everything should work now :)
##Usage
To use this widget, copy rtm.haml
, rtm.coffee
, and rtm.scss
into the /widgets/rtm
directory. Put the rtm.rb
file in your /jobs
folder.
To include the widget in a dashboard, add the following snippet to the dashboard layout file:
<li data-row="1" data-col="4" data-sizex="1" data-sizey="1">
<div data-id="rtm" data-view="Rtm"></div>
</li>
##Settings
Go to your All tasks
list, copy the URL of the iCalendar
link (the iCalendar (Events)
link will not contain all tasks!) to the rtm.rb
file and replace the webcal://
protocol with http://
.
Tasks are fetched every 5 minutes, but you can change that by editing the job schedule.
Hi, I'm having an issue and the error i'm getting is:
W, [2016-05-11T14:50:27.701899 #26499] WARN -- : No method "last_modified=" for component #Icalendar::Calendar:0x00000003383508. Appending to custom.
Anybody seen this before