summaryrefslogtreecommitdiffstats
path: root/remote/news.sh
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-08-25 06:45:30 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-08-25 06:45:30 +0200
commitaa29ce5a243320559f8f83d9434bc55f20ae9aec (patch)
treecbf8fbfc079d36cbd25291950b5b2606d54b430a /remote/news.sh
parent16e27beaa24c6c551eaa0d3e6d115017939593a1 (diff)
downloadconky-aa29ce5a243320559f8f83d9434bc55f20ae9aec.tar.gz
conky-aa29ce5a243320559f8f83d9434bc55f20ae9aec.tar.bz2
conky-aa29ce5a243320559f8f83d9434bc55f20ae9aec.tar.xz
conky-aa29ce5a243320559f8f83d9434bc55f20ae9aec.zip
Overview screens also ported to remote mode
Diffstat (limited to 'remote/news.sh')
-rwxr-xr-xremote/news.sh32
1 files changed, 32 insertions, 0 deletions
diff --git a/remote/news.sh b/remote/news.sh
new file mode 100755
index 0000000..ea24458
--- /dev/null
+++ b/remote/news.sh
@@ -0,0 +1,32 @@
+#! /bin/bash
+
+. lib/status.sh
+
+decorate "Security:" purple; echo
+rsstail -n 8 -1 -u https://security.gentoo.org/glsa/feed.rss | cut -d ':' -f 2- | cut -c 2- | fmt -t -w $fold
+
+echo
+echo
+
+decorate "New Packages:" purple; echo
+rsstail -n 8 -1 -u https://packages.gentoo.org/packages/added.atom | cut -d ':' -f 2- | cut -c 2- | fmt -t -w $fold
+
+echo
+echo
+
+decorate "Gentoo Planet:" purple; echo
+rsstail -n 8 -1 -u http://planet.gentoo.org/rss20.xml | cut -d ':' -f 3- | cut -c 2- | fmt -t -w $fold
+
+echo
+echo
+
+decorate "LWN Headlines:" purple; echo
+rsstail -n 8 -1 -u http://lwn.net/headlines/rss | cut -d ':' -f 2- | cut -c 2- | fmt -t -w $fold
+
+echo
+echo
+
+decorate "IBM Developerworks:" purple; echo
+rsstail -n 8 -1 -u 'http://www.ibm.com/developerworks/views/rss/customrssatom.jsp?zone_by=AIX&zone_by=Linux&zone_by=Open+source&type_by=Articles&type_by=Tutorials&search_by=&day=1&month=01&year=2008&max_entries=10&feed_by=rss&encoding=UTF-8&isGUI=true&Submit.x=41&Submit.y=15' | cut -d ':' -f 2- | cut -c 2- | fmt -t -w $fold
+
+echo