News feed in the terminal

Every day solutions to every day challenges. + Brilliant stuff

Moderators: b1o, jkerr82508

Forum rules
Please feel free to post your tip it does not have to be advanced. Also ask questions directly related to the tip here. But do not start new threads with questions or ask for help here. That is what the help section is for. forum rules: http://bjoernvold.com/forum/viewtopic.php?f=8&t=568
User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

News feed in the terminal

Postby viking60 » 07 Oct 2012, 15:47

To get news feeds in the terminal you can install newsbeuter
The next thing to do is to create the ~/.newsbeuter directory:

Code: Select all

mkdir .newsbeuter

Then we go in there and create the file urls:

Code: Select all

sudo nano ~/.newsbeuter/urls

and we enter one line in that file:

Code: Select all

http://bjoernvold.com/forum/feed.php

Well actually you can enter the url of any news feed that you follow in there, but this is the most important one. +1
But if you are dying to get the news from the Norwegian Mandriva forum you would add this line below the first line

Code: Select all

http://forum.mandriva.com/no/feed.php?mode=topics

Now you are ready to fire it up with the command

Code: Select all

newsbeuter
but in order to renew the news you have to refresh it by hitting "r" all the time so we want to autoload the updates.
Therefor we create the file ~/.newsbeuter/config

Code: Select all

sudo nano ~/.newsbeuter/config

and we put this single line in there:

Code: Select all

auto-reload yes

and save it.

Now you have the news directly at your fingertips in the terminal/konsole or whatever you call it. I find it practical in the Guake terminal
Nobody will remember newsbeuter so make an alias for news and you will always remember it.
ImageImageImage

It is quite feature rich and it is good for mobile phones. You navigate in the text with arrows. It is very useful when you work with SSH.
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

Return to “Tips & Tricks”