Skip to content

Commit f378a55

Browse files
committed
feat(locale): add Romanian (RO) news sources
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.
1 parent 3735d77 commit f378a55

8 files changed

Lines changed: 62 additions & 5 deletions

File tree

api/_rss-allowed-domains.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,5 +311,12 @@ export default [
311311
"hirado.hu",
312312
"portfolio.hu",
313313
"www.portfolio.hu",
314-
"www.atv.hu"
314+
"www.atv.hu",
315+
"www.digi24.ro",
316+
"www.g4media.ro",
317+
"hotnews.ro",
318+
"recorder.ro",
319+
"www.zf.ro",
320+
"www.agerpres.ro",
321+
"www.riseproject.ro"
315322
];

scripts/shared/rss-allowed-domains.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,5 +308,12 @@
308308
"hirado.hu",
309309
"portfolio.hu",
310310
"www.portfolio.hu",
311-
"www.atv.hu"
311+
"www.atv.hu",
312+
"www.digi24.ro",
313+
"www.g4media.ro",
314+
"hotnews.ro",
315+
"recorder.ro",
316+
"www.zf.ro",
317+
"www.agerpres.ro",
318+
"www.riseproject.ro"
312319
]

scripts/shared/source-tiers.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,5 +262,12 @@
262262
"ArXiv AI": 4,
263263
"AI News": 4,
264264
"Layoffs News": 4,
265-
"GloNewswire (Taiwan)": 4
265+
"GloNewswire (Taiwan)": 4,
266+
"Digi24": 2,
267+
"G4Media": 2,
268+
"HotNews": 2,
269+
"Recorder": 2,
270+
"Ziarul Financiar": 2,
271+
"Agerpres": 2,
272+
"Rise Project": 2
266273
}

server/worldmonitor/news/v1/_feeds.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,14 @@ export const VARIANT_FEEDS: Record<string, Record<string, ServerFeed[]>> = {
5555
{ name: 'Híradó', url: gnLocale('site:hirado.hu when:2d', 'hu', 'HU', 'HU:hu'), lang: 'hu' },
5656
{ name: 'Portfolio.hu', url: 'https://portfolio.hu/rss/all.xml', lang: 'hu' },
5757
{ name: 'ATV', url: 'https://www.atv.hu/rss', lang: 'hu' },
58+
// Romanian (RO) — mainstream + investigative
59+
{ name: 'Digi24', url: 'https://www.digi24.ro/rss', lang: 'ro' },
60+
{ name: 'G4Media', url: 'https://www.g4media.ro/feed', lang: 'ro' },
61+
{ name: 'HotNews', url: 'https://hotnews.ro/feed', lang: 'ro' },
62+
{ name: 'Recorder', url: 'https://recorder.ro/feed/', lang: 'ro' },
63+
{ name: 'Ziarul Financiar', url: 'https://www.zf.ro/rss/', lang: 'ro' },
64+
{ name: 'Agerpres', url: 'https://www.agerpres.ro/rss/stiri', lang: 'ro' },
65+
{ name: 'Rise Project', url: 'https://www.riseproject.ro/feed/', lang: 'ro' },
5866
],
5967
middleeast: [
6068
{ name: 'BBC Middle East', url: 'https://feeds.bbci.co.uk/news/world/middle_east/rss.xml' },

shared/rss-allowed-domains.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,5 +308,12 @@
308308
"hirado.hu",
309309
"portfolio.hu",
310310
"www.portfolio.hu",
311-
"www.atv.hu"
311+
"www.atv.hu",
312+
"www.digi24.ro",
313+
"www.g4media.ro",
314+
"hotnews.ro",
315+
"recorder.ro",
316+
"www.zf.ro",
317+
"www.agerpres.ro",
318+
"www.riseproject.ro"
312319
]

shared/source-tiers.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,5 +262,12 @@
262262
"ArXiv AI": 4,
263263
"AI News": 4,
264264
"Layoffs News": 4,
265-
"GloNewswire (Taiwan)": 4
265+
"GloNewswire (Taiwan)": 4,
266+
"Digi24": 2,
267+
"G4Media": 2,
268+
"HotNews": 2,
269+
"Recorder": 2,
270+
"Ziarul Financiar": 2,
271+
"Agerpres": 2,
272+
"Rise Project": 2
266273
}

src/config/feeds.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ export const SOURCE_TYPES: Record<string, SourceType> = {
5555
'SVT Nyheter': 'mainstream', 'Dagens Nyheter': 'mainstream', 'Svenska Dagbladet': 'mainstream',
5656
// Brazilian Addition
5757
'Brasil Paralelo': 'mainstream',
58+
// Romanian (RO)
59+
'Digi24': 'mainstream', 'G4Media': 'mainstream', 'HotNews': 'mainstream',
60+
'Recorder': 'mainstream', 'Agerpres': 'wire',
61+
'Ziarul Financiar': 'market', 'Rise Project': 'mainstream',
5862

5963
// Market/Finance
6064
'CNBC': 'market', 'MarketWatch': 'market', 'Yahoo Finance': 'market',
@@ -278,6 +282,14 @@ const FULL_FEEDS: Record<string, Feed[]> = {
278282
{ name: 'in.gr', url: rss('https://www.in.gr/feed/'), lang: 'el' },
279283
{ name: 'iefimerida', url: rss('https://www.iefimerida.gr/rss.xml'), lang: 'el' },
280284
{ name: 'Proto Thema', url: rss('https://news.google.com/rss/search?q=site:protothema.gr+when:2d&hl=el&gl=GR&ceid=GR:el'), lang: 'el' },
285+
// Romanian (RO) — mainstream + investigative
286+
{ name: 'Digi24', url: rss('https://www.digi24.ro/rss'), lang: 'ro' },
287+
{ name: 'G4Media', url: rss('https://www.g4media.ro/feed'), lang: 'ro' },
288+
{ name: 'HotNews', url: rss('https://hotnews.ro/feed'), lang: 'ro' },
289+
{ name: 'Recorder', url: rss('https://recorder.ro/feed/'), lang: 'ro' },
290+
{ name: 'Ziarul Financiar', url: rss('https://www.zf.ro/rss/'), lang: 'ro' },
291+
{ name: 'Agerpres', url: rss('https://www.agerpres.ro/rss/stiri'), lang: 'ro' },
292+
{ name: 'Rise Project', url: rss('https://www.riseproject.ro/feed/'), lang: 'ro' },
281293
// Russia & Ukraine (independent sources)
282294
{ name: 'BBC Russian', url: rss('https://feeds.bbci.co.uk/russian/rss.xml'), lang: 'ru' },
283295
{ name: 'Meduza', url: rss('https://meduza.io/rss/all'), lang: 'ru' },

vite.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -567,6 +567,8 @@ const RSS_PROXY_ALLOWED_DOMAINS = new Set([
567567
'news.ycombinator.com',
568568
// Hungarian / Central European feeds
569569
'telex.hu', 'index.hu', 'hvg.hu', '444.hu', '24.hu', 'hirado.hu', 'portfolio.hu', 'www.portfolio.hu', 'www.atv.hu',
570+
// Romanian
571+
'www.digi24.ro', 'www.g4media.ro', 'hotnews.ro', 'recorder.ro', 'www.zf.ro', 'www.agerpres.ro', 'www.riseproject.ro',
570572
// Finance variant
571573
'www.coindesk.com', 'cointelegraph.com',
572574
// Happy variant — positive news sources

0 commit comments

Comments
 (0)