Blog

03/06/2019

Debian/Ubuntu: Setup Planet Venus To Combine Two Or More RSS Feeds



How do I setup “Planet Venus” under Debian or Ubuntu Linux to downloads news feeds (RSS) published by web sites and aggregates their content together into a single combined feed? How do I setup an Atom/RSS feed aggregator called Planet Venus on a Debian or Ubuntu Linux?

Venus is an Atom/RSS feed aggregator. It is a free and open source software. It is written in Python. This page shows how to install or setup Planet Venus on Debian or Ubuntu Linux.From the project home page:

Planet is a flexible feed aggregator. It downloads news feeds published by web sites and aggregates their content together into a single combined feed, latest news first. It uses Mark Pilgrim’s Universal Feed Parser to read from CDF, RDF, RSS and Atom feeds; Leonard Richardson’s Beautiful Soup to correct markup issues; and either Tomas Styblo’s templating engine or Daniel Viellard’s implementation of XSLT to output static files in any format you can dream up.

You can use this tool to combine two or more feeds easily i.e. this software act as a “Feed Aggregator”.

Debian/Ubuntu: Setup Planet Venus as feed aggregator

The following instructions were tested on:

  1. Ubuntu Linux 12.04 LTS.
  2. Ubuntu Linux 16.0.4 LTS.
  3. Ubuntu Linux 18.0.4 LTS.
  4. Debian Linux 8 and 9 (latest) stable.

How to install Planet Venus on a Debian or Ubuntu Linux

Type the following apt-get command/apt command to install the same:
$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get install planet-venus

OR
$ sudo apt update && sudo apt install planet-venus

How do I use planet venus?

Type the following command to create a default planet for planet.sxi.io in /home/apache/domains/planet.sxi.io/http:
$ mkdir -p /home/apache/domains/planet.sxi.io/http
$ cd /home/apache/domains/planet.sxi.io/http
$ planet --create linuxnews

To edit this default planet called linuxnews, enter:
$ cd linuxnews
$ vi planet.ini

Sample outputs:

# Global configuration
[Planet]
 
name            = nixCraft Linux News Planet 
link            = http://planet.sxi.io/
owner_name      = nixCraft
owner_email     = webmaster@server1.sxi.io
output_theme    = theme
cache_directory = cache
output_dir      = output
feed_timeout    = 20
items_per_page  = 60
log_level       = DEBUG
 
# RSS/Feed subscription configuration
# [Feed-RSS-URL]
# name = Web Site Name Here
 
[http://feeds.sxi.io/Nixcraft-LinuxFreebsdSolarisTipsTricks]
name = nixCraft: Linux Tips, Hacks, Tutorials, And Ideas In Blog Format
 
[http://rss.slashdot.org/Slashdot/slashdotLinux]
name = Linux Stories From Slashdot
 
[http://www.reddit.com/r/linux/.rss]
name = Reddit /r/Linux

Save and close the file.

Build default planet right away

Type the following command:
$ planet --verbose planet.ini
Sample outputs:

INFO:planet.runner:Socket timeout set to 20 seconds
INFO:planet.runner:Building work queue
INFO:planet.runner:Updating feed http://rss.slashdot.org/Slashdot/slashdotLinux
INFO:planet.runner:Updating feed http://feeds.sxi.io/Nixcraft-LinuxFreebsdSolarisTipsTricks
INFO:planet.runner:Updating feed http://www.reddit.com/r/linux/.rss
INFO:planet.runner:Loading cached data

Test the results in your favorite web-browser:
http://planet.sxi.io/linuxnews/output/atom.html
OR
http://localhost/linuxnews/output/index.html
Test the RSS result in your preferred rss reader:
http://planet.sxi.io/linuxnews/output/atom.html
OR
http://localhost/linuxnews/output/atom.html
Sample outputs:

Conclusion

You just learned how to setup “Planet Venus” software on a Debian or Ubuntu Linux. It is an awesome “river of news” feed reader. It downloads news feeds published by web sites and aggregates their content together into a single combined feed, latest news first. For more info see “Planet venus” project home page here.

Posted by: SXI ADMIN

The author is the creator of nixCraft and a seasoned sysadmin, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.

20/08/2019

Start your Bitcoin Exchange with our Software

Start your Bitcoin Exchange with our Software Setup your white label bitcoin exchange right away. Or create your own cryptocurrency using...
14/08/2019

How to KVM, QEMU start or stop virtual machine from command line (CLI)

KVM or Kernel Based Virtual Machine is a popular virtualization technology. It allows you to run virtual guest machines over a host machine. To start...
14/08/2019

How to Docker backup Saving and restoring your volumes

Running a Docker volume backup First, we spin up a temporary container, and we mount the backup folder and the target Docker volume to this container....