DesktopX Weather Widget Fixes

Wednesday, July 8, 2009 by sViz | Discussion: DesktopX

The purpose of this thread is to compile and post fixes for the recent weather widget problem for anyone who has the patience to implement them. I'll try to edit this post to keep it up-to-date.

 Edit 7/10: Important information for DX authors.

 Edit 7/12: Added clarification to 2a for DX users - ZubaZ

 Edit 7/13 : Removed fixes due to legal ambiguity

 

Contents

1. The Problem

2. The Fixes

e. Disable the Weather

3. For Authors

a. Using The Weather Channel Feeds

b. Using Another Source

c. Weather & DX Themes

 

1. The Problem

If your weather widget has suddenly stopped working properly, it is likely because the source, Weather.com, has changed their site to prohibit unlicensed usage. The majority of weather widgets on this site were built with the same code which is now outdated.

Symptoms of this particular problem are:

-You get a message saying the location is invalid
-When you try to clear this message it keeps popping up

 

2. The Fixes (as far as we know)

 

*** UPDATE 7/13/09 ***

I have tried to find more information and understand the legalities of the TWC XOAP data feed services and due to ambiguity I have removed these fixes so as not to put anyone else at risk of violating known or unknown weather.com license agreements.

A very good read on the situation with weather.com and their feeds can be found here: http://www.rainmeter.net/forum/viewtopic.php?f=4&t=615

At the present time the only remaining option for end-users is to disable and/or discontinue using the weather widgets.

 

 


E.  DISABLE THE WEATHER:

If you are using a combo widget or theme and would just like to disable the weather parts read below.

There are a few objects that need to be "turned off". To do this you will open the widget/theme in DX Builder (be sure to turn off internet connection first,) find the object, right-click and uncheck Script Enabled.

These objects may be several of the following. (You can ctrl + click to select more than one object in the object list, then r-click and uncheck Script Enabled.)


Version 1:

"weather_image"
"weather_temp"
"weather_location"


Version 2:

"kdockweatherimage" (and/or "kdockweatherimage2")
"Kdockweatherlocation" (and/or "kdockweatherlocation2")
"kdockweathertemp" (and/or "kdockweathertemp2")
"kdockforecastimage1" (through "kdockforecastimage5")


Version 3:

"Weather_Output"
"Weather_Script"
"WeatherFunction_ToggleUnits"
"CUI_SCripts"
"WeatherFunction_SetLocation"

 

 

 3. For Authors

A Notice From the WC Staff:

Starting Monday, July 20th, we will start exiling weather widgets from the WinCustomize galleries that have not been updated and/or violate any ToS/ToU in regards to weather feeds.

See here for more details.

 

Q: Can't I fix and reupload my widgets?

It's fairly certain that our widgets are not in compliance with The Weather Channel's license agreements. Among other things, a widget using TWC's feed now needs to include their logo and 5 advertisement links (to see the full details get registered and download the SDK file included in your confirmation email.)

This is aside from the fact that most of these fixes hard code YOUR license ID and KEY, and you CAN NOT allow others to use these; uploading a fixed widget with your ID and KEY is in violation of the license agreement.

The short answer is no. We can't use these fixes and then reupload our widgets.


Q: What CAN I do?

Right now you need to archive your skins before they are deleted from the galleries.


Q: So that's it? No more weather widgets?

Not necessarily. We have two options:  A. Re-build our widgets in compliance with TWC's license agreement or  B. find another data source.

 

 

A. USING THE WEATHER CHANNEL FEEDS

If you are looking to rebuild your widget in compliance with TWC's agreement you'll need to do the following:

- Register, download and thoroughly read the SDK file included in your confirmation email
- Comply
- Add a function to allow the user to input their license key and partner ID.
- Add a link to the registration page so users know where to get the key and ID.
- Be mindful of the fact that TWC could change their site again and consider putting contingencies in place to prevent further headaches. (i.e., Use and external script that can be copied onto the user's computer, and have as little code in the actual objects.)

 To be clear, anyone looking to make a weather widget using weather.com services MUST be in compliance with their terms of service and license agreements.

 

B. USING ANOTHER SOURCE suggestions by Zubaz

If you decide to part ways with TWC, here are some alternative weather feed sources to consider (You will need to abide by their Terms of Service as well):

-  Wunderground.com  -- LINK

- Yahoo! -- LINK 

- rssweather.com -- LINK

 

Again, I strongly advise using an external script to save yourself (and by extension your end-users) from any headaches in future.

 

C. WEATHER & DX THEMES

If you are a DesktopX theme author, the best advice for now is to exclude the weather widget from your theme and consider uploading weather as a separate widget in future.

 

 

 

 

 

That's all for now...

Leave questions, comments, and your experience reports below.

First Previous Page 2 of 11 Next Last
CarGuy1
Reply #21 Thursday, July 9, 2009 12:04 PM

Since watch a thread is currently down, I'm marking the thread so I can find it later.

 

Great job on what you all have come up with so far.

sViz
Reply #22 Thursday, July 9, 2009 12:45 PM

Wizard1956
I was going with solution "E" In the object list I have mostly "weather..." showing.LOTS of them.It makes it hard to disable things with no more info than that. Even so, there is no way am I going through every single one in my collection.

Wiz, if all you are seeing is "weather..." it means the column isn't big enough. Go up to the top of the object list window, positions your cursor just after the ObjectID header; the cursor should turn into the column resizer icon. Click and drag to widen the column.

There are at most, only 3 or 4 objects that need to be disabled so it isn't a laborious process.


Doesn't this make all weather widgets/DX themes in the galleries that use weather dot com a direct violation of the TWC terms of usage? Same for Master DX themes for sale, if they don't comply and/or will not work in their present form shouldn't they all be removed. Flame me if you like,but why would anyone download a broken widget/theme? I see no disclamer or notification in any gallery that these will no longer work or require signing up with TWC and modification before they will function.(Even then,they won't comply unless the links and logo are added.)

Like I said, I think its really up to the author (unless Stardock wants to go around removing everything from the galleries.) I have put a notice in all my skins that use weather--thankfully, only two--with a link to this thread to disable (not modify) the weather parts until I can update them.

If the widgets are disabled/not working, then they aren't using the TWC feed, and therefore are not in violation, IMO.

DrJBHL
Reply #23 Thursday, July 9, 2009 2:11 PM

sViz and neophil...great work, and my thanks as well...just got back from work and found this. Who sez Xmas comes only once a year?

You folks totally rock and I truly am grateful!

Since watch a thread is currently down, I'm marking the thread so I can find it later.

Excellent advice, CG!

adni18
Reply #24 Thursday, July 9, 2009 2:21 PM

Great work neophil and sViz!

Don't forget to thank Vad_M who give us first the B. solution!

Online
Reply #25 Thursday, July 9, 2009 6:05 PM

- This hardcodes NOTHING and the widget goes fine

- Restore your internet connection and test the widget (Use the change location button)

- If all goes okay (and it will), you can now export the widget again.

 

Thanks sViz, that worked like a charm! The instructions were easy to follow (once I found the DesktopX Builder utility) and right on the money. I can't believe how much I missed having my weather icon on the top corner of my screen to let me know when the bad weather was blowing in from the West.      

Nimbin
Reply #26 Thursday, July 9, 2009 7:46 PM

If you really want to register, just enter your Town and Country that you are using currently in widgets in the box "U.S. Zip Code or City Name *"

 

i did that and got an error message.

Thuglifejunior
Reply #27 Thursday, July 9, 2009 10:01 PM

sViz Whoop Hot Diggity Dawg on a cold northerly wind frosted Tuesday, I think I love you, no more to be said, thats it, I have asked my Missus if I can marry you, and she said positely NO!!!! with a hard slap, but we can still elope Ha Ha Ha Ha thanks so much for putting all of this together, I missed my weather widgets terribly, now I have my beloveds back, cos also they make for great screenshooting props Ha Ha Ha Ha thanks a lot mate, you rock

ZubaZ
Reply #28 Friday, July 10, 2009 9:26 AM

If you are interested in another feed source you can try http://wiki.wunderground.com/index.php/API_-_XML

It still requiers the logo displayed but it does not require the links.

ZubaZ
Reply #29 Friday, July 10, 2009 9:29 AM

And another: http://developer.yahoo.com/weather/

Terms of use at the bottom of the page (can use text or image)

Wizard1956
Reply #30 Friday, July 10, 2009 10:33 AM

There are some themes that will run,as they give the option to disable the script during loading.

I made a list of the ones I have loaded successfully out of my collection here.

And to everyone working on alternate solutions  THANK YOU.

sViz
Reply #31 Friday, July 10, 2009 10:40 AM

Thanks for the links Zu. Now we just need more DX coders willing to take on these alternatives.

ZubaZ
Reply #32 Friday, July 10, 2009 12:28 PM

Yet one more option:

http://www.rssweather.com/wx/us/mi/plymouth/wx.php / http://www.rssweather.com/wx/us/mi/plymouth/rss.php

"Web Site Usage - If you are using the feed on your web site, you are required to maintain a link to rssWeather.com and hamweather.com"

Not so bad and many global sites.

ZubaZ
Reply #33 Friday, July 10, 2009 12:30 PM

Thanks for the links Zu. Now we just need more DX coders willing to take on these alternatives.
Now is a great time for "the good ol' days of skinning" to return and a bunch of different people try their hand at making thier best code and the users reap the benefits.

sViz
Reply #34 Friday, July 10, 2009 12:41 PM

Now is a great time for "the good ol' days of skinning" to return and a bunch of different people try their hand at making thier best code and the users reap the benefits.

I agree. I'm willing to finish up the one for TWC, which is around 90% now, and then take a stab at Wunderground.

If any other authors are going to take a stab at it, I HIGHLY recommend using an external script that saves to a location on the user's computer, and having as little code as possible in the actual objects.

k10w3
Reply #35 Friday, July 10, 2009 12:48 PM

Zubaz
Now is a great time for "the good ol' days of skinning" to return and a bunch of different people try their hand at making thier best code and the users reap the benefits. 


I would really like to learn how to make DX weather widgets, but I would need somebody to put together a tutorial that goes through each individual step with matching pictures, because I can't make heads or tails out of the tutorials that are available now, even though I believe the present tutorials are probably fantastic.  I just can't seem to grasp the theory behind them.

Richard Mohler
Reply #36 Friday, July 10, 2009 12:58 PM

So just replace xoap to  xml instead.. That's all I did and it works..

sViz
Reply #37 Friday, July 10, 2009 1:21 PM

Updated with important information for DX authors.

ZubaZ
Reply #38 Friday, July 10, 2009 1:46 PM

Richard Mohler
So just replace xoap to  xml instead.. That's all I did an.d it works..
There is license text at the top of that feed.  If you use the feed you have to comply to the license

MaxBlade
Reply #39 Friday, July 10, 2009 4:49 PM

How can I say THINGS! Man I had one that I could'nt even find here anymore (shows big sun, big moon) I new nothing on how to fix it Yet with this thread I fixed it and turned it into a wedget!

 

Edit: does anyone know if I need to fix this? "http://www.w3.weather.com/weather/alerts/?alertId=" & Object.PersistStorage("swid") & "&dbSeq=null"

it dont seem to work.. I lol have no clue.. thanks..

az0th
Reply #40 Saturday, July 11, 2009 12:13 AM

I'm outside the U.S. so option B is out. I panic when it comes to script but the weather widgys were busted anyway, so with nothing to lose I tried fix A (Neophil78) on a couple I regularly use and darned if it didn't work !!!

Thanks sViz and Neophil78!!! 

Please login to comment and/or vote for this skin.

Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:

  • Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
  • Access to a great community, with a massive database of many, many areas of interest.
  • Access to contests & subscription offers like exclusive emails.
  • It's simple, and FREE!



web-wc01