It is currently November 29th, 2020, 7:58 pm

ANSWERED - Changing units to fahrenheit?

Help with creating, editing & fixing problems with skins
Nabby
Posts: 4
Joined: April 4th, 2010, 5:24 pm

ANSWERED - Changing units to fahrenheit?

Post by Nabby »

Hey everyone, this may be a dumb question but I've decided not to dabble with weather feeds until now and I tried to search for an answer but couldn't find one. I'm using Chewtoy's Simpleweather (Vers 1.03) and I was wondering if there was any way to change the units from C to F? Spoiler is the part of the .ini file that I believe is relevant (I may be wrong) in case that needs to be seen.
;==========================================================
;[MEASURE WEATHER]=========================================
;==========================================================

[MeasureUnit]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=1000
Url=http://xml.weather.com/weather/local/USMD0103?cc=*&unit=#Unit#&dayf=10
RegExp="(?siU)<ut>(.*)</ut>.*<ud>(.*)</ud>.*<us>(.*)</us>.*<up>(.*)</up>.*<ur>(.*)</ur>"



[MeasureCurrent]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=1000
Url=http://xml.weather.com/weather/local/USMD0103?cc=*&unit=#Unit#&dayf=10
RegExp="(?siU)<tmp>(.*)</tmp>.*<flik>(.*)</flik>.*<t>(.*)</t>.*<icon>(.*)</icon>"





[MeasureForcastToday+1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=1000
Url=http://xml.weather.com/weather/local/USMD0103?cc=*&unit=#Unit#&dayf=10
RegExp="(?siU)<day d="1" t="(.*)".*<hi>(.*)</hi>.*<low>(.*)</low>.*<icon>(.*)</icon>.*<bt>(.*)</bt>"


[MeasureForcastToday+2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=1000
Url=http://xml.weather.com/weather/local/USMD0103?cc=*&unit=#Unit#&dayf=10
RegExp="(?siU)<day d="2" t="(.*)".*<hi>(.*)</hi>.*<low>(.*)</low>.*<icon>(.*)</icon>.*<bt>(.*)</bt>"

[MeasureForcastToday+3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=1000
Url=http://xml.weather.com/weather/local/USMD0103?cc=*&unit=#Unit#&dayf=10
RegExp="(?siU)<day d="3" t="(.*)".*<hi>(.*)</hi>.*<low>(.*)</low>.*<icon>(.*)</icon>.*<bt>(.*)</bt>"

[MeasureForcastToday+4]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=1000
Url=http://xml.weather.com/weather/local/USMD0103?cc=*&unit=#Unit#&dayf=10
RegExp="(?siU)<day d="4" t="(.*)".*<hi>(.*)</hi>.*<low>(.*)</low>.*<icon>(.*)</icon>.*<bt>(.*)</bt>"
Last edited by Nabby on April 6th, 2010, 3:07 am, edited 1 time in total.
User avatar
Lddrizzt
Posts: 18
Joined: March 29th, 2010, 1:10 am

Re: Changing units to fahrenheit?

Post by Lddrizzt »

In the skin's meta data section at the begining of the file; it tells you what you need to change.
Your changing the wrong file.
You need to make the adjustments (location & F or C) in the SimpleWeather-Update-Variables.inc file.

Read the directions in the Meta Data section and you will be fine.
[size=150][b][i]Lddrizzt[/i][/b][/size]

[i]"When the going gets tough, the tough get going.
If their smart, they go in the other direction."[/i]
Nabby
Posts: 4
Joined: April 4th, 2010, 5:24 pm

Re: Changing units to fahrenheit?

Post by Nabby »

Ah got it. Thanks (and boy do I feel like an idiot now..sorry for that)
User avatar
Chewtoy
Moderator
Posts: 1010
Joined: June 10th, 2009, 12:44 pm
Location: Sweden

Re: ANSWERED - Changing units to fahrenheit?

Post by Chewtoy »

Eeeh... 1.03? As I recall that was based on AccuWeather...
You got SimpleWeather_Update I belive. Though I now notice it says 1.03 in the ini. Hohohohoho.
I don't think, therefore I'm not.
User avatar
Lddrizzt
Posts: 18
Joined: March 29th, 2010, 1:10 am

Re: ANSWERED - Changing units to fahrenheit?

Post by Lddrizzt »

Chewtoy wrote:Eeeh... 1.03? As I recall that was based on AccuWeather...
You got SimpleWeather_Update I belive. Though I now notice it says 1.03 in the ini. Hohohohoho.
Yup, SimpleWeather_Update is what I was using as a reference.
I thought that was 1.03. Cuz that is what it said. :D
[size=150][b][i]Lddrizzt[/i][/b][/size]

[i]"When the going gets tough, the tough get going.
If their smart, they go in the other direction."[/i]
User avatar
Chewtoy
Moderator
Posts: 1010
Joined: June 10th, 2009, 12:44 pm
Location: Sweden

Re: ANSWERED - Changing units to fahrenheit?

Post by Chewtoy »

Lddrizzt wrote: Yup, SimpleWeather_Update is what I was using as a reference.
I thought that was 1.03. Cuz that is what it said. :D
Well I'll be <input synonym for condemnd here>...
I released a 1.03 of SimpleMeter, but it contained SimpleWeather 1.02, so it's all good now. :D

To think that I made it right... That's quite surprising I tell you...
I don't think, therefore I'm not.
User avatar
Lddrizzt
Posts: 18
Joined: March 29th, 2010, 1:10 am

Re: ANSWERED - Changing units to fahrenheit?

Post by Lddrizzt »

Chewtoy wrote:
Well I'll be <input synonym for condemnd here>...
I released a 1.03 of SimpleMeter, but it contained SimpleWeather 1.02, so it's all good now. :D

To think that I made it right... That's quite surprising I tell you...
Yes you did well on SimpleWeather. I think I tried most all of them before I settled on the Sarge's fancy one.
But I still have yours in my skins directory, that must mean that I liked it, and I know my GF is using it on her machine.
[size=150][b][i]Lddrizzt[/i][/b][/size]

[i]"When the going gets tough, the tough get going.
If their smart, they go in the other direction."[/i]
User avatar
Chewtoy
Moderator
Posts: 1010
Joined: June 10th, 2009, 12:44 pm
Location: Sweden

Re: ANSWERED - Changing units to fahrenheit?

Post by Chewtoy »

Lddrizzt wrote:Yes you did well on SimpleWeather. I think I tried most all of them before I settled on the Sarge's fancy one.
But I still have yours in my skins directory, that must mean that I liked it, and I know my GF is using it on her machine.
Huh... Well. I myself hate it. :D
I don't think, therefore I'm not.
User avatar
Lddrizzt
Posts: 18
Joined: March 29th, 2010, 1:10 am

Re: ANSWERED - Changing units to fahrenheit?

Post by Lddrizzt »

Chewtoy wrote:
Huh... Well. I myself hate it. :D

Ok then, on your recommendation I have now eradicated every trace of it from my computer. :BashComputer:
[size=150][b][i]Lddrizzt[/i][/b][/size]

[i]"When the going gets tough, the tough get going.
If their smart, they go in the other direction."[/i]