feat(feeds): add Romanian (ro) locale with mainstream + investigative sources#3883
feat(feeds): add Romanian (ro) locale with mainstream + investigative sources#3883zionappp-ui wants to merge 1 commit into
Conversation
|
@zionappp-ui is attempting to deploy a commit to the World Monitor Team on Vercel. A member of the Team first needs to authorize it. |
Greptile SummaryAdds 7 Romanian-language RSS feeds (Digi24, G4Media, HotNews, Recorder, Ziarul Financiar, Agerpres, Rise Project) across all required configuration files, with consistent source-type and tier-2 assignments.
Confidence Score: 5/5Safe to merge; all required allowlist and config files are updated in consistent lockstep with no logic changes. The change is purely additive data configuration: new feed entries, domain allowlist extensions, and source-tier assignments. All four allowlist copies are byte-identical where required, the source-tiers mirrors match, and the No files require special attention. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
Client["Browser / SPA\n(src/config/feeds.ts)"] -->|rss proxy URL| ViteProxy["Vite dev proxy\n(vite.config.ts)"]
Client -->|production| EdgeFn["Vercel Edge Function\n(api/rss-proxy.js)"]
EdgeFn -->|domain check| AllowList["api/_rss-allowed-domains.js\n+ _rss-allowed-domain-match.js\n(www-normalized)"]
EdgeFn -->|direct fetch| RO["Romanian RSS endpoints\nDigi24 · G4Media · HotNews\nRecorder · ZF · Agerpres · Rise Project"]
EdgeFn -->|fallback| Railway["Railway relay"]
Railway --> RO
ServerFeeds["server/worldmonitor/news/v1/_feeds.ts\n(VARIANT_FEEDS.full.europe)"] --> RO
AllowList -.->|source of truth| SharedJSON["shared/rss-allowed-domains.json\n= scripts/shared/rss-allowed-domains.json"]
SourceTiers["shared/source-tiers.json\n(tier 2 x 7)\n= scripts/shared/source-tiers.json"] -.->|importance scoring| ImportanceScorer["list-feed-digest.ts\n+ ais-relay.cjs"]
Reviews (1): Last reviewed commit: "feat(locale): add Romanian (RO) news sou..." | Re-trigger Greptile |
Adds 7 Romanian news feeds to the Europe section: - Mainstream: Digi24, G4Media, HotNews, Recorder - Wire: Agerpres - Market: Ziarul Financiar - Investigative: Rise Project All sources use direct RSS (no Google News fallback needed). Adds domain allowlist entries to all 4 mirrors and source-tier entries at tier 2. ro locale and offline.html entry already exist in upstream.
f378a55 to
13455c2
Compare
|
Fixed: |
Summary
Adds 7 Romanian-language news sources covering public broadcasting, quality journalism, business reporting, and investigative outlets.
New feeds
All feed URLs probed and verified (≥1 item returned).
Files changed
src/config/feeds.ts— SOURCE_TYPES entries + feed array entries (lang: 'ro')server/worldmonitor/news/v1/_feeds.ts— server-side mirror (all direct RSS, no gnLocale needed)shared/rss-allowed-domains.json— 7 new domainsscripts/shared/rss-allowed-domains.json— byte-identical copyapi/_rss-allowed-domains.js— edge-compatible copyvite.config.ts— proxy allowlistshared/source-tiers.json— 7 entries at tier 2scripts/shared/source-tiers.json— byte-identical copyAll 4 allowlist files and both source-tiers files are kept in parity (verified with
diff).🤖 Generated with Claude Code