sViz sViz

DesktopX Weather Widget Fixes

DesktopX Weather Widget Fixes

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.
End of quote

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.

605,908 views 209 replies +7 Loading…
Reply #176 Top

Hop, re-open :grin:

As we have said before, we aren't going to be purchasing a license
End of quote


Who said there's any licence to purchase ?? Did skinners who got a partner ID and Licenced Key have to purchase anything ? i didn't
End of quote

and here it is ...

Weather XML Data Feed
Now you can include weather from The Weather Channel in your own application by signing up for access to our XML data feed. We'll enable you to search for a location and to integrate current conditions and the forecast for today and tomorrow in your application - for FREE!

End of quote

:-"  

Reply #177 Top


Weather XML Data Feed
Now you can include weather from The Weather Channel in your own application by signing up for access to our XML data feed. We'll enable you to search for a location and to integrate current conditions and the forecast for today and tomorrow in your application - for FREE!
 
End of quote

hmm..

 

Need change ur nick to Neostarker

:ninja:   B)

Reply #178 Top

Need change ur nick to Neostarker
End of quote

Did you mean NeoSkyWalker ?

Reply #179 Top

I was looking into an Accu Weather feed and got this reply. I removed the email addresses.

Hi, Jim. Sorry for the delay in getting back to you; my one day out of the office backed me up more than I thought it would. Unfortunately, we can’t provide feeds for projects intended for wincustomize.com, because we can’t control usage of our feeds. We have to be sure our feeds aren’t being abused because of the cost of serving data, and we can’t do that here…

 

Best,

Michael

________________________________________

From:

Sent: Saturday, August 01, 2009 12:00 AM

To: accuweather.com

Subject: Re: Widgets

 

Michael, I would be making the widgets for uploading at www.wincustomize.com for users to use for free. I do not charge for them. We were using TWC but things got a little iffy with TWC. I know Stardock already has a deal of some sort with your company because they make Gadgets with your feeds in their MyColors themes.

 

I am just a contributer to the site, I do not work for Stardock. My site, and some of my work, can be found here.  http://redneckdude.wincustomize.com

I hope we can come to some kind of agreement on a weather feed from your company.

 

In a message dated 7/31/2009 5:40:26 P.M. Eastern Daylight Time,@accuweather.com writes:

Hi, Jim. Are you building widgets for a personal project, or will you be distributing them commercially?

 

Regards,

Michael

 

Michael Sylvie

Research & Development Group

814-235-8638

AccuWeather, Inc.

385 Science Park Road || State College, PA 16803

www.accuweather.com

 

________________________________________

From:

Sent: Friday, July 31, 2009 2:26 AM

To: @accuweather.com

Subject: Widgets

 

Dear sir, I would like information on making weather widgets and gadgets. I am a widget designer and would like to know how to tap in to your weather feed for my free widgets.

 

Thanks, Jim Dillard

 

You can see my work at http://redneckdude.wincustomize.com

Reply #180 Top

I was considering emailing accuweather but figured there was a reason why they did a for-pay license with Stardock. Thanks for that update Jim.

I've contacted about 3 other weather sites, only one of which has replied so far to say they don't do free feeds. I'll give weather.com that much, at least we can use their stuff...for now.

Scores of other weather sites are just using NOAA/NWS's information.

Reply #181 Top

I wonder why AccuWeather won't let skinners here use their feeds, but they're letting Rainmeter develop skins with their feeds.  :S

Reply #182 Top

I wonder why AccuWeather won't let skinners here use their feeds, but they're letting Rainmeter develop skins with their feeds.
End of quote

That might be through some specific commercial deal....or simply that the comparative popularity [widgets vs rainys] is such that they can 'afford' to carry Rainy's but not ours...;)

Reply #183 Top

Quoting sViz, reply 156

Working on a NOAA/wunderground hybrid that's around 80%:


End of sViz's quote

This looks promising--no logos or links. Is registration necessary for this? I'm still of the mind that I'm not going to use any widget that requires me to register, or that has logos and links on it. I might get desperate enough if I want a widget that matches the skin I'm using, but I doubt it; I'll just keep using Weatherlab 7.  I imagine that a lot of people are going to be put off by having to register. Thanks very much for pursuing this avenue. What about MSN?

Reply #184 Top

Eve, isn't the external script for the TWC widget supposed to remember your info, so that you don't have to input into other widgets with the same scripts?

Reply #185 Top

This looks promising--no logos or links. Is registration necessary for this? I'm still of the mind that I'm not going to use any widget that requires me to register, or that has logos and links on it.
End of quote

That one still requires a Weather Underground logo, but it's on the pop up information page. No registratation required, though. :)

 

Eve, isn't the external script for the TWC widget supposed to remember your info, so that you don't have to input into other widgets with the same scripts?
End of quote

Nope. User information is saved to the individual widget (object.localstorage) not to the external file (where anyone with access to your computer might snag it and use it.)

Reply #186 Top

:-"  



Eve, isn't the external script for the TWC widget supposed to remember your info, so that you don't have to input into other widgets with the same scripts?

Nope. User information is saved to the individual widget (object.localstorage) not to the external file (where anyone with access to your computer might snag it and use it.)
End of quote

Ah, thanks for quick response. I had a small problem with the first day showing NA, but I fixed it and reupped. Just a shameless plug....

Reply #187 Top

Quoting sViz, reply 185


That one still requires a Weather Underground logo, but it's on the pop up information page. No registration required, though. 

 
End of sViz's quote

Thanks, and that's great news.

Reply #188 Top

I have written these people. I got their name from a weather sidebar gadget. I wait for their reply.   :)

http://www.wdtinc.com/

+1 Loading…
Reply #189 Top

Quoting RedneckDude, reply 188
I have written these people. I got their name from a weather sidebar gadget. I wait for their reply.  

http://www.wdtinc.com/
End of RedneckDude's quote

 

Interesting. It looks like every major weather outlet is a client of theirs (weather.com, accuweather, weatherbug, cnn, msn, fox, abc, etc.)

I'm amazed at how many different weather providers there are online, but how few of them have seriously tapped into desktop applications (save for accuweather.) I'd have thought it'd be a gold mine for anyone who managed to corner the market.

Reply #190 Top

99%  \o/   Thanks to those who've tested it.

Added all the extra information you might want to work into your project and a second temp and weather icon. Anything you don't need you can just delete thanks to the IsObject propert.

/me loves the IsObject property

Most importantly, everything will be decentralized and unlocked, meaning zero parent/child relations to be mindful of. Objects can go wherever you want to put them.

I'll probably release the left one as a widget, and then both together as a DXPACK. Skinners/authors might want to use the DXPACK.

 

The TWC dxpack is looking like 60% due to the sheer amount of extra information to be included, plus some other scripting things to be done. So, I'm mostly concentrating on the NOAA/wunderground one and trying to write a tutorial for it.

+1 Loading…
Reply #191 Top

[quote]I have written these people. I got their name from a weather sidebar gadget. I wait for their reply.

http://www.wdtinc.com/[/quote]

I got a reply from this guy, we spoke on the phone for a few minutes. He said he'd email me some stuff, nothing yet.

Reply #192 Top

I want it....awesome Eve!!!:beer: 5*

Reply #193 Top

Added all the extra information you might want to work into your project and a second temp and weather icon. Anything you don't need you can just delete thanks to the IsObject propert.

sViz loves the IsObject property
End of quote

Without script errors?    o_O

Reply #194 Top

Without script errors?
End of quote

Yes, indeed! The IsObject property will check if an object exists. So the script will only do something to an object if it exists, and it will do nothing if it doesn't. Never had a real use for that property until now.|-)

Reply #195 Top

Quoting sViz, reply 190
99%    Thanks to those who've tested it.

Added all the extra information you might want to work into your project and a second temp and weather icon. Anything you don't need you can just delete thanks to the IsObject propert.

sViz loves the IsObject property

Most importantly, everything will be decentralized and unlocked, meaning zero parent/child relations to be mindful of. Objects can go wherever you want to put them.

I'll probably release the left one as a widget, and then both together as a DXPACK. Skinners/authors might want to use the DXPACK.



Reduced 98%

Original 612 x 375

 

The TWC dxpack is looking like 60% due to the sheer amount of extra information to be included, plus some other scripting things to be done. So, I'm mostly concentrating on the NOAA/wunderground one and trying to write a tutorial for it.
End of sViz's quote

Beautiful work, Master Eve.

 

Reply #196 Top

Quoting RedneckDude, reply 188
I have written these people. I got their name from a weather sidebar gadget. I wait for their reply.  

http://www.wdtinc.com/
End of RedneckDude's quote

And more beautiful work by you, Jim. I hope something works out that doesn't require registration and logos. The DX weather widget world is pretty lonely right now.

Reply #197 Top

Quoting RedneckDude, reply 191
I have written these people. I got their name from a weather sidebar gadget. I wait for their reply.

http://www.wdtinc.com/
End of RedneckDude's quote


I got a reply from this guy, we spoke on the phone for a few minutes. He said he'd email me some stuff, nothing yet.
End of quote

 

Update: 

This is our most recent message.

Hey Jim.

 

Sorry for the delay….feeds guys is swamped with several deadlines.  Haven’t forgotten about you….will get it to you ASAP.

 

Thanks for the patience.

 

JT

Reply #198 Top

Eve, when I get this, can you help me with it?  :blush: <3

Reply #199 Top

Sure. If they deliver the raw data in XML feed format, it should be the same basic procedure as with the other sources. Just have to know their requirements, etc.

Reply #200 Top

Don't hate me but I have to point out that none of the existing widgets comply the Weather.com's XOAP terms of use regarding advertising links and logo display.  I'm not a lawyer and I don't want to be, just don't want Weather.com coming after WC/Stardock with a hammer.

 

**** spam removed ****