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
![Big Grin :D](./images/smilies/ag.gif)
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
![Big Grin :D](./images/smilies/ag.gif)
Using the HUD Vision Weather-One as an example, we need to replace a simple URL line.
As follows:
[i.dnes]
Hidden=1
MeasureName=m.i.dnes
Meter=IMAGE
X=12r
Y=0r
W=64
H=64
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
![Big Grin :D](./images/smilies/ag.gif)
Use this URL:
Code: Select all
http://www.accuweather.com/world-index-forecast.asp?partner=rainmeter&loccode=
[i.dnes]
Hidden=1
MeasureName=MeasureCurIcon
Meter=IMAGE
X=12r
Y=0r
W=64
H=64
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
SCALE=1
; New York
dest=87505
This will meet AccuWeather.com's requirements nicely
If you have any questions, do not hesitate to ask
![Big Grin :D](./images/smilies/ag.gif)