Question

I would like to add a 5-10 day weather forecast to a website. I'm having trouble finding a website that provides an embed code for forecasts. The few I've found look awful (circa 1990's). I was just wondering if there was a halfway clean-looking solution that I might be overlooking in my endless Google searches. Flash, iframe, anything...

I'm realizing that pulling in a weather RSS Feed might be the only clean solution, but I am not very familiar with parsing RSS feeds, so it will require a lot of labor on my end, since I'll be digging through documentation.

**I should also mention that this weather app is on it's own page. So, bigger is better. If I don't find one big enough, I'll just implement it into a floating window (jQuery Overlay, to be exact) instead of it's own page.

Was it helpful?

Solution

Forecast.io offers a very slick weekly forecast embed solution. You can also customize the colors and fonts to match your site if you like. It's fixed height, variable width.

OTHER TIPS

Weather Underground is a successful weather forecasting site that cover most of the world (you don't say where you need the forecast for). They have something free called Weather Stickers which offer live feeds of the current observed weather situation. You just embed an image in your page. Like this:

Click for London, United Kingdom Forecast
(source: wunderground.com)

They also offer weather forecast XML feeds and API but you'd need to do some work. Or they can build you a custom site. But you have to pay for that.

Weather.com offer Weather Widgets which is a similar idea. You have to embed JavaScript for that so I can't show it here. Looks like they have RSS feeds, and if you register you may be able to get more.

There is a new interactive weather widget generator at https://weatherwidget.io/

It is free, very customizable, and the widgets it creates are fully responsive.

If you wanna have real good embedded weather software use the Weather Underground Api. The information on the Website (http://dutch.wunderground.com/weather/api/d/docs) is very good, with examples and has everything for your own development.

The information is based on the raw data to build your own environment around it. That means you have to build the look-and-feel, they provide the data.

And it is free!!!

Tried all the other services above, but none of them worked on a site using HTTPS.

I found this service which worked:

http://www.booked.net/widgets/weather

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top