Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion api/_rss-allowed-domains.js
Original file line number Diff line number Diff line change
Expand Up @@ -323,5 +323,10 @@ export default [
"rss.libsyn.com",
"feeds.megaphone.fm",
"rss.art19.com",
"idp.nature.com"
"idp.nature.com",
"www.err.ee",
"www.postimees.ee",
"www.delfi.ee",
"epl.delfi.ee",
"www.aripaev.ee",
];
1 change: 1 addition & 0 deletions public/offline.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ <h1 id="t-title">You're Offline</h1>
de: { title: "Sie sind offline", msg: "World Monitor benötigt eine Internetverbindung für Echtzeit-Nachrichtendaten.", retry: "Erneut versuchen" },
el: { title: "Είστε Χωρίς Σύνδεση", msg: "Το World Monitor απαιτεί σύνδεση στο διαδίκτυο για δεδομένα πραγματικού χρόνου.", retry: "Δοκιμάστε Ξανά" },
es: { title: "Estás sin conexión", msg: "World Monitor requiere una conexión a internet para datos de inteligencia en tiempo real.", retry: "Reintentar" },
et: { title: "Olete võrguühenduseta", msg: "World Monitor vajab reaalajas luureteabe saamiseks internetiühendust.", retry: "Proovi uuesti" },
fr: { title: "Vous êtes hors ligne", msg: "World Monitor nécessite une connexion Internet pour les données de renseignement en temps réel.", retry: "Réessayer" },
hu: { title: "Kapcsolat nélküli mód", msg: "A Világfigyelő valós idejű intelligencia adatokhoz internetkapcsolatra van szüksége.", retry: "Újra" },
it: { title: "Sei Offline", msg: "World Monitor richiede una connessione Internet per i dati di intelligence in tempo reale.", retry: "Riprova" },
Expand Down
7 changes: 6 additions & 1 deletion scripts/shared/rss-allowed-domains.json
Original file line number Diff line number Diff line change
Expand Up @@ -320,5 +320,10 @@
"rss.libsyn.com",
"feeds.megaphone.fm",
"rss.art19.com",
"idp.nature.com"
"idp.nature.com",
"www.err.ee",
"www.postimees.ee",
"www.delfi.ee",
"epl.delfi.ee",
"www.aripaev.ee"
]
7 changes: 6 additions & 1 deletion scripts/shared/source-tiers.json
Original file line number Diff line number Diff line change
Expand Up @@ -262,5 +262,10 @@
"ArXiv AI": 4,
"AI News": 4,
"Layoffs News": 4,
"GloNewswire (Taiwan)": 4
"GloNewswire (Taiwan)": 4,
"ERR": 1,
"Postimees": 1,
"Delfi ET": 2,
"EPL": 2,
"Äripäev": 2
}
2 changes: 1 addition & 1 deletion scripts/sync-offline-translations.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import { readFileSync, writeFileSync } from 'node:fs';
import path from 'node:path';

const LOCALES = ['en', 'ar', 'bg', 'cs', 'de', 'el', 'es', 'fr', 'hu', 'it', 'ja', 'ko', 'nl', 'pl', 'pt', 'ro', 'ru', 'sv', 'th', 'tr', 'vi', 'zh'];
const LOCALES = ['ar', 'bg', 'cs', 'de', 'el', 'en', 'es', 'et', 'fr', 'hu', 'it', 'ja', 'ko', 'nl', 'pl', 'pt', 'ro', 'ru', 'sv', 'th', 'tr', 'vi', 'zh'];
const OFFLINE_HTML = 'public/offline.html';
const LOCALES_DIR = 'src/locales';

Expand Down
4 changes: 2 additions & 2 deletions scripts/translate-locales.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ const onlyArg = [...args].find(a => a.startsWith('--only='));
const onlyLocales = onlyArg ? onlyArg.slice('--only='.length).split(',') : null;

const ROOT = proTest ? 'pro-test/src/locales' : 'src/locales';
const LOCALES = ['ar', 'bg', 'cs', 'de', 'el', 'es', 'fr', 'hu', 'it', 'ja', 'ko', 'nl', 'pl', 'pt', 'ro', 'ru', 'sv', 'th', 'tr', 'vi', 'zh'];
const LOCALES = ['ar', 'bg', 'cs', 'de', 'el', 'es', 'et', 'fr', 'hu', 'it', 'ja', 'ko', 'nl', 'pl', 'pt', 'ro', 'ru', 'sv', 'th', 'tr', 'vi', 'zh'];
const LANG_NAMES = {
ar: 'Arabic', bg: 'Bulgarian', cs: 'Czech', de: 'German', el: 'Greek',
es: 'Spanish', fr: 'French', hu: 'Hungarian', it: 'Italian', ja: 'Japanese',
ko: 'Korean', nl: 'Dutch', pl: 'Polish', pt: 'Portuguese (Brazil)',
et: 'Estonian', ko: 'Korean', nl: 'Dutch', pl: 'Polish', pt: 'Portuguese (Brazil)',
ro: 'Romanian', ru: 'Russian', sv: 'Swedish', th: 'Thai', tr: 'Turkish',
vi: 'Vietnamese', zh: 'Simplified Chinese',
};
Expand Down
6 changes: 6 additions & 0 deletions server/worldmonitor/news/v1/_feeds.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@ export const VARIANT_FEEDS: Record<string, Record<string, ServerFeed[]>> = {
{ name: 'Híradó', url: gnLocale('site:hirado.hu when:2d', 'hu', 'HU', 'HU:hu'), lang: 'hu' },
{ name: 'Portfolio.hu', url: 'https://portfolio.hu/rss/all.xml', lang: 'hu' },
{ name: 'ATV', url: 'https://www.atv.hu/rss', lang: 'hu' },
// Estonian (ET)
{ name: 'ERR', url: 'https://www.err.ee/rss', lang: 'et' },
{ name: 'Postimees', url: 'https://www.postimees.ee/rss', lang: 'et' },
{ name: 'Delfi ET', url: 'https://www.delfi.ee/rss/feeds/rss.xml', lang: 'et' },
{ name: 'EPL', url: 'https://epl.delfi.ee/rss', lang: 'et' },
{ name: 'Äripäev', url: 'https://www.aripaev.ee/rss', lang: 'et' },
],
middleeast: [
{ name: 'BBC Middle East', url: 'https://feeds.bbci.co.uk/news/world/middle_east/rss.xml' },
Expand Down
7 changes: 6 additions & 1 deletion shared/rss-allowed-domains.json
Original file line number Diff line number Diff line change
Expand Up @@ -320,5 +320,10 @@
"rss.libsyn.com",
"feeds.megaphone.fm",
"rss.art19.com",
"idp.nature.com"
"idp.nature.com",
"www.err.ee",
"www.postimees.ee",
"www.delfi.ee",
"epl.delfi.ee",
"www.aripaev.ee"
]
7 changes: 6 additions & 1 deletion shared/source-tiers.json
Original file line number Diff line number Diff line change
Expand Up @@ -262,5 +262,10 @@
"ArXiv AI": 4,
"AI News": 4,
"Layoffs News": 4,
"GloNewswire (Taiwan)": 4
"GloNewswire (Taiwan)": 4,
"ERR": 1,
"Postimees": 1,
"Delfi ET": 2,
"EPL": 2,
"Äripäev": 2
}
8 changes: 8 additions & 0 deletions src/config/feeds.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ export const SOURCE_TYPES: Record<string, SourceType> = {
'Telex': 'mainstream', 'Index.hu': 'mainstream', 'HVG': 'mainstream',
'444.hu': 'mainstream', '24.hu': 'mainstream', 'Híradó': 'mainstream',
'ATV': 'mainstream', 'Portfolio.hu': 'market',
// Estonian (ET)
'ERR': 'mainstream', 'Postimees': 'mainstream', 'Delfi ET': 'mainstream', 'EPL': 'mainstream', 'Äripäev': 'market',
'SVT Nyheter': 'mainstream', 'Dagens Nyheter': 'mainstream', 'Svenska Dagbladet': 'mainstream',
// Brazilian Addition
'Brasil Paralelo': 'mainstream',
Expand Down Expand Up @@ -278,6 +280,12 @@ const FULL_FEEDS: Record<string, Feed[]> = {
{ name: 'in.gr', url: rss('https://www.in.gr/feed/'), lang: 'el' },
{ name: 'iefimerida', url: rss('https://www.iefimerida.gr/rss.xml'), lang: 'el' },
{ 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' },
// Estonian (ET)
{ name: 'ERR', url: rss('https://www.err.ee/rss'), lang: 'et' },
{ name: 'Postimees', url: rss('https://www.postimees.ee/rss'), lang: 'et' },
{ name: 'Delfi ET', url: rss('https://www.delfi.ee/rss/feeds/rss.xml'), lang: 'et' },
{ name: 'EPL', url: rss('https://epl.delfi.ee/rss'), lang: 'et' },
{ name: 'Äripäev', url: rss('https://www.aripaev.ee/rss'), lang: 'et' },
// Russia & Ukraine (independent sources)
{ name: 'BBC Russian', url: rss('https://feeds.bbci.co.uk/russian/rss.xml'), lang: 'ru' },
{ name: 'Meduza', url: rss('https://meduza.io/rss/all'), lang: 'ru' },
Expand Down
Loading
Loading