Scripts, tutorials, and general Desktop X help
Published on July 8, 2009 By sViz In 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.


Comments (Page 7)
14 PagesFirst 5 6 7 8 9  Last
on Jul 13, 2009

Hi Zu,

The first door is here: http://wiki.wunderground.com/index.php/API_-_XML

The second - retrieving the web page as HTML for parsing in the widget.

Then you may go here: http://weather.a.ua/?countryw=USMI0617 and look how some people uses not only the TWC feeds but full content of their site without any licenses and has no any problems. By the way they uses Stardock's icons too...
Vadim, I'm not sure I understand what your point is.

I am aware of the first link and the terms.

the second link . . has a weather.com logo in the bottom and appears to be a partner (or at least the link has a parnter code).

on Jul 13, 2009

_Martin_
Zubaz - rather than deleting these weather object from accounts, why can you not just flag them in some way and stop them appearing in WC?

Changing these objects is not the shortest task and some people have a lot of objects.

Brutally deleting objects is likely to drive some authors away.

I know we can "archive" them, but can you image what a time consuming effort that would be for some of us?

 

Very well said Martin!

 

If you hide the weather widgets/themes, how they authors can find them to make an update (if and when it will be possible)?

How about put them in a special hidden weather-widgets library, which will be accesible to authors, but not to users, like the one we have now when a work is updated and goes to "In Moderation" library.

It can be named as "Hiden Weather Widgets", just an idea...

on Jul 13, 2009

If you hide the weather widgets/themes, how they authors can find them to make an update (if and when it will be possible)?
How many author's don't have a copy of their own work?

We are allowing the authors to download their work until the 20th.

After the 20th if an author needs something they missed, they can request it.

Building a new library, accessible to specific users or for specific gallery type, is not possible at this time.

on Jul 13, 2009

Ok Jafo - sorry about that, it won't happen again.

on Jul 13, 2009

Adni...site coding doesn't allow for a semi concealed location.  Either the skin is available to all...or it is available to admins/mods only.

We can be stuck with the task of accessing publicly hidden ones [exiles] as/if requested by the skinners involved.

As Island Dog mentioned...the real priority is not about repairing broken skins...it is actually about not having broken ones still being downloaded/accessed and thus widening the effect/issue...

on Jul 13, 2009

Vadim, I'm not sure I understand what your point is.

Ohhh... Excuse me!  This happened because of the language barrier! Seems I didn't understood you too. I just thought that you found a link to get some weather data that you can't parse. Excuse me again.

The second thing is a big surprise for me. I visited this site a few times before and never seen any TWC logo on any its pages. And now I've found it!... Unbelievable! Is they have purchased a TWC license? Hmmm...

on Jul 13, 2009


If you hide the weather widgets/themes, how they authors can find them to make an update (if and when it will be possible)?

How many author's don't have a copy of their own work?
We are allowing the authors to download their work until the 20th.

After the 20th if an author needs something they missed, they can request it.

Building a new library, accessible to specific users or for specific gallery type, is not possible at this time.

Hi Zubaz,

I thought I was writing in English, not in Greek... but I guess I was wrong, by reading your answer...


I will try to explain better.

Let's say that in 25 July an author finds an acceptable by WC solution of his weather widget, he fix it in his computer and then he must update/upload it in WC.

At this date, the widget will not exist in his library in WC. How he will update it, if he can't find it???

 

 

 

Jafo
Adni...site coding doesn't allow for a semi concealed location. Either the skin is available to all...or it is available to admins/mods only.

Hi Paul,

Sorry, but I must add a third option.

There is the "In Moderation" state, where the skin:

1. Is not available for users

2. Is available for admins/mods

and

3. Is available for the owner/author of the skin.

I guess you never have been under moderation to know it

 

Therefore the script exists; it needs only dublication and a new name.

The Admins/mods instead of "exile" of the weather widget, they can put it in this new category, which will keep it hiden from users, but visible for the author.

 

 

on Jul 13, 2009

Hope I'm in the right place. What do we do with the Weather Widgets we have that do not work? Just delete them?

Thanks.

on Jul 13, 2009

SJN, you can either fix them for personal use following the instructions in the original post or discontinue using them. Deleting them forever is up to you.

on Jul 13, 2009

PLEASE! Can anyone look on this page: http://weather.msn.com/ 

I didn't find any prohibitions (i.e. any TOS or TOU) to use their weather data. If so - the problem with TWC is solved. The MSN Weather Service is even better and more user friendly than provided by TWC!

on Jul 13, 2009

PLEASE! Can anyone look on this page: http://weather.msn.com/ 

I didn't find any prohibitions (i.e. any TOS or TOU) to use their weather data. If so - the problem with TWC is solved. The MSN Weather Service is even better and more user friendly than provided by TWC!
Would you be using thier RSS feed or some XML?  ORT Screenscraping?

on Jul 13, 2009

At the bottom of the page you'll see this link --- Legal  Have a read through that to see what's possible with them.

The one thing that jumped out at me

4. How You May Not Use the Service.

In using the service, you may not:

  • resell or redistribute the service, or any part of the service.
  • I don't see any XML service and their RSS service blocks  access to the XML source code. So at first glance...it seems they don't have an option for redistribution of any kind.

    on Jul 13, 2009

    Would you be using thier RSS feed or some XML? ORT Screenscraping?

    Sorry but I don't know what is the "ORT Screenscraping"

    Besides I can't find any links to get the XML-file expect: http://weather.msn.com/RSS.aspx?wealocations=wc:UPXX0016  but it has no any details like forecast for 10 days or 36/48 hours. So I think it will be need to work directly with HTML...

    However! I didn't found any warnings that Microsoft forbid to do this. And any other warnings... So it seems to me that this service is FREE. That's right or not?

    on Jul 13, 2009

    they don't have an option for redistribution of any kind

    Who is going to redistribute their service here?    We only wish to read a few text lines for our widgets. Nothing more!

    How is your work with a new widget? I'm already free and can to help if it's need.

    on Jul 13, 2009

    ORT Screenscraping
    Or screenscraping (also called webscraping).  http://en.wikipedia.org/wiki/Web_scraping

     

    14 PagesFirst 5 6 7 8 9  Last