-
Notifications
You must be signed in to change notification settings - Fork 9k
feat(feeds): deepen Polish (pl) news sources — PAP wire, Gazeta Wyborcza, OKO.press #3895
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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', | ||
| // Polish (PL) additions | ||
| 'PAP': 'wire', 'Gazeta Wyborcza': 'mainstream', 'Polityka': 'mainstream', 'Onet': 'mainstream', 'OKO.press': 'intel', 'TVP Info': 'mainstream', | ||
|
Comment on lines
+55
to
+56
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
The server-parity fix adds these three feeds to |
||
| 'SVT Nyheter': 'mainstream', 'Dagens Nyheter': 'mainstream', 'Svenska Dagbladet': 'mainstream', | ||
| // Brazilian Addition | ||
| 'Brasil Paralelo': 'mainstream', | ||
|
|
@@ -278,6 +280,13 @@ 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' }, | ||
| // Polish (PL) additions | ||
| { name: 'PAP', url: rss('https://www.pap.pl/rss.xml'), lang: 'pl' }, | ||
| { name: 'Gazeta Wyborcza', url: rss('https://news.google.com/rss/search?q=site:wyborcza.pl+when:2d&hl=pl&gl=PL&ceid=PL:pl'), lang: 'pl' }, | ||
| { name: 'Polityka', url: rss('https://news.google.com/rss/search?q=site:polityka.pl+when:2d&hl=pl&gl=PL&ceid=PL:pl'), lang: 'pl' }, | ||
| { name: 'Onet', url: rss('https://wiadomosci.onet.pl/rss/index.xml'), lang: 'pl' }, | ||
| { name: 'OKO.press', url: rss('https://news.google.com/rss/search?q=site:oko.press+when:2d&hl=pl&gl=PL&ceid=PL:pl'), lang: 'pl' }, | ||
| { name: 'TVP Info', url: rss('https://news.google.com/rss/search?q=site:tvp.info+when:2d&hl=pl&gl=PL&ceid=PL:pl'), lang: 'pl' }, | ||
| // 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' }, | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Three pre-existing entries with accented characters —
El País,Híradó, andLa Silla Vacía— were rewritten from their native UTF-8 form to JSON Unicode escapes (\u00ed,\u00f3,\u00ed). The same change appears inscripts/shared/source-tiers.json. Both representations parse identically, but the diff noise suggests this was a side-effect of the editor or tool used to append the new entries. If any code does string-literal comparison against the raw JSON bytes rather than the parsed value, this would silently break those checks.