News Worker Test Page
DO NOT INDEX
- This page is for testing the news auto-update worker. Not for public use.
Controls
Worker URL
Save
Fetch (Cached)
Force Refresh
Debug Mode
Clear
Status
Not Connected
Last Fetch
-
Headlines
0
Cache Age
-
News Results
Click "Fetch" to load news from your worker.
Debug Log
[Ready] Waiting for commands...
Worker Configuration
// Deploy this to Cloudflare Workers // See: /Trump/_test-news/worker.js const CONFIG = { MAX_HEADLINES_PER_TOPIC: 4, CACHE_TTL_HOURS: 4, MAX_ARTICLE_AGE_DAYS: 7, TOPICS: { immigration: ['visa', 'ice ', 'deportation', 'h-1b', 'border', 'asylum', 'migrant'], tariffs: ['tariff', 'import duty', 'trade war', 'china trade', 'section 301', 'section 232'], doge: ['doge', 'elon musk', 'government efficiency', 'federal layoff', 'ramaswamy'], foreign: ['greenland', 'canada annex', 'panama canal', 'denmark', '51st state'], federal: ['schedule f', 'civil service', 'dei federal', 'federal worker'], }, RSS_FEEDS: [ 'https://feeds.reuters.com/reuters/politicsNews', 'https://feeds.npr.org/1001/rss.xml', 'https://rss.nytimes.com/services/xml/rss/nyt/Politics.xml', ], SKIP_TERMS: ['opinion', 'editorial', 'podcast', 'newsletter', 'live updates'], };