XWidgetSoft Forum
https://www.bbs.xwidget.com/

icons and weather
https://www.bbs.xwidget.com/viewtopic.php?f=3&t=2689
Page 1 of 1

Author:  Jimking [ March 5th, 2013, 3:42 am ]
Post subject:  icons and weather

Many times when I make a new weather widget, is difficult to synchronize the icons with the weather.... :(
I use the numerical or with txt pngs but I don't know why the weather results with the wrong icon.... I also made this test:
I used the default icons from a working weather widget, I tried to change the name my icons exactly with the corresponding icons, same number of icons that are shown the same weather condition, I put them back in my widget but the weather shows me wrong AGAIN... WHY this happens??? What I'm doing wrong..??? :?

Author:  Tony [ March 5th, 2013, 6:35 am ]
Post subject:  Re: icons and weather

Hi,
There is the AccuweatherCore weather icon number description:


Code:
1--Sunny
2--Mostly Sunny
3--Partly Sunny
4--Intermittent Clouds
5--Hazy Sunshine
6--Mostly Cloudy
7--Cloudy
8--Dreary
9--null
10--null
11--fog
12--showers
13--Mostly Cloudy with Showers
14--Partly Sunny with Showers
15--Thunderstorms
16--Mostly Cloudy with Thunder Showers
17--Partly Sunnty with Thunder Showers
18--Rain
19--Flurries
20--Mostly Cloudy with Flurries
21--Partly Sunny with Flurries
22--Snow
23--Mostly Cloudy with Snow
24--Ice
25--Sleet
26--Freezing Rain
27--null
28--null
29--Rain and Snow Mixed
30--Hot
31--Cold
32--Windy
33--Night Clear
34--Night Mostly Clear
35--Night Partly Cloudy
36--Night Intermittent Clouds
37--Night Hazy
38--Night Mostly Cloudy
39--Night Partly Cloudy with Showers
40--Night Mostly Cloudy with Showers
41--Night Partly Cloudy with Thunder Showers
42--Night Mostly Cloudy with Thunder Showers
43--Night Mostly Cloudy with Flurries
44--Night Mostly Cloudy with Flurries

Author:  Jimking [ March 5th, 2013, 6:38 am ]
Post subject:  Re: icons and weather

Thank you VERY MUCH for the clarification!

Author:  digigamer [ March 9th, 2013, 7:21 am ]
Post subject:  Re: icons and weather

I also a related problem.
binding the %weatherIconNum2 (and others too form 1-7) doesn't work.

Here's what i've
an image control.
BindingCore : accweathercore1
CoreFormat : Icons/%%weatherIconNum2.png

I've all weather icons (1-44) in a folder 'Icons' in widget root directory.
Plz Help :?

Author:  Jimking [ May 1st, 2013, 2:45 pm ]
Post subject:  Re: icons and weather

You have to change the code a bit. If you make even a single "error" using another symbol or number the code will not work!
Create a folder IN the (same) widget's folder using any name and the code like this:
(if your folder's name is "icons")

icons\%curWeatherIconNum.png
current weather

icons\%curWeatherIconNum1.png
day1 weather

icons\%curWeatherIconNum2.png
day2 weather

etc

Author:  digigamer [ May 1st, 2013, 4:38 pm ]
Post subject:  Re: icons and weather

Thanks
The issue was with icon numbering which had I messed up. And the widget is already up at dA.

Page 1 of 1 All times are UTC - 8 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/