Index moments and durations individually: entity sitemaps and structured data (#335)
- github
- github/openchronology/timeline-app
- commit
- main
- github/athanclark
Moment and duration pages already had their own addresses, server-rendered text and metadata, but nothing listed them: the sitemap named timelines and profiles only, and the timeline page linked its first 50 moments. - The sitemap index names /sitemap/entities- .xml pages: the moment and duration pages of public, unlabelled, non-comparison timelines with at most SITEMAP_TIMELINE_ENTITIES moments (5,000), several timelines to a page and never more than 45,000 addresses. Larger timelines (log imports) are left out. Entities are read by the search rows' primary key as a guest sees them (PostgresStore.entityKeys), forks read through. - Entity pages render their tags, notes, plugin text and https sources, related entities as links and a link into the timeline open at them, with schema.org JSON-LD: an Event with ISO dates on Gregorian timelines, else a CreativeWork with the displayed time. - Entity pages of labelled timelines are described by their labels and are noindex, as their previews already show nothing of them. - Docs: sharing, search, docker. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_011fFY8eruEi1xAkkMBni13B https://github.com/openchronology/timeline-app/commit/1268f67bfed448f4e4e59ecb4f2ab7ea56fc19bb