feat(writer-pipeline): handball-only shortlist for andebol.net
Tests / writer-pipeline tests (push) Successful in 13s
Tests / bridge tests (push) Successful in 15s
Tests / frontend lib tests (push) Successful in 15s
Tests / writer-pipeline tests (pull_request) Successful in 11s
Tests / bridge tests (pull_request) Successful in 12s
Tests / frontend lib tests (pull_request) Successful in 13s
Tests / writer-pipeline tests (push) Successful in 13s
Tests / bridge tests (push) Successful in 15s
Tests / frontend lib tests (push) Successful in 15s
Tests / writer-pipeline tests (pull_request) Successful in 11s
Tests / bridge tests (pull_request) Successful in 12s
Tests / frontend lib tests (pull_request) Successful in 13s
Disable Record/SAPO/Guardian world feeds that are not handball-scoped (BIT-22288). Shortlist andebol.net items with topic handball only so new drafts align with owner editorial rules. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
1 parent
6819297e0d
commit
72a5ccd65c
2 files changed
+9
-7
No files matched your search
@@ -39,28 +39,28 @@
|
||||
"id": "record_pt_main",
|
||||
"kind": "rss",
|
||||
"url": "https://www.record.pt/rss/",
|
||||
"enabled": true,
|
||||
"enabled": false,
|
||||
"maxItems": 25,
|
||||
"topics": ["pt", "sports", "media"],
|
||||
"note": "Record main feed (PT, strong sports). Respect Record.pt terms; editorial rewrite required per ANDEBOL_EDITORIAL_BRIEF."
|
||||
"note": "Disabled BIT-22288: main Record feed mixes non-handball sports; shortlist is handball-tagged only. Re-enable only with a verified handball-only RSS (e.g. modalidades/andebol if Record publishes one)."
|
||||
},
|
||||
{
|
||||
"id": "sapo_noticias",
|
||||
"kind": "rss",
|
||||
"url": "https://noticias.sapo.pt/rss",
|
||||
"enabled": true,
|
||||
"enabled": false,
|
||||
"maxItems": 40,
|
||||
"topics": ["pt", "national", "international", "media"],
|
||||
"note": "SAPO highlights (PT + world). Many items credit partner outlets; may include Agência Lusa bylines — still subject to each originator's ToS; not a substitute for a direct Lusa wire contract."
|
||||
"note": "Disabled BIT-22288: SAPO general highlights are not handball-scoped; owner requires andebol.net news to be only about handball."
|
||||
},
|
||||
{
|
||||
"id": "guardian_world",
|
||||
"kind": "rss",
|
||||
"url": "https://www.theguardian.com/world/rss",
|
||||
"enabled": true,
|
||||
"enabled": false,
|
||||
"maxItems": 25,
|
||||
"topics": ["international", "en"],
|
||||
"note": "Guardian world (English). Use for important international threads with Portugal relevance; published andebol.net copy must be PT-PT per editorial brief."
|
||||
"note": "Disabled BIT-22288: world news feed is not handball-scoped."
|
||||
},
|
||||
{
|
||||
"id": "bbc_handball",
|
||||
|
||||
@@ -62,7 +62,9 @@ async function main(): Promise<void> {
|
||||
store = ingest.store;
|
||||
await saveStore(storePath, store);
|
||||
|
||||
const list = shortlist(store, site, shortlistLimit);
|
||||
/** andebol.net: only items tagged `handball` enter the shortlist (owner BIT-22288 — no general-sports wire). */
|
||||
const shortlistTopic = site === 'andebol.net' ? 'handball' : undefined;
|
||||
const list = shortlist(store, site, shortlistLimit, shortlistTopic);
|
||||
let tokensAgg = 0;
|
||||
let tokensLegacy = 0;
|
||||
let legacyUsed = 0;
|
||||
|
||||
Reference in new issue
Block a user