That would be a wonderful thing,Zubaz. I hope that turns out to be do-able.
Redbuzzard:
Just try... now working with my own location, only 5 days forecast
http.Open "GET", "http://xoap.weather.com/weather/local/YOURLOCATIONCODE?cc=*&dayf=5&link=xoap&prod=xoap&par=YOURID&key=YOURKEY" & str_UNITS & str_RANDOM_URL, False
That does it.
Think I'll stick with Winstep and mothball DX till SD gets its act together.
Something tells me JcRabbit's way ahead on this one.
Yes... And I see only one way to get the 10 days/36 hours forecast right now . You need retrieve the data directly from the web pages through HTML. This is a hard way but it works for me...
Thanks for proposal Vad, but i know how to do with your explanation, i just have too many widgets to re-script and, as it's told by Adni18, i think that's the real only way (for everyone already using widgets) is that Stardock should negociate codes to be used by their consumers
yes... BUT DesktopX one of SD application
Weather widgets and objects, really based martin's code..
Silica weather come with dx, I think this one Offical Stardock Weather widget..and NOT work now...
So we need SD and dx developer support in these days...
i asked about the silica widgets, apparently they are not supported as they are too outdated
Dear Zubaz,Stardock is or was offering a weather widget with the DesktopX, many people may have buy the DesktopX only for the Silica weather widget I don’t mean that Stardock has to buy a license for all widgets, but it may help for a solution, for example an additional script for all widgets. Stardock has many professional employees with great knowledge of scripts!
I Agree. That problem must be solved only by the authors of these widgets (certainly if they have a free time or just desire to do this).
Besides it should not be forgotten - all of these widgets was FREE OF CHARGE. So I think you have no rights to submit any claims to their authors... And more than - to Stardock.
Yeah. It seems Silica and Martin's BaseWeather are the two widgets everyone based their work off of and they require two different methods of modification as the scripts are not the same (BaseWeather is more extensive.)
I'm working with Martin's BaseWeather and so far I got the licenseKey and PartnerID prompt working, and finally cleaned up the code for the new restrictions.
If I understood correctly, the license agreement says if you're gonna distrubute the desktop applications you have to include the 4 links provided as well as the TWC logo with an embedded link. Would it be against the rules to include the links but have a way for the user to hide them?
I'll be looking into the silica script later.
Hello.
I had the huge bad luck of downloading desktopx yesterday, when the weather services were downand i've read all the posts and commants, but yet have found no way to fix it.
Can someone please make a tutorial of how to fix it?I'm no good with scripts and stuff so PLEASE make it simple.
Thanks
No any problems. Just send me one of your widgets which you want to modify. Or a link where I can download it and I'll help you to solve this little problem. I'm live in Europe too and I'm a big Internationalist.
This, I think, is the bigger problem. There's no easy way to fix this on the user's end. Even if we wrote a how-to, the user would have to do this for dozens of their weather widgets. And there are several variations to the script in each widget; just going through my collection I've encountered 3 different versions.
This is one more argument that only the authors of widgets must fix this issue in their scripts and the upload an update.
So it may be a tutorial for widget developers but not for end users!
Thanks Bilbo!! Worked like a charm!!!
Thank you Vad, you are very kind, I appreciate it.
I have delete the quote you have included in your post, because I was wrong, I got the ID etc with email.
It will be very useful for all the widgets creators to have an additional script for our widgets, so we will be abble to update them.
What you have suggested is a great idea.This is exactly what we need:
However I know how to help with this. We just need to add one more simple suroutine into the "Classic Weather Script" which will generate the multiline inputbox (with DesktopX Form) like:1. Enter here your TWC Partner ID:2. Enter here your TWC License Key:3. Enter here the US ZIPCODE or City, Country....Then these three parameters must be used in the widget script to access to RSS Feed and be saved in the widget's *.INI file.
One of my weather widgets is here: http://adni18.wincustomize.com/skins.aspx?skinid=284&libid=34
Well, I think we might have to do 2 tutorials: one for end-users where you just hard code the sucker, and the other for developers so they can modify the script to include a prompt for the key and ID, as well as any other TWC license requirements.
make it an "About" page
Here's a quick and dirty how-to:
First, subscribe to the Weather.com feed -- LINK
When you get your confirmation email save the Partner ID code and License Key.
Next:
- 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 that line with the line Vad_M posted:
http.Open "GET", "http://xoap.weather.com/weather/local/ZIPCODE?cc=*&dayf=5&unit="&str_UNITS&"&link=xoap&prod=xoap&par=ID&key=KEY" , False
- Change ZIPCODE to your zipcode, ID to your PartnerID, and KEY to your LicenseKey
- In the script editor, click File and then Save and Close. Click Ok on the properties window to apply the new script
- This hardcodes your location into the widget, meaning if you want to change the location, you have to open the script to do so.
- Restore your internet connection and test the widget (Use the change location button; it will call your location no matter what you enter.)
- If all goes okay, you can now export the widget again.
Amen sister!
Nope, in the box where US zip code is asked, just type the local code you are using with widgets (ex: for me i entered Trappes, France and it worked fine till sending me the email with Partnet ID and License key )
and here I believed the universe had suddenly turned against me. I've had a few issues with my PC as of late, BSOD's, Mysterious Reboots, erroneous error messages such as "Windows was shutdown to prevent damage to your computer: the bios in your computer does not support ACPI"
HUH? (so why does it not support it today, when it supported it yesterday?)
and "warning, disk drive errors detected" with no clue as to which of the 8 connected drives (yes, I'm a complete geek, and have 8 drives connected totalling over 6 TB, it's how I save and later watch my High Def Movies etc.) as it turns out, these messages appear even when NO DRIVES are connected, and the BIOS has been updated to the latest version. Head Scratching......... RAM! it has to be. Sure enough, I had a stick of RAM go bad, and once removed everything was back to normal, except the ZIP code issues in any weather module I loaded. (Except some weather apps would return a script error for a certain line.)
wow, I find it hard to believe that my machine suddenly is rejecting DX weather apps, but no other DX apps. (as I tried to determine why) so I decided to post here for help, and lo and behold, the very first topic I see!!! Thank the Gods! I'm really not losing it!
With my version of Martin's Weather, I had to insert the fix posted here, then once it was done, I had to click on the City/Zip and either change the zip (to something other than it already was before), or type in my city. once I did, it retrieved the data, but now instead of seeing just the city listed like before, it now lists CITY (ZIP) at the top of the widget.
In all, I'm very happy for all of your efforts, I had just spent weeks working on a weather widget based on martin's, that matches a certain theme, and I was rather distressed that after all that work, something was kaput. Thanks again everyone for input here, and special thanks to those of you (Vad_M, Sviz, etc) who figured out and posted a fix.
-Doc
• provide four (4) promotional links, selected by TWCi and provided through the Service on each data call, back to www.weather.com for additional weather information in close proximity to the TWCi Content as set
or in other words,put adware in every DX theme that has a weather widget.
There are many great features available to you once you register, including:
Sign in or Create Account