feat(writer-pipeline): smart featured-image backfill for andebol.net (BIT-25556) #23

Merged
spark merged 2 commits from feat/BIT-25556-smart-backfill into main 2026-06-18 11:47:54 +01:00
2 Commits
Author SHA1 Message Date
José AlvesandPaperclip 8fcb9f5803 ci: retrigger tests (BIT-25556)
Tests / writer-pipeline tests (push) Failing after 12s
Tests / bridge tests (push) Successful in 46s
Tests / writer-pipeline tests (pull_request) Successful in 42s
Tests / frontend lib tests (push) Successful in 47s
Tests / bridge tests (pull_request) Successful in 44s
Tests / frontend lib tests (pull_request) Successful in 41s
Co-Authored-By: Paperclip <[email protected]>
2026-06-18 10:46:05 +00:00
José Alves 7fb7ca272a feat(writer-pipeline): smart featured-image backfill for andebol.net (BIT-25556)
Add backfill-featured-smart.ts: extracts source URLs from post content,
queries FPA WP API for matching featured images, scrapes og:image from
IHF/EHF/Handball-Planet sources, falls back to FPA title search for
Portuguese articles, and finally tries WebDAV archive. More robust than
the slug-only backfill-featured-from-fpa.ts.

All 147 published posts now have featured_media (backfill ran in prior
heartbeat). New npm script backfill:featured-smart for future re-runs.

Paperclip-Issue: BIT-25556
Paperclip-Run: f182fddd-6d43-437a-9d2f-644fd0a76330
2026-06-18 10:46:04 +00:00