We are required to have at least one (1) of the six (6) available URL links to AccuWeather as part of every skin.
So I have a solution, until we can use parse links directly
After having tested 20 random location XML's the following URL is common to all AccuWeather XML And can be linked to from the US end as well. The US XML was the only exception!
But the following code will redirect to US locations, so this is the one to go with.
In the image area, most skin builder place a link to the weather site in question, I have seen no exception to this, so we shall continue the tradition
Using the HUD Vision Weather-One as an example, we need to replace a simple URL line.
LeftMouseDownAction=!execute ["#eVIEWER#" "http://www.weather.com/outlook/travel/businesstraveler/local/#dest#"]
We need to change the URL in blue to the a new common URL, so I picked one that will deliver the skin user to AccuWeather.com and give the skin user the current weather conditions, instead of just popping in at the international page
Use this URL:
Your new link will look like the following:
Code: Select all
LeftMouseDownAction=!execute ["#eVIEWER#" "http://www.accuweather.com/world-index-forecast.asp?partner=rainmeter&loccode=#dest#]
This link will deliver you to a current weather page :!:
The red indicates the Location/destination that is located in your "Variables", or where ever you have the skin user place their destination code, Like so:
;Please replace your location code of Weather.com below, e.g: New York is USNY0996.
;You can check it on Weather.com or Google.
; define Fahrenheit and US system = 0 or Celsius and Metric system = 1
; New York
This will meet AccuWeather.com's requirements nicely
If you have any questions, do not hesitate to ask