Neusiedl Weather

by Markus Cozowicz

Weather from Neusiedl especially useful for surfers as it contains a lot of information about the wind.
Current Version: 1.0

Sorted by Newest

Sort by Most helpful
Please sign in if you'd like to review.
  1. StOne
    September 19, 2005 · version 1.0 StOne
    Bernhard, your Code doesn't work here.
    I just changed the line (261?) to

    fetchedRef = contents.match(/ic_wind.gif' border='0' alt='([^']*)'> ([^ ]*) <font STYLE='color:#?[a-zA-Z0-9]*'>([0-9]*)</font> Bft/);

    so the problem with different font colors (#...... or e.g. ="green") does not exist any more

    bye
    StOne

  2. Bernhard
    September 16, 2005 · version 1.0 Bernhard
    To get this widget to work correctly, you have to replace line 262 in the NeusiedlWeather.kon with the following code:

    fetchedRef = contents.match(/ic_windg?.gif.* alt=.([^']*)'> ([^ ]*).*<font .*>([0-9]*)</font> Bft/);

    This code works for wind speeds of up to 5bft, I don't know the code for values of 6bft and more yet.

  3. Bernhard
    September 14, 2005 · version 1.0 Bernhard
    Ok, just asI thought: this widget doesn't work when the wind speed is 4bft or higher - the old value (e.g. 3bft) is not updated any longer and stays at the lower value. which makes the widget useless at the moment (since we are all waiting for winds above 4bft).

    I think the match expression should be like this: color="#......"

    But I have no experience with regexp.

  4. Bernhard
    September 14, 2005 · version 1.0 Bernhard
    Just had a look at the code. I'm not quite sure about this, but you match the wind speed by a font tag with a color value in it. As I recall, as soon as the wind gets over 4bft, the color changes to green. And over 7bft the color changes to red, I guess.
    So could it be that you would miss those values by your match? Unfortunately, those are the wind speeds that we are waiting for...
    But maybe I'm wrong - I'll find out today evening or maybe tomorrow (if the forecast is correct).

    Bye,
    Bernhard

  5. Bernhard
    September 14, 2005 · version 1.0 Bernhard
    Great widget! At last I have wind info at my fingertips... I always wanted to create a widget like this, but haven't had any time yet.

    I guess the information is from http://www.sport-schneider.com?

    One suggestion: It would be really nice to get an audible an visual alarm (like the one on the digital clock widget, for example). If I find some spare time, I'll give it a try improving your widget (if you're not faster...)

Get It!

Avg. Rating:

StarStarStarStarStar (2)

Your Rating:

It's:

Version:

1.0

Updated:

2005-09-14

Downloads:

5,327
Windows & Mac

More tagged weather

widescapeWeather

Downloads: 305,299
StarStarStarStarStar (83)

mini Weather

Downloads: 26,832
StarStarStarStarStar (78)

Radar

Downloads: 229,501
StarStarStarStarStar (59)

Radar uPikiT

Downloads: 45,872
StarStarStarStarStar (21)

National Weather …

Downloads: 36,315
StarStarStarStarStar (13)

More by Markus Cozowicz

Neusiedl Weather

Downloads: 5,327
StarStarStarStarStar (2)

Copyright © 2009 Yahoo! Inc. All rights reserved. · Copyright Policy · Terms of Service · Suggestions

NOTICE: We collect personal information on this site. To learn more about how we use your information, see our Privacy Policy.