How to obtain Freely RSS sources using command lines in Linux

Source: Internet
Author: User
Tags arch linux automake linux mint

How to obtain Freely RSS sources using command lines in Linux

Maybe you don't know Feedly. It is one of the most popular online news aggregation services in the world. It provides a smooth and consistent news reading experience, and you can use the browser extension of your computer, use mobile apps on Android and iOS devices to experience Feedly. Feedly quickly gained a large number of Google Reader users after Google Reader was disabled in 2013. I am one of them. Since then, Feedly has been my default RSS (simple information aggregation) reader.

In addition to using my favorite Feedly browser extension and the Feedly program on the mobile phone, there is also a way to get Feedly: Linux Command Line. Yes, you can use the command line to get the news summary on Feedly. Sounds silly? But it is very useful for system administrators who work on servers.

Click to enter Feednix. The open-source software written in c ++ is Feedly's unofficial command line client. It allows you to browse Feedly news on a ncurses-Based Terminal interface (such as bash. By default, Feednix is associated with a console-based browser named w3m, which allows you to read articles in the command line terminal environment. Of course, you can also choose your favorite Web browser.

In this tutorial, I will demonstrate how to install and configure Feednix in the command line to obtain Feedly.

Install Feednix in Linux

You can use the following steps to build Feednix from the source code. At the same time, the latest Feednix source code is available on the branch of Ubuntu-stable (stable Ubuntu version) in its official github repository. Let's start now:

As a necessary component, you need to install a set of development kits and w3m Web browser (Text browser ).

In Debian, Ubuntu, and Linux Mint
  1. $ sudo apt-get install git automake g++ make libncursesw5-dev libjsoncpp-dev libcurl4-gnutls-dev w3m
  2. $ git clone -b Ubuntu-stable https://github.com/Jarkore/Feednix.git
  3. $ cd Feednix
  4. $ ./autogen.sh
  5. $ ./configure
  6. $ make
  7. $ sudo make install
Operate Under Fedora
  1. $ sudo yum groupinstall "C Development Tools and Libraries"
  2. $ sudo yum install gcc-c++ git automake make ncurses-devel jsoncpp-devel libcurl-devel w3m
  3. $ git clone -b Ubuntu-stable https://github.com/Jarkore/Feednix.git
  4. $ cd Feednix
  5. $ ./autogen.sh
  6. $ ./configure
  7. $ make
  8. $ sudo make install
Arch Linux

In the Arch Linux release, you can easily install Feednix from AUR.

Configure Feednix

After installing the software, run the following command to start Feednix:

  1. $ feednix

If you run Feddnix for the first time, a Web browser window will pop up. In this window, You need to log on to create a Feedly account ID and the corresponding developer key.

If you are running Feednix in a desktop-less environment, first open a web page on another computer and enter the site: https://feedly.com/v3/auth/dev.

After you log on, your corresponding Feedly account ID is generated.

To get an access key, you need to access the key link in your mailbox in a browser. Then, your user ID, key, and key validity period will be displayed in the browser window. Note that the key length is very long (more than 200 characters), so the key is displayed in a text box with a vertical scroll bar. Make sure that the entire key is copied.

Enter your user ID and key to the command line prompt of Feddnix as follows:

  1. [EnterUser ID]>> XXXXXX
  2. [Enter token]>> YYYYY

After successful authorization, you will see a Feednix interface initialized to two panes on the screen. The title on the left is the "Categories" pane, showing a news category bar; the "Posts" Pane on the right shows news articles of the current category.

Use Feednix to read articles

Here I would like to briefly describe how to access Feedly through Feednix.

Navigate to Feednix

As I mentioned earlier, the Feednix window contains two panes. To switch between two windows, you can use "TAB. To move up or down a list in a pane, use j and k ". These shortcuts are obviously inspired by the Vim editor.

Read articles

To read a specific article, you can use "o" jian in the current article. It will call the w3m browser and load the article in the browser. After reading it, you can use q to exit the browser and return to Feednix. If your computer environment allows you to open a Web browser, you can press "0" to load articles in your default web browser, such as using Firefox.

Subscribe to news sources

You can add any RSS feed source to your Feedly account on the Feednix interface. To do this, you only need to press the "a" key. It will display a "[enter feed]:" prompt at the bottom of the screen. After the RSS feed source is entered, enter the name of the news source and its preferred category.

Summary

As you can see, Feednix is a very easy-to-use command line RSS reader. If you are a user heavily dependent on command line and also a Feedly user, Feednix is definitely worth trying. I spoke with Jarkore, A Feednix developer, to solve some problems. I would like to say that he is very active in reporting and fixing bugs. We encourage you to try Feednix and give some feedback to him (Jarkore.

Via: http://xmodulo.com/feedly-rss-feed-command-line-linux.html

Author: Dan Nanni Translator: chenzhijun Proofreader: wxy

This article was originally translated by LCTT and launched with the Linux honor in China

This article permanently updates the link address:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.