-
Invité
- rang:
- 1
- enregistré depuis:
- décembre 2003
- Status:
- hors ligne
- dernière visite:
- 06.03.05
- Messages:
- 0
Hi there, I just tested out your modules. This is amazing, just what I was looking for. One thing however, i would like my users to be able to enter where they want their weather. That way each visitor can have his/her customized weather. Is there any plans for such a feature, or does that already work, and i just didn't figure it out? Thanks.
I'll probably try to code this in myself if i get a chance. -
Invité
- rang:
- 1
- enregistré depuis:
- décembre 2003
- Status:
- hors ligne
- dernière visite:
- 06.03.05
- Messages:
- 0
I was looking through the weather.com xml documentation and it looks like they do include wind data for their forecasts. How hard would this be to use and display? Would you need to add fields to the database? this would definitely be a feature I would love to see. Thanks. -
- rang:
-
Site Admin
- enregistré depuis:
- décembre 2003
- Status:
- hors ligne
- dernière visite:
- 09.10.08
- Messages:
- 266
Hello,
glad you find the user preference.
The advantage of weather.com over MSNBC is that some data are available only in the weather.com XML feed. This include
- latitude, longitude sunset and sunrise times, local time
- barometric move (rising, falling steady)
the above data are already automatically displayed if you switch the module to weather.com.
other data are in the xml feed and are parsed and stored but not displayed. It would only be a matter of 1 or 2 lines to add them to the display (for instance the "dewpoint" or "gust" I am not a weather specialist so I don't understand what it is !!)
Last, some data are in the xml feed but are not parsed nor stored. I would have to modify the cache table and the xml parser code but it would not be a big job, simply I was not sure what data would be usefull to some users. can you tell me precisely the data you are interested in, using weather.com xml documentation terminology ?
Only one thing would be more difficult (but still doable) : to modify the 5 days forecast because in order to be compatible with MSNBC format I pack all the data in a | separated string. So if I add some fields to the 5 days forecast I need to modify also the MSNBC procedure. -
Invité
- rang:
- 1
- enregistré depuis:
- décembre 2003
- Status:
- hors ligne
- dernière visite:
- 06.03.05
- Messages:
- 0
Hi vedrine,
I've been going through the xml info and looking through your module more to get an idea of how everything works.
Regarding the two unused data that you already have in the database, dewpoint and gust, I did a quick define search on google for dew point:
http://www.goog...amp;oe=UTF-8
And the gust is just the highest reported wind speed, something I would find valuable to display.
The other data I would like to see from the xml is the wind direction in degrees or the <d></d> tag in the <wind> data block. This is the same info as the <t> tag in the wind data block, but in degrees so it's more accurate.
I see you're point about the compatibility with msnbc in changing the forecast. Is msnbc compatibility necessary? Weather.com is free after all. Or perhaps there could be an easier solution to keep compatibility.
The wind data in the forecast is probably the most important thing for me.
In looking through the dtd (http://www.weat.../weather.dtd) the <surf>, <seat>, <seas>, and <tide> data are of interest to me as well. Also what about the severe weather alerts data? -
- rang:
-
Site Admin
- enregistré depuis:
- décembre 2003
- Status:
- hors ligne
- dernière visite:
- 09.10.08
- Messages:
- 266
Weather 1.40 now include wind direction and speed in the 5 days forecast but with thse restrictions:- the data is only available if you use weather.com, not if you use MSNBC
- the directions is given using N S W E, not degrees. I will look to add degrees as an option if I can
I hope to be able to release weather 1.40 very soon. -
- rang:
-
Site Admin
- enregistré depuis:
- décembre 2003
- Status:
- hors ligne
- dernière visite:
- 09.10.08
- Messages:
- 266
Now current wind direction in degrees is also available. Hover your mouse over the wind direction icon and you will see the direction both as text and as degrees. I have also added the same information in the 5 days forecast.








