[release] Desktopweatherxml 1.4

Samurize has finally released the desktopweather 1.4 script (minus the konfab images) unfortunately for me.. i needed to resize the script because i have an increased font size on my laptop (damn this 1920x1200 resolution!!) but it looks great.. luckily i still have the old images, because i like the confabulator images so much better then any other supplied image!

either way...

GO HERE TO DOWNLOAD:

http://www.samurize.com/modules/mydownload...ewcat.php?cid=9

#115625

Thanks for the info! I have downloaded it and it works perfectly! :)

#115631

did it work with old konfabulator image? somehow the on 1.4 it doesn't change png image, but everything else is working? any help? ;)

#115881

Of course it works with old Konfabulator images ---- but only if you have them.

Just open desktopweatherxml.vbs in notepad and in line 'const IMAGES =' replace weather.com with old.

Then in Samurize\Scripts delete DesktopWeather30min.xml and DesktopWeather120min.xml.

Go to Samurize\Skins\DesktopWeatherXML\temp and delete all 6 pngs that are there.

Reload config and it will show everything soon.

#115886

works like a charm peter , thx....

what I did wrong I guess was I indicated whole directory instead of indicating just old...

right now it works fine...

thank you again.. :D

#115888

Where can i find the Konf. images? I can't stand weather.com's.

#115949

Eh I guess I have to ask out this question more in detail...

Alright what I'm trying to do is setting up the new desktopweatherxml on old konfabulator image.

I set up the all the directory and follow the instruction people has suggested and even

checked out samurize site for little bit of helps...

What it does is it updates all the temperature correctly (not fast enough like 1.2 version though

even refresh time is in 5)

but weather images doesn't refresh automatically like previous 1.2 version.

So I checked samurize site, and people were suggesting edit the meter and set dynamic

png, so I did.. weird thing is it does download proper weather condition images to temp

directory, but it doesn't seem to copy automatically on widget. All the time I have to

use reload in order to indicate weather condition images.....

Are there anyone has similar problem as I did? and corretly fixed? or

does 1.4 works properly for your case? let me know....

Thanks in advance.....well, I guess this would be my last question on xml widgets...

;)

#116782

Hmmm... Sorry to here that.. :( My version 1.4 works flawlessly... Could you zip up you samurize and allow someone to take a peek at your setup.. Maybe someone can see if there's a problem you may have missed.. :) It happens you know.. :)

#116784

alo,

maybe i'm kind of retarded, but is there not a daycondition function in the 1.4 version? on my screenshot below, i want to put in the condition for the next 3 days, but it only seems to have the condition function built in, only for the current day.

#125593

no one knows how to do this? :cry:

#125705

sorry to now triple post here, but i figured someone here knew how i can achieve what i wanted...

at the very least, someone just tell me that i'm S.O.L... with 50+ people looking at this topic from the time i first posted 2 days ago, i figured someone would have some input.

#126481

I've got version 1.4 also.. And I just tried it... It doesn't even pop up so you can enter a day-value ... Hmm... I think it's only for day0. I could be wrong about this though don't quote me on it... Sorry I couldn't be of more help. I don't think I've ever seen any sceenshots of that either.. :(

PS - I think it probably because the condition for that specific day could change by the time it rolls around.. :)

#126500

open up the script and verify that those functions are indeed in there.

#126624

i checked in the script and those functions were not written in to this version... i'm pretty sure they were there on previous ones. would anyone know how to write those functions?

#126665

are the scripts basically the same? i could send you the old script (i have it archived somewhere) and you can add in the commands or compare them.

#126667

actually, while you were posting that, i searched around my computer and i found 1.3 script... that didn't have it either. unless i'm trippin', i know i've had a script at some point that had daily conditions as a function. do you know of a different weather script that can be used? i don't know if this was removed because of changes that weather.com made to their site?

#126671

yeah, you're right.

have you tried the other weather scripts? e.g. weather 2003 pro.

#126700

checked in the script and those functions were not written in to this version... i'm pretty sure they were there on previous ones. would anyone know how to write those functions?

If you want to use the script, you can add the following code to it.

Function getDayCondition(dayNum) 'dayNum values [0...9]
 If getDayHigh(dayNum) = "N/A" Then 'get condition for night
   getDayCondition = boundedString3("<t>", "</t>", 1, boundedString3("<part p=" & Chr(34) & "n" & Chr(34) & ">", "</part>", 1, boundedString("<day d=" & Chr(34) & dayNum & Chr(34), "</day>", x120minFile)))
   If getDayConditon = "NA" Then
     getDayCondition = "N/A"
   End If
 Else 'get condition for day
   getDayCondition = boundedString3("<t>", "</t>", 1, boundedString3("<part p=" & Chr(34) & "d" & Chr(34) & ">", "</part>", 1, boundedString("<day d=" & Chr(34) & dayNum & Chr(34), "</day>", x120minFile)))
   If getDayConditon = "NA" Then
     getDayCondition = "N/A"
   End If
 End If
End Function

#126816

dude, you rock... thanks much :rock:

#126818