toxbyte

Guides ·

A site with thousands of pages built from data

Timetables, power outages, exchange rates and prices: how we turned data into a page for every line, street and city on several platforms.

A site with thousands of pages built from data

Some websites have ten pages that someone writes by hand. Others have tens of thousands of pages nobody wrote, because they come from data: a page for every bus line, every street, every exchange office. Platforms like that are a large part of our work, and this article describes how we build them.

One search, one page

People do not search for “timetable”. They search for the number of their line, the name of their stop or a power outage in their street. If a site has only one page with a search box, Google has nothing to offer for such a query. If every line, stop and street has its own address, there is a page that answers each of those searches exactly.

That is what the platforms in our portfolio run on. busevi.rs and buses.app have a page for every line and stop. mojaulica.rs has a page for every city, district and street. kursdanas.rs has a page for every city, exchange office, bank and currency, and mojspisak.rs for every product and store.

Data first, pages second

Most of the work is not visible on the site. Data arrives from many sources, each in its own shape: operators publish timetables in different ways, utility companies write notices as free text, retail chains each give their price list in their own file.

So the first thing built is the part that fetches the data, validates it and maps it to one shape. An import that fails validation does not reach the site, so an error in a source does not become an error on thousands of pages. That part runs by itself, on a schedule: once a day in some places, every 15 or 30 minutes in others.

A page must have something to say

Thousands of pages that differ only by name are worth nothing. A search engine recognises them as the same content and does not show them. A page made from data makes sense only if it contains something the visitor needs: departures from that stop, the status of that street today and tomorrow, the rate at that exchange office and exactly how much you get for a given amount.

So for every page type we first answer the question of what a person who landed on it wants to find out, and only then design the look.

A title, a description and data for every page

Titles and descriptions are not written by hand, but they are not left to chance either. They are built by a rule from that page’s data, so each one is unique and says what is on the page. Every page also gets a canonical address, a breadcrumb and structured data, and the sitemap extends itself when a new line, street or product appears.

Speed when there are thousands of pages

Pages are rendered on the server, so the content arrives in the first response. To keep the server from assembling the same page again for every visitor, responses are cached briefly, and in front of the site there is a network that serves static parts from the location closest to the visitor. The cache is short on purpose: yesterday’s timetable or exchange rate is worse than a slower page.

More languages, more countries

When a platform covers several countries, every page exists in several languages, with an address per language. buses.app runs in four languages, busevi.rs and GTADb in six. The language versions point to each other, so the search engine offers readers the one in their language.

What happens when the data disappears

Lines are discontinued, stores close, products leave the range. The platform has to know what to do with such a page: redirect it where that makes sense or honestly return an error. A page that still exists but has no content spoils the impression of the whole site.

Who needs a site like this

Anyone with a lot of data that people look for one item at a time: a product catalog, a price list, a directory, locations, time slots, listings. If your offer can be described as “for every X there is a Y”, you probably have the material for a site that grows by itself as the data grows.

We build platforms like these through our web app development service, with SEO from day one. If you have the data and an idea, send an inquiry.

More articles

Have an idea for
an app or a website?

Write to us even if the idea is just a few sentences. Together we will turn it into a plan.

Book a call

How we get started

  1. 1
    You describe the ideaA few sentences on what you are building and for whom.
  2. 2
    We talkGoals, scope, timeline and what matters most first.
  3. 3
    You get a planAn estimate in phases, so you know what you pay for and when.