Writings Photos Code Contact Resume
Minimalistic RSS feed aggregator.

You are here

Submitted by msameer on Wed, 08/02/2006 - 12:56pm

Ali of OpenCraft wanted an RSS feed aggregator that'll display the latest items like what we see on the T.V.

I had a perl script that'll grab the latest items and email them to you. I modified it to print the titles to the standard output. You can then use osd_cat to display it.

Now what ? I thought that I can rewrite it to use the traditional UNIX tools and the end was:

cat rss.xml  | sed -e 's/<title>\([^<]*\)<\/title>/\1/g' | tr -s " " | grep "^ \w"  | sed -e 's/^ //'

Comments

Submitted by Mostafa Hussein (not verified) on Fri, 21/09/2007 - 6:16pm

Cool, I am using this with osd_cat to display latest twitter updates from friends.

Add new comment

Subscribe to /  digg  bookmark