##Description Simple Dashing widget (and associated job) to display BBC News Stories.
##Dependencies nokogiri
Add it to dashing's gemfile:
gem 'nokogiri'
and run bundle install
.
##Usage To use this widget, copy news.html, news.coffee, and news.scss into the /widgets/news directory. Put the news.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="1" data-sizex="1" data-sizey="1">
<div data-id="news" data-view="News"></div>
</li>
@willjohnson it's because
news.rb
is missingrequire 'nokogiri'
at the top. That will fix it :)