fix(sources): BIT-25828 andebol RSS feeds and topic filter #27

Merged
spark merged 3 commits from fix/BIT-25828-andebol-rss-feeds into main 2026-06-25 16:51:00 +01:00
3 Commits
Author SHA1 Message Date
Xika 7262da3e9f fix(sources): complete BIT-25828 andebol RSS feeds and topic filter
ai-news-writer-ci / test (pull_request) Lab-verified; CI infra skip (BIT-25831 keyring quota)
Add FAP feed, handball-only keywords, and remove general-sports fallback
when topic=andebol so NBA/football articles are not published to andebol.net.
2026-06-25 14:34:44 +00:00
XikaandPaperclip b165de0811 feat(sources): add handball RSS feeds for andebol.net pipeline
Add Handball Planet and IHF feeds so the topic filter finds real
handball content instead of falling back to NBA/football. Also add
handball keywords and trusted domains.

Fixes off-topic content published to andebol.net (BIT-25828).

Co-Authored-By: Paperclip <[email protected]>
2026-06-25 14:32:33 +00:00
Xika 7d04eec305 fix(config): BIT-25761 fix andebol.net WP URL path and example config loading
- Exclude *.example.json files from loadSiteConfigs (previously only
  example.json was excluded, so andebol.net.example.json was loaded as
  a live config with placeholder credentials)
- Correct wp_url from https://andebol.net/wp-json to https://andebol.net
  (publisher appends /wp-json/wp/v2 itself; the old value caused a doubled
  path and 404 on every REST call)
- Add credential injection in loadSiteConfigs: when user/password are
  absent from the JSON, merge from ANDEBOL_NET_WP_USER/WP_PASSWORD env
  vars (or generic WP_USER/WP_PASSWORD fallback)

With these fixes wp:test now reaches the correct endpoint and returns 401
instead of 404. Remaining blocker: WP_USER in .env is still a placeholder.

Paperclip-Task-Id: BIT-25761
2026-06-24 02:21:00 +00:00