[ prog / sol / mona ]

prog


Small programming projects ideas

29 2020-06-01 23:38

>>28
We can assume it's about having the 10 (or so) most important news in the world at a certain time. There's a similar thread in /sol/ so I guess it's people who don't want to watch the news but still be updated in case of some big event.
If Twitter trends or Google News algorithms were honest it would be possible to just use that. Actually the most discussed topics are probably not the most important. It's a complex problem.

aggregating the articles of individual journalists you like

That's putting yourself in a bubble.

Yahoo News seems to have better headlines than Reuters.

$ wget -q -O - http://news.yahoo.com/rss/ \
| awk 'BEGIN{FS="<item><title>"}{for(i=2;i<=NF;i++){sub(/<.*/," ",$i);printf("%s\n",$i)}}' \
| head -n 10 \
| sed 's/&amp;/\&/g; s/&#39;/\'"'"'/g;'

Protesters tear through D.C. after National Guard troops and Secret Service keep them from the White House 
The trucker who drove through a crowd of protesters in Minneapolis was once arrested for domestic assault 
Iran says it is ready to continue fuel shipments to Venezuela 
Letters to the Editor: Stacey Abrams lost in Georgia, but she could lift Biden as his VP. 
FBI's top lawyer, Dana Boente, ousted amid Fox News criticism for role in Flynn investigation 
Cuomo: &quot;Don't snatch defeat from the jaws of victory&quot; in virus fight 
Hong Kong's Tiananmen commemoration banned by police for first time in three decades 
SoCal cities with Monday curfews after chaotic protests
India Has Lots of Nuclear Weapons 
Libya conflict: Russia and Turkey risk Syria repeat 
163


VIP:

do not edit these