Headlines at your fingertips
Consists of two files: nkiosk.py and nkiosk.lst
RSS feed urls stored in separate text file
nkiosk.lst
https://www.chicagotribune.com/latest-headlines/feed/
https://feeds.npr.org/1002/rss.xml
https://feeds.npr.org/1003/rss.xml
https://feeds.npr.org/1004/rss.xml
https://feeds.npr.org/1014/rss.xml
https://moxie.foxnews.com/google-publisher/us.xml
http://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml
http://rss.nytimes.com/services/xml/rss/nyt/World.xml
http://rss.nytimes.com/services/xml/rss/nyt/US.xml
https://news.google.com/rss?hl=en-US&gl=US&ceid=US:en
You may have from 1 to 98 RSS urls. Store them in the
nkiosk.lsttext file, one line per URL.
At the bottom of each page you are prompted for input.
When you hit:
ENTER advances to next rss feed
0 - 98 goes to that feed in your list
99 ends program
999 prints out your feeds from the `nkiosk.lst` file
To open a web link for an article use mouse while holding down CTRL key.
beautifulsoup4==4.14.3
lxml
Requests==2.32.5
termcolor==3.3.0
on Linux
xfce4-terminal --geometry=88x50+100+20 -x news.sh &
news.sh
cd /p a t h/NKiosk
python3 nkiosk.pyc
Use a terminal that supports geometry option.
on Windows
news.bat
@echo off
REM Open a new CMD window and run the NKiosk script
start "" cmd /k "cd /d C:\NKiosk && python nkiosk.pyw"
inspired by the book:
Automate the Boring Stuff with Python
By Al Sweigart
