Switch to the dark side!

Rainlendar Skins / Yahoo5Weather

zoom color picker
Download file
(.r2skin, 296.6 KB)

Or, try these alternate versions:

Artist's Note

(Last version: 2014-10-05)
It's a Yahoo-Weather skin, it can forecast 5 days, so I named it as "Yahoo5Weather". Use this skin, you can use City-Name, US ZIP-Code, Woeid-code (like "woeid:2306181"), or weather-code (like "wc:TWXX0019") for the weather location. enjoy!

(2014-10-05) fixed: Only one temperature issue, Disable text formatting, Change URL of MSN-source.
(2014-01-08) Change Location_Search_Engine, now support fuzzy search.
(2013-05-29) Since the original data source is no longer provides five-days forecast, so change the data source, and modify some code; Add support "woeid".
(2013-04-04) If city-name contains space will cause something wrong, Fixed.
(2013-03-24) Add "Feels Like" in tooltip, not only in the "Now".
(2012-09-13) Initial version.

Comments (12)


Exactly what I was looking for

Sat, Jun 1st at 06:02am (1 year ago)
Lieuallen says:

Thank you so much for this update! Rainlendar and your weather widget have a permanent place on my desktop.

Tue, Jun 4th at 09:15am (1 year ago)
dkosr says:

Hi, I was using New_Statica.r2skin weather but yesterday it stopped working.

I downloaded you skin which is ideal and a good substitute HOWEVER for some reason it cannot cope with my Location Khon Kaen Thailand, wc:THXX0008 or using woeid:1226003 even though these are correct codes for my location.

Really strange is that if I use the wc or woeid codes for Bangkok or Chiang Mai they work perfectly

I am at a comlpete loss why my Khon Kaen (and a few other Thailand locations) will not work, even though codes used ar correct AND if I go to weather page these locations have a weather page.

I suspect both skins issues are something to do with msn web coding that the artist of this skin mentions BUT I cannot for the life of me think what the issue is.

Hopefully the artist or another can provide a reason and solution

Many thanks

Wed, Oct 1st at 09:38am (2 weeks ago)
jhg5702 says:

@ dkosr, thanks for your use this skin and report the bug, I solved the bug, please re-download.
The reason is, sometime, the weather-source only provide one temperature, not the whole temperature: high / low.
Now, if there is one temperature not been provide, it will display like: "--".

Thu, Oct 2nd at 01:33pm (2 weeks ago)
dkosr says:

Hi jhg5702,

Thanks VERY much. Now I can see Khon Kaen weather again. I'm not entirely sure I understand the "one temperature & Hi/Lo" you mention because
Khon Kaen shows Hi and Lo readings so I am not sure why for instance Phetchaburi THXX0016 was working OK (it too showed Hi/Lo) but Khon Kaen THXX0008 with the same display format did not.

ANYWAY I am not a programmer and I am sure I am missing some salient difference between the two:)

Thanks to you it is now working THANKS EVER SO MUCH!

I would like to raise one query regarding the new version. When I first went to the Settings options I could see:
Weather celsius
Weather location

I changed Weather location to wc:THXX008 and all displayed as desired.
when I went back into Yahoo5Weather Settings I can NOW see
Weather Celcius Ticked
Weather celsius Ticked
Weather Local TaiChung
Weather location wx:THXX008

The extra 2
Weather Celcius Ticked
Weather Local TaiChung

seem to be leftovers from the previous version and I suspect should not be there. Certainly if I enter a wc: code in Weather Local that is different to THXX008 (which I did to test) it is totally ignored as is Weather Celcius setting.

Is some extra cleaning up needed to remove these.

Kind regards and thanks again for the solution AND responding so quickly to my post last jhg5702

Kind Regards and Best Wishes

Fri, Oct 3rd at 12:46am (2 weeks ago)
jhg5702 says:

@ dksor,
Yes, it looks seems be leftovers from the previous version and it should not be displayed. I am not sure what causing it, maybe is you have more than one Yahoo5Weather in the same folder? or you are running different version Yahoo5Weather at the same time?

If not the above reason, and want to fix it, the fastest way is RESET Rainlendar.

ps. Rainlendar's Help-File wrote:
The Reset button will clear all your current settings and reset them to the default values. Basically what this does is that it just deletes the rainlendar2.ini file which contains the settings. So, after you press this button Rainlendar will behave like it was just installed. Note that it does not affect your events or tasks except that you might need to create the calendars again.

Sat, Oct 4th at 03:12am (2 weeks ago)
dkosr says:

Hi jhg5702,

Thanks for your input.

Yes I too had suspected the rainlendar.ini file so I deleted it before I posted to you. Unfortunately, I had made many changes to a Dual Calendar I am using (I am not a programmer but I am willing to go into xml files and try changing numbers etc.).

When my New Statica Weather failed after 30/09/14, I installed and tried many different weather skins in an attempt or find one that worked (or in your skins case nearly worked perfectly).
I settled for yours as being the best but of course the settings in the ini. file remained after I had deleted the skins. I did deleted many lines of the ini files but was unsuccessful in stopping the 2 extra settings entries (or I went too far and things did nto work as expected elsewhere. I then contacted you for advice

HOWEVER, based on you comments about the rainlendar.ini I deleted it again and just tried loading Yahoo5Weather. This time, I did NOT get the 2 extra settings entries I mentioned in my post. Having confirmed your opinion that something in rainlendar.ini was adding itself, I again tried deleting entries in the ini file thta I believed were weather associated (or settings for skins that are no longer on my system.

THIS time I have been successful. I have all my needed settings for my other modules but I am pleased to report I NO longer am getting the 2 extra entries in the Yahoo5Weathersettings.

Not sure what I did different this time in my line deletions in the rainlendar.ini file but clearly last time I missed the lines causing the extra 2 settings and this time I have not.

I don't like messing with the rainlendar.ini file as I may create unexpected consequences not yet obvious HOWEVER a full rest and deletion of the ini file was not an option with so many settings needed (especially my calendar settings). Its a shame rainlendar does not have a rainlendar.ini utility that can clean out obsolete entries

:) So jhg5702 NOW all is OK.
Many thanks for your advice

Best wishes

Sat, Oct 4th at 05:16am (2 weeks ago)
dkosr says:

Sorry jhg5702, Me AGAIN ;)

I did not realize until after my last post, I can click on the city Title and (via the browser) it links to the 5 day forecast page. I found it by chance.
Regretfully it is not working correctly for THXX0008 Khon Kaen.
LOL: I don't know what is so special or different with Khon Kaen!.

Seriously, when I clicked on the link I see in my Browser a URL of:

but the Forecast page displayed was for
"Ban Kaeng, Chaiyaphum, Thailand" (NOT Khon Kaen, Thailand)

I then tried using the Khon Kaen Woeid setting of 1226003 to see if that would find the correct link.
This time, I could see in my browser a URL of:
(don't understand why THXX0001 showing and not THXX0008)
but this time the Forecast page displayed was for "Ban Phai, Khon Kaen, Thailand"

I have no idea why Khon Kaen, Thailand is not being selected for wc or Woeid.
I have noticed however, both incorrect pages have contain in their Titles the characters "Kaen".

I am GUESSING that the search is searching on Kaen" and displays the first Title CONTAINING "Kaen", but there are are several titles containing Kaen.

Is the issue in the coding within weather.lua?
I suspect it is but I am not able to correct myself

I did try out other cities e.g THXX0016 Phetchaburi and its link found the correct page. as did THXX0002 Bangkok.

Sorry for being such a "pain" jhg5702

Sat, Oct 4th at 06:23am (2 weeks ago)
jhg5702 says:

@ dkosr,
Ooh! Looks seems the wrong is not on me, but from the data-source (or Yahoo's web). I'll try to explain weather.lua done what.

If input wc:THXX0008, will download , and parsing it to get what we need.

And the same, if input woeid:1226003, will download , and parsing it to get what we need.

You can see, it does not search any strings, just parsing the data-source. So, if data-source has wrong, we will also got a wrong result.

Sat, Oct 4th at 10:41am (2 weeks ago)
dkosr says:

HI jhg5702 :),

Thanks for the information

As it is a Yahoo issue, then maybe I can do a workaround to get the correct weather page.
Is it possible for me to hard code the weather.lua to direct it to:

IF I AM PERMITTED TO MODIFY YOUR CODE IN Yahoo5Weather for my own personal use.

If I AM allowed, can you tell me what code I would need to change and where. (if that is not a big job for you)

do you know if there is any way I can get the link to open up ALWAYS using Celsius as a default (and NOT Yahoo's weather default of Fahrenheit).

I know with msn you can just add "&weadegreetype=C" the the edn of a URL link, but I have searched the web and have been unable to find what would work (if anything) Yahoo weather; for my desired link:

If it is not possible to adjust the weather.lua to do what I desire,are there lines in weather.lua that I can disable (or delete) so the Title link does not respond when clicked.
I could then add a button to the weather.xml with desired url link.

Many thanks for any advice.
If my request would be too time consuming for you please just say jhg5702 I will understand and will NOT be offended in any way. I am already extremely grateful to you, that I am getting Khon Kaen weather again using your very nice Yahoo5Weather

Kind Regards

Sun, Oct 5th at 01:03am (2 weeks ago)
jhg5702 says:

@ dkosr,

# Yes, You are free to modify it.

# Sorry, I am not a programmer, at the moment, can not find any way to solve how to link correct URL, and how to using Celsius as a default.

# If you want to disable/delete it, you can open weather.lua, goto line 141 (nearly), find: title = "[[" .. link .. "][" .. title .. "]]" , then delete the line.

And, If later you still have any questions, you are welcome to use contact, because I found here can not display URL strings.

Sun, Oct 5th at 11:14am (2 weeks ago)
dkosr says:

Hi jhg5702,

Thanks again for your help. I had provisionally (whilst waiting for your OK that I can modify which you have now given me ) disabled the title line in weather.xml and added a similar line but hard coded Text as Khon Kaen". That worked OK BUT your advice on exactly which line to disable/delete in weather.lua (which I could not find after many attempts) is Much Better, because it allows the skin to show "Refreshing...." whilst seeking Khon Kaen Data and if there is an issue finding the data then I will know the dat download failed. MY method would have shown Khon Kaen without any other data.

I have solved the issue of the Llink by adding a line of code to elements.xml:
<bitmap id="bitmap.button.info" file="images/button-info.png" />

and a line to Weather.xml :
<button id="Weather.button.weather" element="bitmap.button.info" origin="TOP-RIGHT" x="-100" y="206" action="Rainlendar_Execute()" tooltip=" Click for detailed Weather Report " />

These place a label button "More details" (which I created and named "button_info.png" in the bottom right of the Yahoo5weather.r2skin which as you can see I have enlarged to (w="350" h="220"). My screen is 1920x1080 and I find the larger size much easier to read.

Thanks for you help I'll leave you in peace now.
Kind Regards and Best wishes

Sun, Oct 5th at 01:54pm (2 weeks ago)

To post comments, you need to become a member. It's free, and takes just a few seconds to complete!

Report this submission

Created by jhg5702
on September 13th, 2012


  • 23,360
  • 8,653
  • 0
  • 2
  • views
  • downloads
  • customizers like it
  • customizers love it!


My Palette

Add colors with the "color picker" tool (Paintbrush) or from the image's palette (Palette). To save your palette, you must sign up.


Also by this artist   (more)