D66e — A site links a source as it was written, and an application to its site¶
- Status: Accepted — extends D66
- Date: 2026-11-05
- Origin: a reader of the Wales site whose source links would not open
- Area: surfaces
Decision¶
- A source's link is the address as it was written (
sources.url_raw), not the form kg keys sources by (sources.url, D15). The key stays the key: it groups and counts sources, as before. - An application's site is a link to that site's page, both in its "what we hold" table and in the applications tables. A site the scope does not publish stays a name.
- An application belongs to its site by id, not by name, so two sites that share a name keep their own applications.
Why¶
normalise_url drops www., forces https and trims a trailing slash so that
two copies of one page are one source. Some servers answer only at the address
as written: cardiffidoxcloud.wales does not answer, www.cardiffidoxcloud.wales
does. 232 of the 1,178 sources in the UK graph had lost a www., so their links
on every site led nowhere. The original address was always kept beside the key.