How to skin for different symbols? - Wind direction, rather than weather type
Started by mark76uk


Rate this topic
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5


43 posts in this topic
bbfi
Member
***


0
132 posts 4 threads Joined: Feb 2003
02-23-2003, 07:12 PM -
#14
I just got done replying to someone who asked me by email about the configuration. So, if anyone else is wondering, here is how -

I had to use two different weather sites. For the main weather box with most of the info, I used the default one included with the plugin (Weather Underground at http://www.wunderground.com). For each day forecast, I used Weather For You at http://www.weatherforyou.com which gives a seven day forecast with hi and low temperatures in a usable format, whereas the format that Weather Underground uses for seven days is difficult to configure in the .ini file.

Also, make sure you use the skins from the Full 32 C Weather Monitor skins pack at http://www.truelaunchbar.com/plugins/bin...erpack.zip

In the Providers folder, I used the wunderground.ini and I created an additional seven files called weatherforyou-sun.ini, weatherforyou-mon.ini, weatherforyou-tue.ini, etc. through weatherforyou-sat.ini

The weatherforyou-sun.ini is -
[options]
name = Weather For You - Sunday
starturl=http://www.weatherforyou.com
SendCookies = 0

[Conditions]
find0 = "<b>Sunday</b>"
find1 = "<font face="verdana,arial"><small>"
delim = "<"

[CustomParam0]
name = Hi Temp
find0 = "<b>Sunday</b>"
find1 = "<font color="red" face="verdana,arial"><small>"
delim = "<"

[CustomParam1]
name = Low Temp
find0 = "<b>Sunday</b>"
find1 = "<font color="blue" face="verdana,arial"><small>"
delim = "<"

[Sun]
Clear
Sunny

[Clouds]
Overcast
Mostly Cloudy
etc.

So, for each of these .ini files, just change every reference of the day to the day of the week that the file is named.

The main weather box uses wunderground.ini which is -
[options]
name = Weather Underground
starturl=http://www.wunderground.com
SendCookies = 0

[Temperature]
unit = F
find0 = "<td>Temperature</td>"
find1 = "<b>"
delim = "<"

[Humidity]
find0 = "<td>Humidity</td>"
find1 = "<b>"
delim = "%"

[Pressure]
unit = in Hg
GroupSymbol = ","
find0 = "<td>Pressure</td>"
find1 = "<b>"
delim = "<"

[Conditions]
find0 = "<td>Conditions</td>"
find1 = "<b>"
delim = "<"

[CustomParam0]
unit = F
ValueType = INT
name = Dew Point
find0 = "<td>Dew Point</td>"
find1 = "<b>"
delim = "<"

[CustomParam1]
name = Sun Rises at
find0 = "<td>Sunrise</td>"
find1 = "<b>"
delim = "EST"

[CustomParam2]
name = Sun Sets at
find0 = "<td>Sunset</td>"
find1 = "<b>"
delim = "EST"

[CustomParam3]
name = Length of Day
find0 = "<td>Length of Day</td>"
find1 = "<b>"
delim = "<"

[CustomParam4]
name = Updated
find0 = "<b>Conditions</b>"
find1 = "Updated:"
find2 = "<b>"
delim = "on"

[CustomParam5]
name = Observed at
find0 = "<b>Conditions</b>"
find1 = "Observed at"
find2 = "<b>"
delim = "<"

[CustomParam6]
unit = F
ValueType = INT
name = Windchill
find0 = "<td>Windchill</td>"
find1 = "<b>"
delim = "<"

[CustomParam7]
name = Wind Speed
find0 = "<td>Wind</td>"
find1 = "<td>"
delim = "/ "

[CustomParam8]
name = Visibility
find0 = "<td>Visibility</td>"
find1 = "<b>"
delim = "/ "

[CustomParam9]
name = Wind Gust
find0 = "<td>Wind Gust</td>"
find1 = "<td>"
delim = "</td>"

[CustomParam10]
name = Advisory
find0 = "<b>Active Advisory:</b>"
find1 = "">"
delim = "</td>"

[Sun]
Clear
Sunny

[Clouds]
Overcast
Mostly Cloudy
Mist
etc.

In the Skins folder, use the Full 32 C folder for the main weather box and create seven new ones, calling each one a day of the week (Sunday, Monday, etc.). Using the folder named Sunday, for an example, include the following in it - a folder called icons, the background png, and the skin.ini which for me is the following -

[options]
name=Sunday
author=TrueSoft
email=support@tsoftcentral.com
url=http://www.truelaunchbar.com
version = 2

[general]
Background=bg-sky-sunday.png
iconPos = 255 9

[DataSlot0]
param = CUSTOM
SkinText = 0
rect = 80 5 290 22
LabelType = short
LabelRect = 0 0 10 10
font=Arial
bold=1
italic=0
align=left
ShowUnits = 1

[DataSlot1]
param = CUSTOM
SkinText = 0
rect = 80 21 290 36
LabelType = short
LabelRect = 0 0 10 10
font=Arial
bold=1
italic=0
align=left
ShowUnits = 1

[DataSlot2]
param = CUSTOM
SkinText = 0
rect = 150 21 290 36
font=Arial
bold=1
italic=0
align=left
ShowUnits = 1

[default icons]
Sun=sunny.png
etc.

With version 1.2 of Weather Monitor, you have to put the Parameter names (Temperature, Humidity, etc.) in the png graphics (a lot of going back and forth between the skin.ini and the graphics to line everything up correctly). Yuri promised that a future release of Mail Monitor will allow you to display the info by adding it to the skin.ini files.

After you created your png backgrounds and weather icons (and everything works and lines up), you have to create a menu button for the Taskbar and call it Weather Monitor (or whatever you like). Then, just add each of the Weather Monitors (8 in all) to the menu.

BTW - there are quite a few nice weather icons at http://www.jdawiseman.com/papers/trivia/...icons.html
I used some of them and changed them in a paint program to my liking.
Wink


Messages In This Thread
[No subject] - by mark76uk - 02-17-2003, 07:15 PM
[No subject] - by mark76uk - 02-17-2003, 07:30 PM
[No subject] - by shapeshifter - 02-17-2003, 09:08 PM
[No subject] - by Yuri Kobets - 02-18-2003, 03:42 PM
[No subject] - by mark76uk - 02-18-2003, 08:16 PM
[No subject] - by mark76uk - 02-19-2003, 06:37 PM
[No subject] - by Q Section - 02-20-2003, 03:15 AM
[No subject] - by mark76uk - 02-20-2003, 01:31 PM
[No subject] - by mark76uk - 02-23-2003, 01:32 PM
[No subject] - by bbfi - 02-23-2003, 03:08 PM
[No subject] - by mark76uk - 02-23-2003, 03:18 PM
[No subject] - by Yuri Kobets - 02-23-2003, 04:18 PM
[No subject] - by bbfi - 02-23-2003, 05:41 PM
[No subject] - by bbfi - 02-23-2003, 07:12 PM
[No subject] - by nickroberts1 - 02-23-2003, 07:16 PM
[No subject] - by nickroberts1 - 02-23-2003, 07:18 PM
[No subject] - by Q Section - 02-25-2003, 08:54 PM
[No subject] - by shapeshifter - 02-26-2003, 05:37 AM
[No subject] - by mark76uk - 02-26-2003, 09:55 AM
[No subject] - by Q Section - 02-26-2003, 10:17 AM
[No subject] - by mark76uk - 02-26-2003, 10:39 AM
[No subject] - by Yuri Kobets - 02-26-2003, 10:43 AM
[No subject] - by Q Section - 02-26-2003, 10:48 AM
[No subject] - by Q Section - 02-26-2003, 11:00 AM
[No subject] - by mark76uk - 02-26-2003, 11:03 AM
[No subject] - by Q Section - 02-26-2003, 11:24 AM
[No subject] - by mark76uk - 02-26-2003, 11:33 AM
[No subject] - by Q Section - 02-26-2003, 11:38 AM
[No subject] - by mark76uk - 02-26-2003, 12:07 PM
[No subject] - by mark76uk - 02-26-2003, 12:40 PM
[No subject] - by Q Section - 02-26-2003, 02:08 PM
[No subject] - by mark76uk - 02-26-2003, 02:18 PM
[No subject] - by bbfi - 02-27-2003, 05:21 PM
[No subject] - by Q Section - 02-27-2003, 09:41 PM
[No subject] - by bbfi - 02-27-2003, 10:06 PM
[No subject] - by Q Section - 02-27-2003, 10:43 PM
[No subject] - by Denis - 03-03-2003, 08:46 PM
[No subject] - by shapeshifter - 03-04-2003, 05:52 AM
[No subject] - by mark76uk - 03-04-2003, 09:19 AM
[No subject] - by Denis - 03-04-2003, 11:22 AM
[No subject] - by shapeshifter - 03-04-2003, 01:19 PM
[No subject] - by mark76uk - 03-04-2003, 02:07 PM
[No subject] - by Denis - 03-05-2003, 04:08 PM

Forum Jump:


Users browsing this thread: 6 Guest(s)