Weather Widget
-
Hey
I know there are certain code you can and cannot use for weather widgets, but I need to find a site that is ok for WordPress and says the weather for Bath, Ontario. Underworld Weather doesn’t have it, Accuweather doesn’t have it, and a few other places I’ve tried don’t have it.
Please help.The blog I need help with is: (visible only to logged in users)
-
The best I could do for ya was wunderground.com’s weather sticker for Kingston, ON. ( http://www.wunderground.com/stickers/?query=zmw:00000.1.71620 ). You can copy/paste the HTML code into a text widget.
I based that on Bath being part of Loyalist, ON and the Loyalist website having a weather badge for Kingston.
Cheers!
-
Alright so I figured out how to get Accuweather up but it’s saying New York, not Bath. Both the original and short code says “BATH” but the sticker say New York.
-
And in regards to kraftbj, it’s a marina, so the weather has to be as accurate as possible.
-
There is a Bath, NY that is likely what it is pulling. My suggestion is to use the wunderground link above and choose station select. There are a couple of stations that are nearish to Bath (amherstville and amherst island).
In the sticket’s html code, you’ll see a line of “ForcedCity=Kingston”, change that to Bath and the sticker’s label will change.
It appears that there isn’t a local weather observation station in Bath proper, at least that’s public online.
Hope that’s a little helpful. Best of luck on the site!
Cheers!
-
If you can get the Accuweather one to work, you just need to change your inputs at Accuweather itself to get the right location, assuming indeed that it has the correct location in its database.
-
[gigya src="http://netweather.accuweather.com/adcbin/netweather_v2/netwx-v28.swf" height="138" width="180" quality="high" wmode="transparent" bgcolor="#ffffff" flashvars=" Weather Forecast | <a style='color: #FFFFFF'" ]
This is the code I’m using.
As you can see, the location is right so I’m so confused :( I’ve been working on this for 3 or 4 hours now.
I’ll try re-doing it though and I’ll try the wunderground as well. -
So there isn’t actually anything near Bath on wunderground, and I tried the Accuweather again, but it says New York again.
-
Try just leaving it in place for a few hours. Weather widgets can be tricky and it could be there’s no current info for Bath. Check again in the morning; if you have a private Test blog, that’s a good use for it, since nobody will see the widget.
-
http://www.wunderground.com/wundermap/
These are the locations remotely in the area, and everything is about a half hour drive. That isn’t really accurate enough. -
The blog is already published and I guess I’ll wait till morning and see what happens. The site has only had a few views from people I asked for opinions from, so I don’t think i need to worry about that really. Thanks!
- The topic ‘Weather Widget’ is closed to new replies.