Invalid zip code when running weather widgets
Tuesday, July 7, 2009 by jag4710 | Discussion: DesktopX
Reply #222 Thursday, July 9, 2009 2:57 AM
Well, John, That depends on what the fix is. If I have to put a logo and 5 links in my work, I will update all my themes to have no weather widget. All future themes will be made without weather widgets. Then, in the future, if someone comes up with a good, free, adware free way to give the community a weather script, I will make seperate widgets to match any of my themes and upload them for those who want them. As for now, no weather.
Since we don't know how long this will take, if ever, I am currently working on a windowblind for which I will post a WIP soon. It is my first one, so I dunno when. I will most likely keep making DX themes, just sans weather widgets. I use DX themes for all my shortcuts. All I actually use daily is Windowblinds and a DX theme turned into a widget so I can get it to load at startup, since DX won't. I don't need Object Dock, the start menu, or any other launcher. One of my DX themes, setup correctly, is all that is needed to run windows. Weather is nice, but life goes on without a weather widget.....at least for me.
Reply #223 Thursday, July 9, 2009 3:31 AM
And here's THE solution to keep using weather.com (well at least to keep widgets OK) but without having to get any Partner ID and License Key
- Load DesktopX Builder
- Before importing your widget, disconnect from/turn off the internet (unplug cable, etc.)
- R-click on the DX Builder icon in your system tray and Import your widget
- R-click on the DX Builder icon and choose List Objects
- Find the "weather_image" object. R-click and choose Edit Script
(If you don't see this object, you are likely using a different version)
- In the script editor, find the line that looks similar to this:
http.Open "GET", "http://xoap.weather.com/weather/local/" & location & "?cc=*&dayf=5" & str_UNITS & str_RANDOM_URL, False
- Replace in that line http://xoap.weather.com/weather/local/ by http://xml.weather.com/weather/local/ , save & apply the script
- R-click on the DX Builder icon and find the "weather_forecaststatus" object. R-click and choose Edit Script
- In the script editor, find the line that looks similar to this:
http.Open "GET", "http://xoap.weather.com/search/search?where=" & x, False
- Replace in that line http://xoap.weather.com/search/search?where= by http://xml.weather.com/search/search?where=, save & apply the sript
(you may have to do the same with the second line: http.Open "GET", "http://xoap.weather.com/search/search?where=" & y, False - in case of two locations choice ...)
- 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.
Funny isn't it ? ![]()
Reply #224 Thursday, July 9, 2009 3:54 AM
Yeah!
That work perfect! ![]()
and not just 5 day forecast, but on 10 day too..
..till weather.com don't change...
Reply #225 Thursday, July 9, 2009 4:39 AM
Well, this is one of the reasons i decided to avoid supporting and buying products from stardock years ago, the lack of continuity in the projecs and the depencency of internet even to install one product you have paid for.
Seems that once anything is changed or a new version of one application is released yo have to send to the trash can all the work you have been doing for years.
Now I have two alternatives either i redownload and rebuild all my almost 150 weather widgets praying for that in the future there are no other changes that make them unusable or definetively i delete all of them from my hard drive.
I am really tired of updates and changes that solve one minior problem but creates lots of other unexpected problems that forces you to take decissions.
I am owner of WB 4.6, IP 3.0, Icon developer, really not much, but today is the day when i definetively say goodbye to stardock. I am really tired of changing an tweaking things just to be up with any little change in an applications that makes yo to go again and again to repair all the work you have been doing for years.
Reply #226 Thursday, July 9, 2009 4:56 AM
I really don't understand why so many people are bashing Stardock over this one.
First and foremost, Stardock already did what they could when they partnered with Accuweather some time ago and *hosted* the weather feed themselves. This means Stardock is the company providing and paying for the bandwidth used by their Accuweather widgets, not Accuweather.
Second, DX widget authors are the *only* people responsible for choosing to use Weather.com over Accuweather.
Third, ALL applications using Weather.com's feed were affected, (and this is the important part) REGARDLESS of them following Weather.com's rules or not!!! Weather.com couldn't care less if you're one of the 'good' or the 'bad' guys, they knew this change would affect us ALL and they went ahead anyway!
Weather.com unilaterally and without warning CHANGED the format of the request string (they did the same last year, but at least then they sent out a warning before to everyone who had a valid license key).
Since most of us are using hard coded request strings (Winstep Xtreme included, but I changed that now) the only way to solve this is by issuing a new release. Fool me once... ![]()
Reply #228 Thursday, July 9, 2009 5:22 AM
First and foremost, Stardock already did what they could when they partnered with Accuweather some time ago and *hosted* the weather feed themselves. This means Stardock is the company providing and paying for the bandwidth used by their Accuweather widgets, not Accuweather.
Second, DX widget authors are the *only* people responsible for choosing to use Weather.com over Accuweather.
Sorry JcRabbit, but on wc site, you not seen any accuweather widget.
There is 1 custom gadget, and come few with mycolors, BUT those gadgets.
Currently we not have free sample for build custom accuweather Dxwidget..
Reply #229 Thursday, July 9, 2009 5:42 AM
THIS IS SUPER SOLUTION!!! Where did you found it? ![]()
There is only one problem that requires more detailed study - hour-by-hour forecast. Seems it show only the first 12 hours... So I've already began to work on a new script. Then I'll try to update my gadgets (if I'll really find the legal way to receive the 36 hours forecast). Otherwise this make no sence...
P.S. To Zubaz directly: what about using HTML to retrive the weather data? Can I make a script that will work with web pages instead of XML?
Reply #230 Thursday, July 9, 2009 7:52 AM
Reply #231 Thursday, July 9, 2009 8:19 AM
Vad_M My SleekSilva weather widget that you fixed works fine now. My question is: can I copy the code into all my other widgets that already posted and re-upload them to wincustomize?
I ask this because I do want people to still be able to use my weather widgets, and also because I saw a post in the forum giving a solution without using a partner ID and license, so I do not know what to do.
Thanks for the help.
Reply #232 Thursday, July 9, 2009 8:27 AM
- Load DesktopX Builder
- Before importing your widget, disconnect from/turn off the internet (unplug cable, etc.)
- R-click on the DX Builder icon in your system tray and Import your widget
- R-click on the DX Builder icon and choose List Objects
- Find the "weather_image" object. R-click and choose Edit Script
(If you don't see this object, you are likely using a different version)
- In the script editor, find the line that looks similar to this:
http.Open "GET", "http://xoap.weather.com/weather/local/" & location & "?cc=*&dayf=5" & str_UNITS & str_RANDOM_URL, False
- Replace in that line http://xoap.weather.com/weather/local/ by http://xml.weather.com/weather/local/ , save & apply the script
- R-click on the DX Builder icon and find the "weather_forecaststatus" object. R-click and choose Edit Script
- In the script editor, find the line that looks similar to this:
http.Open "GET", "http://xoap.weather.com/search/search?where=" & x, False
- Replace in that line http://xoap.weather.com/search/search?where= by http://xml.weather.com/search/search?where=, save & apply the sript
(you may have to do the same with the second line: http.Open "GET", "http://xoap.weather.com/search/search?where=" & y, False - in case of two locations choice ...)
- 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.
Funny isn't it ?
Good work! This fixed the prob for me.
Thanks for your input!!!
Reply #233 Thursday, July 9, 2009 8:50 AM
In past time i also tried a French weather widget (and ported for it a few skins that i had done for DesktopX widget) that is also using weather.com.
As i try to launch it this morning, it worked without any problem. I just found in the informations flux url and the search flux url
P.S: if you want to try it / see how it works it's called "météo Fusion" and you can get it from my French website http://neophil.canalblog.com/archives/2008/03/12/8293808.html
Reply #234 Thursday, July 9, 2009 9:57 AM
I ask this because I do want people to still be able to use my weather widgets, and also because I saw a post in the forum giving a solution without using a partner ID and license, so I do not know what to do.
Thanks for the help.
The short answer is no. You would have to redesign your widget to The Weather Channel standards (logos, adverts, etc.) Also, if you have hard coded your personal ID and license key into the widget, you can not redistribute it as that would be in violation of the license agreement.
If you use the solution that doesn't call for an ID or key, you MIGHT be able to reupload. I'm not entirely sure. Just bear in mind that it is not the official TWC method and will likely be prohibited in future, then you'd have to re-do your widgets all over again.
Reply #235 Thursday, July 9, 2009 11:17 AM
Thank you. I understood. This project is already stopped and even has been removed from my PC. I agree. We must respect TWC.
What can I say? Only that I'm totally agree with this:
If you use the solution that doesn't call for an ID or key, you MIGHT be able to reupload. I'm not entirely sure. Just bear in mind that it is not the official TWC method and will likely be prohibited in future, then you'd have to re-do your widgets all over again.
Seems it was much greater than when America was discovered by Columb! Now I already finished the update of my widgets/gadgets. No any ID and KEYS! No any problems with license!
Reply #236 Thursday, July 9, 2009 11:24 AM
I apologize for the tone of my posts yesterday. I think when stuff like this happens, we all go through an adjustment reaction, and we each have to find our own way of dealing with it.
I tried Neophil78's solution, and obviously I'm doing something wrong, because the change did not fix the problem for me. I've never built anything in DesktopX, I really don't even know how to begin with it, so my personal answer to this dilemma is to cease using DesktopX. The clocks never stayed in the place I put them, so I quit using the clocks long ago, and have replaced that feature with ClocX; I've been using Rainlendar instead of the calendars; and now I'm going phase over to Rainmeter for the weather feature on my desktop, and just skin this stuff myself using the simple code and .pngs I invent myself. DesktopX is just too complicated for me, and I have enough things I MUST attend to in my life right now--I don't need another thing to distract me from my the things I have to get accomplished.
Thanks for all who tried to help with this issue. I appreciate your time and willingness to assist.
Reply #237 Thursday, July 9, 2009 11:41 AM
Hi Karen,
I understand you. However this little problem may not be a reason to uninstall DesktopX! Please send me by email (or just post here) the link to download your widget. I'll fix it for you in a few minutes. ![]()
Best Regards!
Reply #238 Thursday, July 9, 2009 11:52 AM
I tried Neophil78's solution, and obviously I'm doing something wrong, because the change did not fix the problem for me. I've never built anything in DesktopX, I really don't even know how to begin with it, so my personal answer to this dilemma is to cease using DesktopX.
Hi Karen,
I understand you. However this little problem may not be a reason to uninstall DesktopX! Please send me by email (or just post here) the link to download your widget. I'll fix it for you in a few minutes.
Best Regards!
You have mail.
Reply #239 Thursday, July 9, 2009 12:15 PM
Thanks! Please, wait a few minutes... and you will get your widget. ![]()
Reply #240 Thursday, July 9, 2009 12:20 PM
Seems it was much greater than when America was discovered by Columb! Now I already finished the update of my widgets/gadgets. No any ID and KEYS! No any problems with license!
Vadim
What method use on update?
xml feed?
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!







Reply #221 Thursday, July 9, 2009 2:39 AM
I mention Rainlendar because there are a lot of skins for it that are theme-consistent. I'm curious about what you are going to do with your themes. Are you thinking of redoing all of them to fix the weather problem?