Add the gem to your dashing gemfile:
weatheroutlook.sass into the
/widgets/weatheroutlook directory. Put the
weatheroutlook.rb file in the
/jobs folder, the 4 font files (.EOT, .WOFF, .SVG & .TTF) in the
/assets/fonts directory and the
climacons-font.css in the
To use the widget, put the following codes in the
<li data-row="1" data-col="1" data-sizex="4" data-sizey="1"> <div data-id="weatheroutlook" data-view="Weatheroutlook"></div> </li>
Change to your desired location by editing the WOEID (Where On Earth ID) in the jobs file. Lookup your WOEID here
woeid = 2151330 # beijing
You are also able to change the metrics unit for your widget by editing the format in the jobs file. ( Yahoo! Weather API supports both Fahrenheit (f) and Celsius (c). Change the temperature unit by editing the format variable.
format = "f"