summaryrefslogtreecommitdiffstats
path: root/remote/news.sh
diff options
context:
space:
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