##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>
I'm trying to get this working with Google News... all good except for the text that is returned by "//channel/item" is pretty messy.
Thoughts?