feat(feeds): deepen Greek (el) news sources — ERT, AMNA wire, 3 outlets + full server parity#3899
feat(feeds): deepen Greek (el) news sources — ERT, AMNA wire, 3 outlets + full server parity#3899zionappp-ui wants to merge 2 commits into
Conversation
…s + full server parity
|
@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 SummaryThis PR deepens Greek (
Confidence Score: 2/5Not safe to merge — vite.config.ts has a syntax error that will break the build on any machine that tries to compile it. The three Greek proxy domains intended for RSS_PROXY_ALLOWED_DOMAINS were accidentally placed inside BROTLI_EXTENSIONS with a missing comma, producing a TypeScript syntax error that prevents the project from building at all. The rest of the feed additions are correct and well-formed. vite.config.ts lines 14-17 need the three domain strings removed from BROTLI_EXTENSIONS and added to RSS_PROXY_ALLOWED_DOMAINS instead (around line 583). Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Greek RSS Feed Request] --> B{Feed type?}
B -- Google News via gnLocale --> C[Kathimerini / Proto Thema / ERT / AMNA]
B -- Direct RSS --> D[Naftemporiki / in.gr / iefimerida / Ta Nea / Liberal GR / CNN Greece]
C --> E[server/_feeds.ts Variant Feeds Record]
D --> E
E --> F[RSS Proxy vite.config.ts RSS_PROXY_ALLOWED_DOMAINS]
D --> G{Domain in allowlist?}
G -- tanea.gr ✅ --> F
G -- liberal.gr ✅ --> F
G -- cnn.gr ✅ --> F
G -- naftemporiki.gr ❌ MISSING --> H[Dev proxy blocked]
G -- in.gr ❌ MISSING --> H
G -- iefimerida.gr ❌ MISSING --> H
subgraph Bug
I[BROTLI_EXTENSIONS Set lines 14-17]
J[www.naftemporiki.gr / www.in.gr / www.iefimerida.gr plus syntax error: missing comma]
I --> J
end
H -.->|These ended up here instead| I
Reviews (1): Last reviewed commit: "feat(feeds): deepen Greek (el) sources —..." | Re-trigger Greptile |
| const BROTLI_EXTENSIONS = new Set(['.js', '.mjs', '.css', '.html', '.svg', '.json', '.txt', '.xml', '.wasm' 'www.naftemporiki.gr', | ||
| 'www.in.gr', | ||
| 'www.iefimerida.gr', | ||
| ]); |
There was a problem hiding this comment.
Syntax error: domains injected into wrong Set, missing comma
Three domain strings (www.naftemporiki.gr, www.in.gr, www.iefimerida.gr) were accidentally placed inside BROTLI_EXTENSIONS — a Set of file extensions used for brotli compression — instead of RSS_PROXY_ALLOWED_DOMAINS. Additionally, there is no comma between '.wasm' and 'www.naftemporiki.gr', which is a TypeScript syntax error that will prevent the build from compiling entirely. These domains were intended for RSS_PROXY_ALLOWED_DOMAINS (around line 580), where www.tanea.gr, www.liberal.gr, and www.cnn.gr were correctly added. The fix is to remove these three strings from BROTLI_EXTENSIONS and add them to RSS_PROXY_ALLOWED_DOMAINS instead.
…_ALLOWED_DOMAINS + add missing parity domains + strip Unicode escape noise
What this adds
Deepens the Greek (`el`) locale with 5 new sources and fixes a critical server/client parity gap — all 5 existing Greek feeds (Kathimerini, Naftemporiki, in.gr, iefimerida, Proto Thema) were present in `src/config/feeds.ts` but entirely absent from `server/worldmonitor/news/v1/_feeds.ts`. This PR adds them all.
New sources (5 feeds, all verified live)
Server parity fix
Kathimerini, Naftemporiki, in.gr, iefimerida, Proto Thema — all added to server digest. Also adds the 3 direct domains (naftemporiki.gr, in.gr, iefimerida.gr) to the vite.config.ts dev-proxy allow-list which was missing them.
ERT (Ellinikí Radiofonía Tileórasi) is Greece's public broadcaster. AMNA (Athens-Macedonian News Agency) is the national wire.