Collection badge

The badge is a small SVG image, hosted here, that a site in the collection can embed. It links back to that site's page in the collection. Every figure on it comes from the collection's own records, never from the site.

What the badge shows

Pages measured
The number of URLs in the site's own sitemap, counted by the collection's weekly sweep and shown with a thousands separator. A site too large to re-walk is not counted as measured: its size is kept apart, shown only with how and when it was taken, and left out of every measured total. Which sites that applies to is set out under “Where the figures come from” below.
Updated
The date of the newest content the site itself reports, from its feed or its sitemap lastmod. It is not a build date.
Status dot
The site's current status on the operations page. The dot is absent when the operations feed has no row for the site, or when its latest snapshot is older than that page's freshness limit.

Where the figures come from

Each figure is read from a record the collection keeps about the site, and each record is refreshed on its own schedule. The image is re-rendered at most hourly, but it can only be as current as the record behind it. When a record holds nothing for a figure, the badge leaves that segment out instead of showing a zero.

Pages measured: the weekly sitemap sweep
A scheduled script fetches each site's own sitemap once a week, on Sundays, and counts the URLs in it. A count that lands far outside the site's previous one is recorded but not adopted until it has been checked. The three largest sites in the collection are the exception: their sitemaps are too big to walk on a schedule, so the weekly sweep skips them, and their badges do not show a weekly reading. A few sites that have not launched, and any site whose sitemap has too many child sitemaps to walk safely, are likewise left as they are. The latest reading for every site is in the Measured table.
Entries: a reviewed record, not a sweep
A site with no measured page count shows the entry count held in its catalogue record instead, with the label that record gives it and without the word “measured”. That figure is not read from the sitemap and changes only when the record is reviewed and edited.
Updated: the nightly harvest
A nightly job reads each site's own feed and the lastmod dates in its sitemap, and records the newest content date the site reports. A site whose sitemap carries one bulk build date instead of per-page edit dates does not get an Updated date from it, because that marks when the site was regenerated, not when its content was edited. Such a badge simply has no Updated segment.
Status dot: the daily monitoring report
The dot comes from the monitoring panel's signed report, which arrives once a day and is published on the operations page. Green means operational, amber degraded, red down and grey unknown. A snapshot more than 36 hours old counts as stale and the dot is left off, since an image cannot carry an “as of” caveat.

Live examples

These are the live badges for the three largest sites in the collection.

  • Vinony — Tonvin Collection badgeVinony
  • EatOutMap — Tonvin Collection badgeEatOutMap
  • Company Register Intel — Tonvin Collection badgeCompany Register Intel

How to embed

Replace <slug> with the last segment of the site's page URL on this collection (find it on every site's page) and <Site name> with the site's name.

<a href="https://tonvincollection.com/sites/<slug>">
  <img src="https://tonvincollection.com/badge/<slug>.svg" alt="<Site name> — part of the Tonvin Collection" height="20">
</a>

The same badge as Markdown:

[![<Site name> — part of the Tonvin Collection](https://tonvincollection.com/badge/<slug>.svg)](https://tonvincollection.com/sites/<slug>)

The image refreshes itself at most hourly as the measurements change, so there is nothing to re-embed.

Who can use it

Any of the 109 sites listed in the directory. A site that is not listed in the directory gets no badge and the address returns a 404.