Tordex Community
Small bug - WM icon - Printable Version

+- Tordex Community (http://forum.tordex.com)
+-- Forum: True Launch Bar plugins (http://forum.tordex.com/forum-4.html)
+--- Forum: Plugins bugs (http://forum.tordex.com/forum-17.html)
+--- Thread: Small bug - WM icon (/thread-937.html)



- Q Section - 10-10-2003

Hello Everyone
We have been using WM very successfully for quite some time but just today a field test reveals no icon appearing. Here is the part of the HTML page where the command appears:

<td bgcolor="#FFFFFF" valign="top"><img src="icons/Mostly_Cloudy.GIF" alt="Mostly Cloudy"></td>

and here is our skin file for the same:

Mostly Cloudy=mostly_cloudy.png

and here is the file name from the skin folder:

mostly_cloudy.png

The page to parse is:

http://www.aws.com/aws_2001/asp/obsForecast.asp?id=KISM&obs=full

So...any ideas of why no icon today?

Thank you.


- shapeshifter - 10-10-2003

Sounds like it's probably a problem with your provider file. Can you copy your [Conditions] section here?


- Q Section - 10-10-2003

[Conditions]
find0 = "Forecast for"
find1 = "<td"
find2 = alt="
delim = "


- shapeshifter - 10-10-2003

That looks like it should work to me. The only thing I can think to try is to enclose your find 2 and delimiters in quotes, as below:

[Conditions]
find0 = "Forecast for"
find1 = "<td"
find2 = "alt=""
delim = """

Or possibly remove the quotes from the other two, as so:

[Conditions]
find0 = Forecast for
find1 = <td
find2 = alt="
delim = "

It could just be that the page's syntax had changed slightly earlier, and everything cleared up (well, indoors, anyway)when the weather shifted to "Chance of Rain"?


- Q Section - 10-10-2003

Thank you Shapeshifter

We have noticed that this particluar weather station is on again - off again very often. Perhaps their coding is also the same way. We have elected to try another station nearby which is up all the time. We have just now entered the new url and it works perfectly including the icon.

P.S. - We were offline since about the end of June due to a move of a field office. We are now online again. Big Grin


- shapeshifter - 10-11-2003

Quote:P.S. - We were offline since about the end of June due to a move of a field office. We are now online again.

Well, welcome back Big Grin