It seems that when i log in or restart, and dont individually close and load the weather widget, the drawer action stops working.. And about that Low/High being the same, i was wrong in thinking it was a bug, today its fine again now that the high hasnt been reached yet!
[link/release] Dashboard Weather Widget
I realized that when i press the drawer, it doesnt change anything, BUT when I turn the showcase on, the widget magically closes or opens from when i clicked minutes ago. there is no animation for it, it just actually responds when i put on showcase. Any ideas?
So now. Does the real Dashboard weather do anything fancy with the phases of the moon?
Yes it does.
Here is the code to set the image (excess snipped):
var MoonMap=[1, 2, 3, 4, 5, 6, 7, 7, 8, 9, 10, 11, 12, 13, 13, 14, 15, 16, 17, 18, 19, 19, 20, 21, 22, 23, 24];
var Moon = findChild (adc_Database, "Moon");
obj.phases = new Array;
if (Moon != null)
{
var child;
var j =0;
for (child = Moon.firstChild; child != null; child = child.nextSibling)
{
if (child.nodeName == 'Phase')
{
var phase = parseInt(child.firstChild.data, 10);
if (phase < 1 || phase > 27 || isNaN (phase))
phase = 15;
phase--; // 0 base array
phase = MoonMap[phase];
obj.phases[j++] = phase;
if (j == 7) break;
}
}
}
function getMoonPhaseIcon (object)
{
try {
var phase = object.phases[0];
if (phase > 0 && phase < 25)
{
return getPathForPhases() + "moon-"+phase+".png";
}
} catch (ex) {}
// always fall back to our full moon pic
return "Images/Icons/moon.png";
}
Here is the XML data used (this is a few days old):
<Moon>
<Phase date="5/10/2005" text="">1</Phase>
<Phase date="5/11/2005" text="">2</Phase>
<Phase date="5/12/2005" text="">3</Phase>
<Phase date="5/13/2005" text="">4</Phase>
<Phase date="5/14/2005" text="">5</Phase>
<Phase date="5/15/2005" text="">6</Phase>
<Phase date="5/16/2005" text="First">7</Phase>
<Phase date="5/17/2005" text="">8 </Phase>
<Phase date="5/18/2005" text="">9 </Phase>
<Phase date="5/19/2005" text="">10</Phase>
<Phase date="5/20/2005" text="">11</Phase>
<Phase date="5/21/2005" text="">12</Phase>
<Phase date="5/22/2005" text="">13</Phase>
<Phase date="5/23/2005" text="Full">14</Phase>
<Phase date="5/24/2005" text="">15</Phase>
<Phase date="5/25/2005" text="">16</Phase>
<Phase date="5/26/2005" text="">17</Phase>
<Phase date="5/27/2005" text="">18</Phase>
<Phase date="5/28/2005" text="">19</Phase>
<Phase date="5/29/2005" text="">20</Phase>
<Phase date="5/30/2005" text="Last">21</Phase>
<Phase date="5/31/2005" text="">22</Phase>
<Phase date="6/1/2005" text="">23</Phase>
<Phase date="6/2/2005" text="">24</Phase>
<Phase date="6/3/2005" text="">25</Phase>
<Phase date="6/4/2005" text="">26</Phase>
<Phase date="6/5/2005" text="">27</Phase>
<Phase date="6/6/2005" text="New">1</Phase>
<Phase date="6/7/2005" text="">1</Phase>
<Phase date="6/8/2005" text="">0</Phase>
<Phase date="6/9/2005" text="">1</Phase>
<Phase date="6/10/2005" text="">2</Phase>
</Moon>
Apple uses accuweather.com XML data.
-Edit-
Does anyone else use the different dayband images?
may i get an answer to my timezone question?
Regarding the timezone: e.g. if you are in Germany/Spain/Netherlands/... your time zone is GMT+2.
To adjust Dashboard weather you´ll have to set it to GMT -4. Which are -6 timezones.
Same same with every other timezone you could be living in.
I think you mentioned something having a timezone of GMT(-6)' date='so that would be GMT(-12).
If you guys are living in India, I think you´re allowed to set it back 5:30h(India:GMT+5:30).
[/quote']
i get it, but it is wrong. i have it set to -12 now, and it's showing AM background although it is PM.
Why do we have to do this anyway (even though it's wrong), shouldn't this problem be address in the code?
But how is the moon actually displayed? i.e. has anyone got a screenshot of the moon phases being displayed?
I don't have screenshot, but it is probably similar to the way Konfabulator displays images.
One image for sun or moon and others for clouds, haze, etc.
var accuweatherIcons =
[
["sun"], // 1 Sunny
["sun"], // 2 Mostly Sunny
["partlycloudy"], // 3 Partly Sunny
["partlycloudy"], // 4 Intermittent Clouds
["sun", "haze"], // 5 Hazy Sunshine
["partlycloudy"], // 6 Mostly Cloudy
["clouds"], // 7 Cloudy (am/pm)
["clouds"], // 8 Dreary (am/pm)
null, // 9 retired
null, // 10 retired
["fog"], // 11 fog (am/pm)
["rain"], // 12 showers (am/pnm)
["rain&clouds"], // 13 Mostly Cloudy with Showers
["rain&sun"], // 14 Partly Sunny with Showers
["lightening"], // 15 Thunderstorms (am/pm)
["lightening"], // 16 Mostly Cloudy with Thunder Showers
["lightening"], // 17 Partly Sunnty with Thunder Showers
["rain"], // 18 Rain (am/pm)
["flurries"], // 19 Flurries (am/pm)
["flurries"], // 20 Mostly Cloudy with Flurries
["flurries"], // 21 Partly Sunny with Flurries
["snow"], // 22 Snow (am/pm)
["snow"], // 23 Mostly Cloudy with Snow
["ice"], // 24 Ice (am/pm)
["hail"], // 25 Sleet (am/pm)
["hail"], // 26 Freezing Rain (am/pm)
null, // 27 retired
null, // 28 retired
["rain&snow"], // 29 Rain and Snow Mixed (am/pm)
["sun"], // 30 Hot (am/pm)
["sun"], // 31 Cold (am/pm)
["wind"], // 32 Windy (am/pm)
// Night only Icons
["moon"], // 33 Clear
["moon"], // 34 Mostly Clear
["moon", "partlycomboclouds"],// 35 Partly Cloudy
["moon", "partlycomboclouds"],// 36 Intermittent Clouds
["moon", "haze"], // 37 Hazy
["moon", "partlycomboclouds"],// 38 Mostly Cloudy
["rain&clouds"], // 39 Partly Cloudy with Showers
["rain&clouds"], // 40 Mostly Cloudy with Showers
["lightening"], // 41 Partly Cloudy with Thunder Showers
["lightening"], // 42 Mostly Cloudy with Thunder Showers
["snow"], // 43 Mostly Cloudy with Flurries
["snow"] // 44 Mostly Cloudy with Flurries
];
I have it showing AM when it's really PM here.
does the background coincide with Sunrise/Sunset, or with it being AM/PM?
And why do we have to -6 hours for the timezone, why can't this just be set in the original coding?
thanks
I have it showing AM when it's really PM here.does the background coincide with Sunrise/Sunset, or with it being AM/PM?
And why do we have to -6 hours for the timezone, why can't this just be set in the original coding?
thanks
It's supposed to change according to sunset/sunrise.
You're supposed to set it -6 hours off from YOUR timezone...
You don't have to do this if you're using Ave's version.
It's supposed to change according to sunset/sunrise.You're supposed to set it -6 hours off from YOUR timezone...
You don't have to do this if you're using Ave's version.
Ok thanks.
I have it set -6 off my timezone, yes. But I'm running Ave's as well. If I do it -6 hours on top of my timezone, or not, it's still buggy. It's 1 o clock AM here and it's showing an AM background. You said it's supposed to change with sunset/sunrise, right?
it makes me laugh a little to see a forecast of moon with clouds, with an AM background
it looks like poop (sorry but you can't brush and polish crap and call it art-in a menner of speaking)
My animation is waaay slow. Under "Draw Animation" in "Meters" I have
Framerate as 23
Framecount as 15
I tried changing both to 2 and nothing happended. What can I do?
it looks like poop (sorry but you can't brush and polish crap and call it art-in a menner of speaking)
I'd say you're in the minority here...most of us think this desklet is pretty good - especially after all the tweaking Judge did to it.
I'd say you're in the minority here...most of us think this desklet is pretty good - especially after all the tweaking Judge did to it.
I agree. This widget is the best looking widget on all platforms in my eyes!
It rules. My animation is soo slow though. Even when right-clicking and hitting "Configure" my whole system gets slow. I am running Avedesk 1.2 with SysStats 2.5.3. Is that ok?
Get 2.5.4 I think it is the latest avaliable ![]()
Grabbed it - still slow. Do I change framerate or framecount?
Mine doesn't seem to be updating automatically. Isn't that option under "Meters", then "Weather"?
Mine doesn't seem to be updating automatically. Isn't that option under "Meters", then "Weather"?
Yes...the box at the bottom left "update interval" sets the auto update timing...default is one hour which is what weather.com says you shouldn't exceed or they could ban your IP from gathering further info from their site.
Doh, I have mine set to every 3 mins. ![]()
Doesn't buy you much to set it that low....I think the weather.com site only updates conditions every 15 minutes anyway. If you set it any lower than that you're just increasing traffic to their servers for no reason...perhaps making them angry enough to ban your IP from accessing the site in the future.
Yeah, makes sense. I just changed it. Thanks.
I was told Ave's version of this widget doesn't use the Time meter? How come when I install it, it is there?
How does Ave's background change, with the sunrise/sunset, or AM/PM?
I was told Ave's version of this widget doesn't use the Time meter? How come when I install it, it is there?
How does Ave's background change, with the sunrise/sunset, or AM/PM?
See posts 143 and 144 in this thread
See posts 143 and 144 in this thread
how do i implement that script? it just says that it may be used instead of the time meter... but the time meter is already in.
thanks for the prompt reply though, hallf
oh, and aren't the days for the real weather widget in caps? eg. "WED"
and, are the moon phases implemented already, i have a full moon all the time and i think it's a half moon where i'm at.
thanks everyone
Aqua-Soft Forums