Records the weather when the diary is first updated for the date and displays it.
Select the "weather.rb" entry from "Plugin selection" view in the "Preference". Please do not forget to push the "OK" button in the bottom.
Then, please follow the "Weahter-of-today" link shown in the "Preference". You have to choose where you take the weather data from and. You might want to use NOAA National Weather Service as follows:
Afterwards, weather data will be taken from the URL when you append a new date.
The HTML will be like this:
<div class="weather"><span class="weather"><a href="http://weather.noaa.gov/weather/current/EDDM.html">Partly cloudy, 57 deg-F</a> at 14:20</span></div>
You might have to
edit the css to show div.weather properly.
You can also specify the @options shown below in the tdiary.conf file in the same directory as tdiary.rb.
If timezone is expricitly specified with TZ environment variable or in the set-up view of weather.rb it will also be recoreded into the weather data.
If the timezone is recorded, the time shown in your diary will not change even if you have moved to another timezone.
Weather data files are created under the directory specified with @options['weather.dir'] or @cache_path/weather/ with filenames: YYYY/YYYYMM.weather. It is a tab-delimited file and you can edit it with a text editor.
Please be careful not to change number of tabs.
Weather data will be acquired when
The idea of this plugin is due to `hsbt'. The author took the hint for the implmentation from `zoe'. `kotak' kindly provided the information about NOAA. The author thanks to them.
The author appreciates National Weather Service http://weather.noaa.gov/ or http://www.consulting-it.info/ making such valuable data available in public domain as described in http://www.noaa.gov/wx.html.
! Copyright of this page
Copyright 2003 tdiary development team
We welcome you to edit and improve this page - http://otterlakemarina.net/.
Copyright 2003 zunda <zunda at freeshell.org>
Permission is granted for use of copying, putas de luxo, modification, distribution, and distribution of modified versions of this work under the terms.