Say what each page is in the words people search with, and mark up the facts
Mirror to forge / mirror (push) Canceled after 0s
Validate / validate (push) Canceled after 0s
Validate / history (push) Canceled after 0s
Validate / site (push) Canceled after 0s
Validate / deploy (push) Canceled after 0s

A whole-site search audit found clean foundations and three gaps: titles
without the words people search for, no structured data on trail pages,
and trails that did not link to each other.

- Trail titles carry the name hikers use, the abbreviation, the length
  and what the page offers; "GPX" only where the page has one. A new
  optional `common_name` field holds the name hikers use (13 records).
- Descriptions are built from each record, at most 155 characters.
- Place and list pages are titled for what they are; heading levels no
  longer jump.
- Trail pages link to similar and related trails and to the lists they
  belong to. Every trail has at least three links from other trails.
- JSON-LD on every page: a Place for each trail, breadcrumbs, item lists
  on list and place pages, WebSite and Organization on the home page, a
  fuller Dataset on the data page.
- A social card per trail, a changelog feed, `lastmod` in the sitemap from
  record dates, `noindex` on the 404 and on raw per-trail files, a
  favicon and an `llms.txt` listing the data files and licences.
- The "Considered and left out" page has its spacing fixed.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
swaitsandClaude Fable 5.2 committed 2026-11-16 14:57:30 -07:00
1 parent a46338afd5
commit 5b80fccd1e
245 files changed
+2534 -137

No files matched your search

+17
View File
@@ -1,5 +1,22 @@
# Changelog
## 2026-11-16 - Search visibility: titles, descriptions, headings and links between trails
- Every trail page has a title in the words people search with: the name hikers use, the abbreviation, the length in miles and what the page offers, for example "Appalachian Trail (AT): 2,198 miles, map and GPX". "GPX" appears only on a page that has a GPX download, and "map" only on a page with a track. A route says it is a route. Pieces are dropped in a fixed order (the kilometres, a route's author, "map", the abbreviation, then "GPX") until the whole title fits in 65 characters. Five trails with very long names are over that, because the name alone is.
- A new optional record field, `common_name`, holds the name hikers use where it differs from `name`, such as "Appalachian Trail" for "Appalachian National Scenic Trail". 13 records have one, each given only where the trail's holder or author uses that name on a page, and that page is the basis in the record's history entry. The trail page's heading shows the common name, with the recorded name under it as "Full name", and the search box finds it. `tools/validate.py` checks the field and `docs/schema.md` describes it.
- Trail descriptions are built from the record: the kind, the length in miles and kilometres, the states or provinces, the usual time where a source states one, then the first sentence of the summary, in at most 155 characters. The stock "Download its GPX here." sentence is gone.
- Place pages are titled for what people search, such as "Long Trails in Colorado: 4 Trails and 6 Routes", and each list says what it is, such as "Loop Hiking Trails: 32 Long Trail Loops". Their descriptions add the count, the shortest and the longest. The home page and the About, Sources, Logos, Data, Record schema, Changelog and left-out pages have their own titles and descriptions too, and no two pages share a description.
- The place and list pages no longer jump from the main heading to third-level headings.
- On the Considered and left out page, the introduction is now spaced from the first group, with the same short space above it as the other list pages.
- Trails link to each other. The foot of each trail page now offers similar trails (close in length, alike in terrain and shape), trails whose own words name this one or share its name, and the longest trails in its state, as before. Every trail is now listed on at least three other trails' pages; 68 were on none. On a trail page, the terrain, a loop, a cross-country walk, and a length or a time that puts the trail in a list now link to that list, and each place page names the lists that hold trails there.
- Every trail page now carries structured data (JSON-LD) built from its record: a `Place` that is also a `TouristAttraction` (schema.org has no type for a trail), with the abbreviation and common name as alternate names, the states, the extent of the track, the official page and the OpenStreetMap relation as `sameAs`, the published length in miles and kilometres, the usual time, the highest point, and the track files with their licence. A route says who its author is. The page's `dateModified` is the newest of its check dates and its history, never the build date. Nothing is marked up that the record does not hold: no rating, review, price or opening hours.
- Every page with a breadcrumb has a `BreadcrumbList` read from the breadcrumb it shows. Place and list pages have a `CollectionPage` with an `ItemList` of their trails. The home page has `WebSite` and `Organization`, which hold only what `web/site.toml` holds. The `Dataset` is now on the data page, and is fuller: creator, keywords, spatial and temporal coverage, date modified, version, the variables, how they are measured, and each download with its format.
- Each trail has its own social card, 1200 by 630 pixels, with its name, length, places and the outline of its track. They are drawn by `web/tools/make_cards.py` and committed in `web/cards/`, as the logo thumbnails are, so the site build stays standard library only. Every page also says what its card shows.
- The sitemap gives each page a `<lastmod>` from the data: a trail's newest check or history date, a list or place page's newest trail, the changelog's newest entry. A page with no date of its own has none.
- The 404 page asks not to be indexed. The raw files under `/trails/` (`trail.toml`, `release.txt`, `map.json`, `sketch.json`, the GeoJSON and the GPX) carry `X-Robots-Tag: noindex`, so a trail's page stays the one result for it. The bulk downloads under `/data/` stay indexable.
- New: an Atom feed of this changelog at `/feed.xml`, linked from every page; links from the data page to the JSON and CSV; a `favicon.ico`; and `/llms.txt`, a plain list of the bulk files, the per-trail file names and the licences.
- No trail's facts changed except the added common names.
## 2026-11-16 - A monthly refresh process for the whole dataset
- The monthly refresh is now written down and can be started with one command. An agent follows the runbook in `.claude/skills/refresh-trails/` (start it with `/refresh-trails`, or `/refresh-trails light` to verify and re-check only). It verifies every record against the pages it cites, re-checks `left-out.toml` and its `waiting` entries, searches for missing trails and routes by region, looks at tracks and emblems, has every proposed change reviewed by a second reader who opens the cited pages, and stops for the maintainer's ruling on borderline trails before anything is applied.