Hi,
currently use wunderground forecast for my weather on OH.
Item:
String w1 "Wettervorhersage heute" { http="<[weatherCache:3600000:XSLT(wunderground_icon_forecast.xsl)]" }
String w "Wettervorhersage heute [MAP(wetter.map):%s]" <w1> { http="<[weatherCache:3600000:XSLT(wunderground_icon_forecast.xsl)]" }
while w1 and w receive the same content from the wounderground server - e.g. "cloudy" - for display i transform the return using the wetter.map file for german language display in sitemap ("Wolkig").
-=Undefiniert
undefined=Undefiniert
mostlycloudy=Ueberwiegend Bewoelkt
mostlysunny=Meist Sonnig
chanceflurries=moegliches Schneegestoeber
chancerain=Wolkig, vereinzelte Schauer
chancesleet=Schneeregen
chancesnow=leichter Schneefall
chancetstorms=Gewitterstuerme moeglich
clear=Klar
cloudy=Wolkig
i as well wan to use the content of w1 as basis for the icon that i am displaying to my german map result. therefore i have a set of weathericons in the webapps/images folder. in that case as well an icon named
cloudy.png
what i had seen in several examples as well in the wiki it should work like above mentioned item: <w1> as icon name in the item definition?
my sitemap looks like:
Text item=w
any idea / help why no icon is been displayed?
thx
Karsten