Live Demo: http://dashingnews.mbodmer.com/sample
This Dashing widget searches Bing news for a topic that you specify. The widget refreshes every 3 hours by default.
Add it to dashing's Gemfile:
gem 'searchbing'
then run bundle install
Also, you need to sign up for a Microsoft developer account (You can use an existing Gmail account or your Windows Live account)
- In your dashboards layout ERB file, add the following widget HTML:
<li data-row="1" data-col="2" data-sizex="2" data-sizey="1">
<div data-id="bingNews" data-view="NewsList" data-title="Latest News"></div>
</li>
- Copy the files
news_list.html
,news_list.scss
andnews_list.coffee
to a new/widgets/news_list
folder- Optionally, you can install this widget with a dashing command (If you do this, skip Step 3)
dashing install GIST_ID
- Move the bing_news.rb file into the
/jobs
folder - Edit the
news_topic
and thebing_account_key
variables.- You can find your Bing account key here: Microsoft account details
- Run
dashing start
in the command line.
I cannot get this to work. I'm getting a not permission denied message.