Simple Weather Label

Discuss and share scripts and script files...
admin
Site Admin
Posts: 65012
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Simple Weather Label

Post by admin »

In the next version you can retrieve the decimal separator:

Code: Select all

echo get("locale", 14);
14 is the value of LOCALE_SDECIMAL as used by GetLocaleInfoEx API.

get("locale", ...) supports all values that are supported by GetLocaleInfoEx.

(I won't have time to document it in change log now...)

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: Simple Weather Label

Post by serendipity »

Thanks Don! That should help.

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: Simple Weather Label

Post by SkyFrontier »

I've translate (ie, MADE TRANSLATE-ABLE, in fact - so any one can bring this into local terms, now) the Yahoo! Weather code after spending almost 2 hours trying to find a localized version of their querying link.

English link: http://weather.yahooapis.com/forecastrs ... D>&u=<Unit>

In my locale, the output I got is pretty similar to the one generated by this.

-> is there such a 'localized link', ie, a query link which redirects to a non-english page, to deal with? Or any other, which provides similar amount of info, RSS or not?

->If you've got a working link *other than english* (doesn't matter what language), would you please post it here so I try to guess a link format on my own?
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

Post Reply