pipeline: hero floor — bundles require at least 4 items with hero images
Bundles now ship only when at least four of their items have a hero.* image, purely so the grid never renders image-thin. Clusters that miss the floor are held back and logged rather than padded or written thin; the weekly catch widens its window to older unbundled hero-bearing finds instead of holding. Capture gets a nudge to try a second image source before giving up on a hero. Claude-Session: https://claude.ai/code/session_01WZaczDJjL3xZ3u5spsN5AL
This commit is contained in:
@@ -65,7 +65,7 @@ If `link` for a Reddit-discovered item points at a v.redd.it / i.redd.it URL, fe
|
||||
|
||||
#### Supporting media
|
||||
|
||||
For every find, try to retrieve a single representative image from the linked page so the find has visual support if it later graduates to a review (or gets surfaced on a tile).
|
||||
For every find, try to retrieve a single representative image from the linked page so the find has visual support if it later graduates to a review (or gets surfaced on a tile). Heroes also gate bundling — a bundle needs at least 4 hero-bearing items before it can ship — so a find without a hero can hold a whole theme back: try a second source (developer site, App Store, Wikimedia) before giving up. The quality bar below still wins, though — a bad image is worse than none.
|
||||
|
||||
- **Where to look (in priority order):** `og:image` meta tag → JSON-LD `image` field → main product photo / hero image markup → first article image.
|
||||
- **Where to save:** `src/content/find/<year>/<month>/<slug>/hero.<ext>` — colocated next to `index.mdx`. Preserve the original extension (`.jpg`, `.png`, `.webp`, `.gif`, `.avif`). One file per find — `hero` is the canonical name.
|
||||
|
||||
Reference in New Issue
Block a user