Is there an autodetect value for the unit+system parameter?

YoWindow widget Questions, Suggestions and Bugs
User avatar
Don
Posts: 687
Joined: Tue Sep 14, 2010 12:14 am
Name: Don
Location: Roseville, California, United States of America
Contact:

Re: Is there an autodetect value for the unit+system paramet

Post by Don »

Well boy is my face red. :oops:
Sorry jackaroo, I though the auto detect for the temperature units was based on your visitor's IP address. Obviously I was wrong.

All this time I had thought visitors to my site from outside the U.S. were seeing the temperature in Celsius but they were not. Excuse me while I go bang my head against the wall. :(

Don
jackaroo

Re: Is there an autodetect value for the unit+system paramet

Post by jackaroo »

Don,

It took me a while to answer you, but here is my website: http://www.worldweatherpost.com/

I would very much appreciate it if people could have a look at it. I am also using autodetection for the location. Actually it would be very interesting if I could get some feedback on the weather station selection also.

Currently,on the website, I have added php code to recognize the country from the IP address and select the unit_system accordingly. It seemed to work on the few test I did, but it was a small sample.

Thanks,

Jackaroo
ikarus1969
Posts: 1645
Joined: Wed Nov 18, 2009 9:58 am
Location: Vienna, Austria

Re: Is there an autodetect value for the unit+system paramet

Post by ikarus1969 »

jackaroo wrote:Don,

It took me a while to answer you, but here is my website: http://www.worldweatherpost.com/

I would very much appreciate it if people could have a look at it. I am also using autodetection for the location. Actually it would be very interesting if I could get some feedback on the weather station selection also.

Currently,on the website, I have added php code to recognize the country from the IP address and select the unit_system accordingly. It seemed to work on the few test I did, but it was a small sample.

Thanks,

Jackaroo
Hi Jackaroo!

On your site the unit is ok for me (metric here in Vienna, Austria); only the location is Breclav - but as location detection is IP-based it always will be some kind of luck.
»Man is impressive. In a universe full of untold secrets he has invented boredom.«
User avatar
Don
Posts: 687
Joined: Tue Sep 14, 2010 12:14 am
Name: Don
Location: Roseville, California, United States of America
Contact:

Re: Is there an autodetect value for the unit+system paramet

Post by Don »

jackaroo wrote:Don,

It took me a while to answer you, but here is my website: http://www.worldweatherpost.com/

I would very much appreciate it if people could have a look at it. I am also using autodetection for the location. Actually it would be very interesting if I could get some feedback on the weather station selection also.

Currently,on the website, I have added php code to recognize the country from the IP address and select the unit_system accordingly. It seemed to work on the few test I did, but it was a small sample.

Thanks,

Jackaroo
The location and the unit system are correct for me.

Don
User avatar
Leif
Posts: 103
Joined: Mon Dec 13, 2010 5:52 pm
Name: Leif
Location: Umeå, Sweden

Re: Is there an autodetect value for the unit+system paramet

Post by Leif »

jackaroo wrote:Actually it would be very interesting if I could get some feedback on the weather station selection also.
Location and units OK for me - Umeå and metric. Weekdays are in English but that was expected, right?
Get Radio? Sure! - the best Internet Radio Player ever? ;)
jackaroo

Re: Is there an autodetect value for the unit+system paramet

Post by jackaroo »

Leif wrote:
jackaroo wrote:Actually it would be very interesting if I could get some feedback on the weather station selection also.
Location and units OK for me - Umeå and metric. Weekdays are in English but that was expected, right?
Thanks for the feedback. This is very useful to me. Yes, days of the week in English is what is intended, since it is an English website.
FvE
Posts: 7114
Joined: Mon Oct 19, 2009 11:56 pm
Name: Fred
Location: Leiden, Netherlands
Contact:

Re: Is there an autodetect value for the unit+system paramet

Post by FvE »

jackaroo wrote:It took me a while to answer you, but here is my website: http://www.worldweatherpost.com/
Hi Jackaroo,

This is working great for me!
I see Celcius instead of Fahrenheit now.
My location was alright the first time already.
Worldweatherpost.com.jpg
Worldweatherpost.com.jpg (41.71 KiB) Viewed 7512 times
Regards,
Fred
jackaroo

Re: Is there an autodetect value for the unit+system paramet

Post by jackaroo »

FvE wrote:
jackaroo wrote:It took me a while to answer you, but here is my website: http://www.worldweatherpost.com/
Hi Jackaroo,

This is working great for me!
I see Celcius instead of Fahrenheit now.
My location was alright the first time already.
Worldweatherpost.com.jpg
Regards,
Fred
Good. I appreciate it !
Post Reply