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?

Tutorial details
DifficultyIntermediate (rss)
Root privilegesYes
RequirementsDebian/Ubuntu/Python
Web Server
TimeN/A
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:

ADVERTISEMENTS

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
Debian/Ubuntu:  Setup Planet Venus To Combine Two Or More RSS Feeds

How do I use planet venus?

Type the following command to create a default planet for planet.cyberciti.biz in /home/apache/domains/planet.cyberciti.biz/http:
$ mkdir -p /home/apache/domains/planet.cyberciti.biz/http
$ cd /home/apache/domains/planet.cyberciti.biz/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.cyberciti.biz/
owner_name      = nixCraft
owner_email     = webmaster@server1.cyberciti.biz
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.cyberciti.biz/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.cyberciti.biz/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.cyberciti.biz/linuxnews/output/atom.html
OR
http://localhost/linuxnews/output/index.html
Test the RSS result in your preferred rss reader:
http://planet.cyberciti.biz/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.

🐧 Get the latest tutorials on SysAdmin, Linux/Unix, Open Source/DevOps topics:
CategoryList of Unix and Linux commands
File Managementcat
FirewallCentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network Utilitiesdig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNCentOS 8 Debian 10 Firewall Ubuntu 20.04

ADVERTISEMENTS
3 comments… add one
  • db15 Dec 15, 2012 @ 15:14

    Hi, is there a way for pagionation in the Venus Planet? You know, if i want e.g. 50 latest feeds on first page, a oldest on the second page and go on.

    • 🐧 nixCraft Dec 18, 2012 @ 19:20

      Use items_per_page, see this page for more info.

      • db15 Dec 19, 2012 @ 9:22

        Ok, but how to show older feeds in template? items_per_page eg. limits to show 50 newest feeds, and I want to have 150 feeds, 50 feeds per page. Is there a way to add something to template that will have <> eg. to browse for newset to oldest feeds?

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre>, <code>...</code> and <kbd>...</kbd> for code samples.