Dashing (http://shopify.github.io/dashing/) widget that gets your recent posts on App.net. Uses the publicly available RSS feed. You can find this feed on your profile page (RSS link).
Add feedzirra to Dashing's Gemfile:
gem 'feedzirra'
and then run bundle install
The easiest way to use this widget is to use dashing install 5894847
which will put all the files in their right place. If you would like to install manually, copy appnet.html
, appnet.coffee
, and appnet.scss
into the /widgets/appnet
directory. Put the appnet.rb
file in your /jobs
folder. Don't forget to change the URL in appnet.rb
to your own App.net URL!
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="adn" data-view="Appnet" data-title="App.net posts" data-interval="20"></div>
</li>
At the top of the news.rb job file, add any rss feed urls you want fetched to the hash, and the widget id to send data to. In the dashboard layout file, the optional data-interval
binding can be used to specify how frequently to rotate the news items.