{"id":13225,"date":"2019-04-01T08:33:58","date_gmt":"2019-04-01T08:33:58","guid":{"rendered":"http:\/\/www.appservgrid.com\/paw92\/?p=13225"},"modified":"2019-04-01T08:33:58","modified_gmt":"2019-04-01T08:33:58","slug":"newsboat-an-rss-atom-feed-reader-for-linux-terminals","status":"publish","type":"post","link":"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/04\/01\/newsboat-an-rss-atom-feed-reader-for-linux-terminals\/","title":{"rendered":"Newsboat \u2013 An RSS\/Atom Feed Reader for Linux Terminals"},"content":{"rendered":"<p><strong>Newsboat<\/strong>\u00a0is a free, open source RSS\/Atom feed reader for Linux terminals. It is originally created from\u00a0<strong>Newsbeuter<\/strong>, a text based RSS\/Atom feed reader, however,\u00a0<strong>Newsbeuter<\/strong>\u00a0is not actively maintained.<\/p>\n<p><strong>RSS\/Atom<\/strong>\u00a0are a number of widely-used XML formats to communicate, publish and syndicate articles, for instance news or blog articles. Newsboat is created to be used on text terminals such as GNU\/Linux, FreeBSD or macOS.<\/p>\n<p><strong>Read Also<\/strong>:\u00a0<a href=\"https:\/\/www.tecmint.com\/newsroom-commandline-linux-news-reader\/\" target=\"_blank\" rel=\"noopener\">Newsroom \u2013 A Modern CLI to Get Your Favorite News in Linux<\/a><\/p>\n<p>In this article, we will show how to install and use\u00a0<strong>Newsboat<\/strong>\u00a0\u2013 a command-line feed reader to read your favorite news or articles from the Linux terminal.<\/p>\n<h4>Requirements:<\/h4>\n<ul>\n<li>GCC 4.9 or later, or Clang 3.6 or later<\/li>\n<li>STFL (version 0.21 or later)<\/li>\n<li>pkg-config<\/li>\n<li>GNU gettext (only for systems that do not offer gettext in the libc)<\/li>\n<li>libcurl (version 7.18.0 or later)<\/li>\n<li>libxml2, xmllint, and xsltproc<\/li>\n<li>json-c (version 0.11 or later)<\/li>\n<li>SQLite3 (version 3.5 or later)<\/li>\n<li>DocBook XML<\/li>\n<li>DocBook SML<\/li>\n<li>asciidoc<\/li>\n<\/ul>\n<h3>How to Install Newsboat in Linux Systems<\/h3>\n<p><strong>Newsboat<\/strong>\u00a0is available to install from the\u00a0<strong>snap<\/strong>\u00a0package management system, but first you have to install\u00a0<strong>snapd<\/strong>on your system to install\u00a0<strong>Newsboat<\/strong>\u00a0as shown.<\/p>\n<pre><strong>------------- On Debian\/Ubuntu\/Linux Mint -------------<\/strong> \r\n$ sudo apt install snapd\t\r\n$ sudo snap install newsboat \r\n\r\n<strong>------------- On Fedora 22+ -------------<\/strong>\r\n$ sudo dnf install snapd\r\n$ sudo snap install newsboat\r\n<\/pre>\n<p>Alternatively, you can install\u00a0<strong>Newsboat<\/strong>\u00a0from source code to use some of the latest features, but before that you need to fully install dependencies with the command that follows.<\/p>\n<pre><strong>------------- On Debian\/Ubuntu\/Linux Mint -------------<\/strong> \r\n$ sudo apt update\r\n$ sudo apt install libncursesw5-dev ncurses-term debhelper libjson0 libjson0-dev libxml2-dev libstfl-dev libsqlite3-dev perl pkg-config libcurl4-gnutls-dev librtmp-dev libjson-c-dev asciidoc libxml2-utils xsltproc docbook-xml docbook-xsl bc\r\n$ wget http:\/\/www.clifford.at\/stfl\/stfl-0.24.tar.gz\r\n$ tar -xvf  stfl-0.24.tar.gz\r\n$ cd  stfl-0.24\r\n$ make\r\n$ sudo make install\r\n<\/pre>\n<pre><strong>------------- On RHEL and CentOS -------------<\/strong>\r\n# yum install libncursesw5-devel ncurses-term libjson0-devel libxml2-devel libstfl-devel libsqlite3-devel perl pkgconfig libcurl4-gnutls-devel librtmp-devel libjson-c-devel asciidoc libxml2-devel libxslt-devel debhelper docbook-style-xsl docbook-style-xml bc\r\n# wget http:\/\/www.clifford.at\/stfl\/stfl-0.24.tar.gz\r\n# tar -xvf  stfl-0.24.tar.gz\r\n# cd  stfl-0.24\r\n# make\r\n# make install \r\n<\/pre>\n<p>Then clone the\u00a0<strong>Newsboat<\/strong>\u00a0repository from Github to your system, and install it as shown.<\/p>\n<pre>$ git clone git:\/\/github.com\/newsboat\/newsboat.git\r\n$ cd newsboat  \r\n$ make\r\n$ sudo make install\r\n<\/pre>\n<h3>How to Use Newsboat Feed Reader in Linux Terminal<\/h3>\n<p>In this section, we will explain how to use\u00a0<strong>Newsboat<\/strong>\u00a0to read RSS feed from a site, for example\u00a0<code>tecmint.com<\/code>First of all, we will need to get the rss-feed link for\u00a0<code>tecmint.com<\/code>\u00a0from a browser and copy it (you can use any website feed url).<\/p>\n<pre>https:\/\/www.tecmint.com\/feed\/\r\n<\/pre>\n<p>Afterwards, save it in a file for later usage.<\/p>\n<pre>$ echo \"https:\/\/www.tecmint.com\/feed\/\" &gt;rss_links.txt\r\n<\/pre>\n<p>Now you can read RSS feed from\u00a0<code>Tecmint.com<\/code>\u00a0using following command with the switches\u00a0<code>-u<\/code>\u00a0(specifies file containing RSS feed URLs) and\u00a0<code>-r<\/code>\u00a0(refresh feeds on start) as follows.<\/p>\n<pre>$ newsboat -ru rss_links.txt\r\n<\/pre>\n<div id=\"attachment_28999\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/04\/Read-RSS-Feed-in-Linux-Terminal.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-28999\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/04\/Read-RSS-Feed-in-Linux-Terminal.png\" sizes=\"auto, (max-width: 842px) 100vw, 842px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/04\/Read-RSS-Feed-in-Linux-Terminal.png 842w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/04\/Read-RSS-Feed-in-Linux-Terminal-768x296.png 768w\" alt=\"Read RSS Feed in Linux Terminal\" width=\"842\" height=\"325\" aria-describedby=\"caption-attachment-28999\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-28999\" class=\"wp-caption-text\">Read RSS Feed in Linux Terminal<\/p>\n<\/div>\n<p>To select a topic, use the\u00a0<code>Up<\/code>\u00a0and\u00a0<code>Down<\/code>\u00a0arrows to navigate, then press\u00a0<strong>Enter<\/strong>\u00a0on the topic you want. This examples shows that we have selected topic number\u00a0<strong>5<\/strong>\u00a0from the list.<\/p>\n<div id=\"attachment_29000\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/04\/Select-Feed-Topic-in-Linux-Terminal.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-29000\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/04\/Select-Feed-Topic-in-Linux-Terminal.png\" sizes=\"auto, (max-width: 842px) 100vw, 842px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/04\/Select-Feed-Topic-in-Linux-Terminal.png 842w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2018\/04\/Select-Feed-Topic-in-Linux-Terminal-768x296.png 768w\" alt=\"Select Feed Topic in Linux Terminal\" width=\"842\" height=\"325\" aria-describedby=\"caption-attachment-29000\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-29000\" class=\"wp-caption-text\">Select Feed Topic in Linux Terminal<\/p>\n<\/div>\n<p>To open a topic in the browser, you can press\u00a0<code>o<\/code>, and to quit the program, hit\u00a0<code>q<\/code>.<\/p>\n<p>You can see all the options and usages by running the following command.<\/p>\n<pre>$ newsboat -h\r\n<\/pre>\n<p>For more information, visit Newsboat Github Repository:\u00a0<a href=\"https:\/\/github.com\/newsboat\/newsboat\" target=\"_blank\" rel=\"nofollow noopener\">https:\/\/github.com\/newsboat\/newsboat<\/a>.<\/p>\n<p><strong>Read Also:<\/strong>\u00a0<a href=\"https:\/\/www.tecmint.com\/watch-live-cricket-scores-in-linux-terminal\/\" target=\"_blank\" rel=\"noopener\">Cricket-CLI \u2013 Watch Live Cricket Scores in Linux Terminal<\/a><\/p>\n<p>Newsboat is a simple and intuitive RSS\/Atom feed reader for Linux terminals. Try it out and give us your feedback via the comment form below.<\/p>\n<p><a href=\"https:\/\/www.tecmint.com\/newsboat-rss-atom-feed-reader-for-linux-terminals\/\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Newsboat\u00a0is a free, open source RSS\/Atom feed reader for Linux terminals. It is originally created from\u00a0Newsbeuter, a text based RSS\/Atom feed reader, however,\u00a0Newsbeuter\u00a0is not actively maintained. RSS\/Atom\u00a0are a number of widely-used XML formats to communicate, publish and syndicate articles, for instance news or blog articles. Newsboat is created to be used on text terminals such &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/04\/01\/newsboat-an-rss-atom-feed-reader-for-linux-terminals\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Newsboat \u2013 An RSS\/Atom Feed Reader for Linux Terminals&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-13225","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/13225","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/comments?post=13225"}],"version-history":[{"count":1,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/13225\/revisions"}],"predecessor-version":[{"id":13226,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/13225\/revisions\/13226"}],"wp:attachment":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/media?parent=13225"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/categories?post=13225"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/tags?post=13225"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}