Remove All Ads from XDA
Honor 9 Lite

Weather Codes

253 posts
Thanks Meter: 0
By simplicity05, Senior Member on 25th May 2014, 06:17 PM
Post Reply Email Thread
I'm using the yahoo weather provider, and I want to rewrite all the descriptions to a max of 10 character spaces to fit my current theme. Problem I'm facing is the code being returned isn't matching up to the list found HERE.

When using #W1COND#
it returns "Scattered Thunderstorms"

but #W1CODE# returns "2"
which matches to the Hurricane code on that list from yahoo.

I do not want to use the truncate feature of rich text, because "Scattered T..." pales to "Sct TStorm" in my opinion.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes