feat: pin a fixed article to the top of news results #1

Merged
admin merged 1 commits from feat/pinned-news-article into main 2026-06-04 08:33:46 +00:00
Owner

Add PinnedArticleService that always returns configured Naver articles
first to the front-end. Articles are built from a bare URL via a new
NewsApiClient.buildArticleFromUrl (OG/meta parsing + existing content and
image-localization pipeline), cached to disk with a TTL, and prepended
with de-duplication in NewsStorageService. Configurable via
NEWS_PINNED_ARTICLE_URLS / NEWS_PINNED_CATEGORIES / NEWS_PINNED_TTL_MS.

Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com

Add PinnedArticleService that always returns configured Naver articles first to the front-end. Articles are built from a bare URL via a new NewsApiClient.buildArticleFromUrl (OG/meta parsing + existing content and image-localization pipeline), cached to disk with a TTL, and prepended with de-duplication in NewsStorageService. Configurable via NEWS_PINNED_ARTICLE_URLS / NEWS_PINNED_CATEGORIES / NEWS_PINNED_TTL_MS. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
admin added 1 commit 2026-06-04 08:33:42 +00:00
Add PinnedArticleService that always returns configured Naver articles
first to the front-end. Articles are built from a bare URL via a new
NewsApiClient.buildArticleFromUrl (OG/meta parsing + existing content and
image-localization pipeline), cached to disk with a TTL, and prepended
with de-duplication in NewsStorageService. Configurable via
NEWS_PINNED_ARTICLE_URLS / NEWS_PINNED_CATEGORIES / NEWS_PINNED_TTL_MS.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
admin merged commit 544f5a075b into main 2026-06-04 08:33:46 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: admin/news_service#1
No description provided.