commit 86e672a51b6730c0ebdf42a0aef247af022323c1 parent b58706003914a8491584b4761c108be845d3aec0 Author: Tomas Hlavaty <tom@logand.com> Date: Sun, 16 Jan 2011 18:22:15 +0100 postfeed.sh and rss2links.sh added Diffstat:
A | postfeed.sh | | | 3 | +++ |
A | rss2links.sh | | | 3 | +++ |
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/postfeed.sh b/postfeed.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +cat ~/.postfeed | xargs -n1 ./rss2links.sh | grep -v '^$' >>~/.w3mail.in diff --git a/rss2links.sh b/rss2links.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +wget -qO- $* | xmlstarlet sel -t -m '//item' -v 'link' -n