{"id":6177,"date":"2012-12-15T08:16:53","date_gmt":"2012-12-15T08:16:53","guid":{"rendered":"https:\/\/noi3.org\/site\/?p=6177"},"modified":"2012-12-15T08:16:53","modified_gmt":"2012-12-15T08:16:53","slug":"set-planet-venus-to-combine-two-or-more-rss-feeds","status":"publish","type":"post","link":"https:\/\/site.noi3.org\/?p=6177","title":{"rendered":"Set Planet Venus To Combine Two Or More RSS Feeds"},"content":{"rendered":"<p> \t<span class=\"drop_cap\">H<\/span>ow do I setup &#8222;Planet Venus&#8221; under Debian or Ubuntu Linux to downloads news feeds (RSS) published by web sites and aggregates their content together into a single combined feed?<\/p>\n<p>  <!--more-->  <\/p>\n<p> \t<span class=\"drop_cap\">H<\/span>ow do I setup &#8222;Planet Venus&#8221; under Debian or Ubuntu Linux to downloads news feeds (RSS) published by web sites and aggregates their content together into a single combined feed?<br \/> \tFrom the project home page:<\/p>\n<blockquote>\n<p> \t\tPlanet 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&#8217;s Universal Feed Parser to read from CDF, RDF, RSS and Atom feeds; Leonard Richardson&#8217;s Beautiful Soup to correct markup issues; and either Tomas Styblo&#8217;s templating engine or Daniel Viellard&#8217;s implementation of XSLT to output static files in any format you can dream up.<\/p>\n<\/blockquote>\n<p> \tYou can use this tool to combine two or more feeds easily i.e. this software act as a &#8222;Feed Aggregator&#8221;.<\/p>\n<h2> \tInstallation<\/h2>\n<p> \tType the following apt-get command:<br \/> \t<code>$ sudo apt-get update<br \/> \t$ sudo apt-get upgrade<br \/> \t$ sudo apt-get install planet-venus <\/code><br \/> \tSample outputs:<\/p>\n<pre> Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed:   python-html5lib python-htmltmpl python-libxslt1 Suggested packages:   python-django python-genshi python-lxml The following NEW packages will be installed:   planet-venus python-html5lib python-htmltmpl python-libxslt1 0 upgraded, 4 newly installed, 0 to remove and 11 not upgraded. Need to get 0 B\/583 kB of archives. After this operation, 2,904 kB of additional disk space will be used. Do you want to continue [Y\/n]? y Selecting previously deselected package python-html5lib. (Reading database ... 281588 files and directories currently installed.) Unpacking python-html5lib (from ...\/python-html5lib_0.90-1_all.deb) ... Selecting previously deselected package python-htmltmpl. Unpacking python-htmltmpl (from ...\/python-htmltmpl_1.22-10_all.deb) ... Selecting previously deselected package python-libxslt1. Unpacking python-libxslt1 (from ...\/python-libxslt1_1.1.26-6+squeeze2_amd64.deb) ... Selecting previously deselected package planet-venus. Unpacking planet-venus (from ...\/planet-venus_0~bzr116-1_all.deb) ... Processing triggers for man-db ... Setting up python-html5lib (0.90-1) ... Setting up python-htmltmpl (1.22-10) ... Setting up python-libxslt1 (1.1.26-6+squeeze2) ... Setting up planet-venus (0~bzr116-1) ... Processing triggers for python-support ... <\/pre>\n<h2> \tHow do I use planet venus?<\/h2>\n<p> \tType the following command to create a default planet for planet.cyberciti.biz in \/home\/apache\/domains\/planet.cyberciti.biz\/http:<br \/> \t<code>$ mkdir -p \/home\/apache\/domains\/planet.cyberciti.biz\/http<br \/> \t$ cd \/home\/apache\/domains\/planet.cyberciti.biz\/http<br \/> \t$ planet --create linuxnews<\/code><br \/> \tTo edit this default planet called linuxnews, enter:<br \/> \t<code>$ cd linuxnews<br \/> \t$ vi planet.ini<\/code><br \/> \tSample outputs:<\/p>\n<pre class=\"ini\"> # Global configuration <span style=\"color: #000066; font-weight:bold;\"><span style=\"\">[<\/span>Planet<span style=\"\">]<\/span><\/span> \u00a0 <span style=\"color: #000099;\">name            <\/span>=<span style=\"color: #660066;\"> nixCraft Linux News Planet <\/span> <span style=\"color: #000099;\">link            <\/span>=<span style=\"color: #660066;\"> http:\/\/planet.cyberciti.biz\/<\/span> <span style=\"color: #000099;\">owner_name      <\/span>=<span style=\"color: #660066;\"> nixCraft<\/span> <span style=\"color: #000099;\">owner_email     <\/span>=<span style=\"color: #660066;\"> webmaster@server1.cyberciti.biz<\/span> <span style=\"color: #000099;\">output_theme    <\/span>=<span style=\"color: #660066;\"> theme<\/span> <span style=\"color: #000099;\">cache_directory <\/span>=<span style=\"color: #660066;\"> cache<\/span> <span style=\"color: #000099;\">output_dir      <\/span>=<span style=\"color: #660066;\"> output<\/span> <span style=\"color: #000099;\">feed_timeout    <\/span>=<span style=\"color: #660066;\"> <span style=\"\">20<\/span><\/span> <span style=\"color: #000099;\">items_per_page  <\/span>=<span style=\"color: #660066;\"> <span style=\"\">60<\/span><\/span> <span style=\"color: #000099;\">log_level       <\/span>=<span style=\"color: #660066;\"> DEBUG<\/span> \u00a0 # RSS\/Feed subscription configuration # <span style=\"color: #000066; font-weight:bold;\"><span style=\"\">[<\/span>Feed-RSS-URL<span style=\"\">]<\/span><\/span> # <span style=\"color: #000099;\">name <\/span>=<span style=\"color: #660066;\"> Web Site Name Here<\/span> \u00a0 <span style=\"color: #000066; font-weight:bold;\"><span style=\"\">[<\/span>http:\/\/feeds.cyberciti.biz\/Nixcraft-LinuxFreebsdSolarisTipsTricks<span style=\"\">]<\/span><\/span> <span style=\"color: #000099;\">name <\/span>=<span style=\"color: #660066;\"> nixCraft: Linux Tips, Hacks, Tutorials, And Ideas In Blog Format<\/span> \u00a0 <span style=\"color: #000066; font-weight:bold;\"><span style=\"\">[<\/span>http:\/\/rss.slashdot.org\/Slashdot\/slashdotLinux<span style=\"\">]<\/span><\/span> <span style=\"color: #000099;\">name <\/span>=<span style=\"color: #660066;\"> Linux Stories From Slashdot<\/span> \u00a0 <span style=\"color: #000066; font-weight:bold;\"><span style=\"\">[<\/span>http:\/\/feeds.feedburner.com\/linuxtoday\/linux<span style=\"\">]<\/span><\/span> <span style=\"color: #000099;\">name <\/span>=<span style=\"color: #660066;\"> Linux Today<\/span> \u00a0 <span style=\"color: #000066; font-weight:bold;\"><span style=\"\">[<\/span>http:\/\/www.reddit.com\/r\/linux\/.rss<span style=\"\">]<\/span><\/span> <span style=\"color: #000099;\">name <\/span>=<span style=\"color: #660066;\"> Reddit \/r\/Linux<\/span> \u00a0<\/pre>\n<p> \tSave and close the file.<\/p>\n<h3> \tBuild default planet right away<\/h3>\n<p> \tType the following command:<br \/> \t<code>$ planet --verbose planet.ini<\/code><br \/> \tSample outputs:<\/p>\n<pre> 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:Updating feed http:\/\/feeds.feedburner.com\/linuxtoday\/linux INFO:planet.runner:Loading cached data<\/pre>\n<p> \tTest the results in your favorite web-browser:<br \/> \t<code>http:\/\/planet.cyberciti.biz\/linuxnews\/output\/atom.html<\/code><br \/> \tOR<br \/> \t<code>http:\/\/localhost\/linuxnews\/output\/index.html<\/code><br \/> \tTest the RSS result in your favorite rss reader:<br \/> \t<code>http:\/\/planet.cyberciti.biz\/linuxnews\/output\/atom.html<\/code><br \/> \tOR<br \/> \t<code>http:\/\/localhost\/linuxnews\/output\/atom.html<\/code><br \/> \tSample outputs:<\/p>\n<dl class=\"gallery-item\">\n<dt class=\"gallery-icon\"> \t\t<a href=\"http:\/\/www.cyberciti.biz\/faq\/combine-rss-feed-to-create-an-aggregate-using-planet-venus\/output-1\/\" title=\"Planet Venus Feed Aggregator HTML Output\"><img loading=\"lazy\" decoding=\"async\" class=\" size-full wp-image-6175\" alt=\"Fig.01. HTML output\" class=\"attachment-thumbnail\" height=\"150\" src=\"https:\/\/noi3.org\/site\/wp-content\/uploads\/2012\/12\/output-1-150x150.png\" title=\"Planet Venus Feed Aggregator HTML Output\" width=\"150\" srcset=\"https:\/\/site.noi3.org\/wp-content\/uploads\/2012\/12\/output-1-150x150.png 150w, https:\/\/site.noi3.org\/wp-content\/uploads\/2012\/12\/output-1-150x150-100x100.png 100w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/a> Fig.01. HTML output<\/dt>\n<dt class=\"gallery-icon\"> \t\t\u00a0<\/dt>\n<dt class=\"gallery-icon\"> \t\t\u00a0<\/dt>\n<dt class=\"gallery-icon\"> \t\t<a href=\"http:\/\/www.cyberciti.biz\/faq\/combine-rss-feed-to-create-an-aggregate-using-planet-venus\/output-2\/\" title=\"Planet Venus Feed Aggregator RSS (ATOM.XML) Output\"><img loading=\"lazy\" decoding=\"async\" class=\" size-full wp-image-6176\" alt=\"Fig.02: Atom.xml in rss reader\" class=\"attachment-thumbnail\" height=\"150\" src=\"https:\/\/noi3.org\/site\/wp-content\/uploads\/2012\/12\/output-2-150x150.png\" title=\"Planet Venus Feed Aggregator RSS (ATOM.XML) Output\" width=\"150\" srcset=\"https:\/\/site.noi3.org\/wp-content\/uploads\/2012\/12\/output-2-150x150.png 150w, https:\/\/site.noi3.org\/wp-content\/uploads\/2012\/12\/output-2-150x150-100x100.png 100w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/a> Fig.02: Atom.xml in rss reader<\/dt>\n<\/dl>\n<p> \t<a href=\"http:\/\/www.intertwingly.net\/code\/venus\/\" target=\"_blank\">Planet venus<\/a> project home page.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How do I setup &#8222;Planet Venus&#8221; under Debian or Ubuntu Linux to downloads news feeds (RSS) published by web sites and aggregates their content together&hellip;<\/p>\n","protected":false},"author":2,"featured_media":6175,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[30],"tags":[1109,1111,1110,248],"class_list":["post-6177","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-informatica","tag-planet","tag-programare","tag-rss","tag-ubuntu"],"_links":{"self":[{"href":"https:\/\/site.noi3.org\/index.php?rest_route=\/wp\/v2\/posts\/6177","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/site.noi3.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/site.noi3.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/site.noi3.org\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/site.noi3.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6177"}],"version-history":[{"count":0,"href":"https:\/\/site.noi3.org\/index.php?rest_route=\/wp\/v2\/posts\/6177\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/site.noi3.org\/index.php?rest_route=\/wp\/v2\/media\/6175"}],"wp:attachment":[{"href":"https:\/\/site.noi3.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6177"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/site.noi3.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6177"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/site.noi3.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6177"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}