BBC Weather
When the BBC reviewed its homepage, a local weather forecast became part of its core content. Box UK built the module that shows each visitor a three-day forecast for their area, and delivered it two weeks ahead of schedule.
In short
BBC Online runs the BBC’s UK websites, from News and Sport to on-demand video, radio and learning. When the BBC reviewed its homepage to bring more people to more of that content, a local weather forecast was part of the core of the new page.
- A service reading the BBC’s weather feed, showing three days of icons, highs and lows
- Location taken from the visitor’s own settings, with a GeoIP fallback to their nearest major city
- Run in Scrum across several teams, with daily working demos and peer code reviews
- Built on the BBC’s Forge platform and tested by both Box UK and the BBC
- Live two weeks early, with no negative impact on homepage performance, stability or security
Customer background
BBC Online is the BBC’s UK online service, covering News, Sport, on-demand video and radio, and online learning.
The BBC reviewed its homepage with a clear aim: to increase reach and show more people the full range of what it publishes. The new homepage was built from modules, and a local weather forecast was one of its core pieces of content.
That put weather among the first things a visitor would see, so it had to be right for wherever they were.
The challenge
A forecast is only useful if it’s for the right place. The weather module had to show each visitor the outlook for their own area, using the BBC’s existing weather feed, which updates regularly.
Not every visitor would have given the BBC a location, so the module needed its own way to work out a sensible one. It also had to sit alongside the rest of the new homepage without affecting its performance, stability or security.
With several teams building the homepage at once, how the work was run mattered as much as the code.
Our approach
Several teams were involved in the homepage, so development ran in Scrum. Short cycles meant every team got regular updates and could give feedback early, rather than waiting for a handover at the end.
Two habits kept the quality high. Every piece of code went through rigorous peer review, and a live, working version of the module was demonstrated every day, so everyone involved could see it taking shape.
That rhythm carried the module from the first working demo to a finished service.
What we built
The module is a service that reads the BBC’s weather feed and turns it into a three-day forecast: the right weather icon for each day, with maximum and minimum temperatures.
Location is what makes it personal. If the visitor has given the BBC location data, the forecast uses it. If they haven’t, the module looks up their location from their IP address (GeoIP) and shows the forecast for the major or capital city in their area. Either way, every visitor sees a relevant forecast without having to set anything up.
The module also has localisation support built in, so the BBC could later offer it in other languages.
All of this had to run inside the BBC’s own platform, alongside everything else on the homepage.
Delivery
The service was built on Forge, the BBC’s development platform at the time. Before it went into the homepage, both Box UK and the BBC tested it. The module was delivered two weeks ahead of schedule.
The outcome
The weather module went live two weeks early, integrated into the new modular homepage with no negative impact on performance, stability or security. Every visitor to the BBC homepage could now see an up-to-date forecast for their own area as soon as the page loaded.
For the BBC, one of the new homepage’s core features arrived ahead of time and didn’t put the rest of the page at risk. The built-in localisation support also left the door open to offering the module in other languages.
Frequently asked questions
Use the location they’ve already given you if there is one, and fall back to an estimate from their IP address if there isn’t. The BBC homepage module did both, showing the forecast for the nearest major or capital city when no location was set.
It’s a way of estimating someone’s location from their IP address. It’s usually accurate to a city or region, which is enough for something like a local weather forecast.
Build it as a self-contained module on the host’s own platform, test it jointly with the people who run the page, and check its effect on performance, stability and security before launch.
Work in short cycles with a working demo every day and peer review on all code. Everyone sees the same progress, and problems show up while they’re still small.
Yes. The BBC weather module was built on Forge, the BBC’s own platform, and tested by both Box UK and the BBC before it went live.
What this means for your organisation
This story is for organisations adding something new to a page that a large audience depends on: a media homepage, a retailer’s busiest landing page, or a public service people visit every day. If you’re adding a feature to a page that millions of people rely on, the bar is simple: it must help, and it must never slow the page down.
If you have a high-traffic page to extend, send us a few lines about it. We’ll tell you how we’d approach it.
Talk to one of our digital experts
Pete Withers-Jones
Head of Development
Do you have an idea or a project you need support with?
Pete Withers-Jones leads Box UK’s Development Practice, and has over 20 years of experience in software development, working across various industries and technologies.
Or call us on 020 7439 1900
Related case studies
Have a project you’d like to discuss?
Give us a call on 020 7439 1900 or fill in the form and we will get back to you.