Xfce terminal has a file action support for url so the output of the script will be displayed on Terminal and the url can be click from there.
# this will emerge the xfce dependencies
emerge -avDt xfce-extra/terminal
# curl is needed to read on rss page
emerge -avDt curl
# adapted script
nano -w ~/.rsschannel/slashdot
=c=
clear
url=”http://rss.slashdot.org/Slashdot/slashdot”
curl –silent “$url”|egrep “(title>|link>)”|sed -n ‘4,$p’|sed -e ‘s/
echo ‘SLASHDOT’
sleep 3600
exec ~/.rsschannel/slashdot
=c=
The problem with the above script is it will leave a running ‘sh’ and ‘sleep’ process everytime you kill your X (Ctrl Alt Backspace, I don’t like xdm). A preferred method is to dump the output of the script into a file and use cat to display it. The updating of the news will be done using cron.
nano -w ~/.rsschannel/slashdotdump
=c=
url=”http://rss.slashdot.org/Slashdot/slashdot”
curl –silent “$url”|egrep “(title>|link>)”|sed -n ‘4,$p’|sed -e ‘s/
=c=
# enable user to use cron
sudo usermod -G users,wheel,audio,cron your_username
relogin the user to activate the added group
# run the fetching every hour
crontab -e
=c=
0 * * * * ~/.rsschannel/slashdotdump | cat > ~/.rsschannel/slashdotrss
=c=
emerge -avDt elinks
# Put the rss on fluxbox startup
nano -w ~/.fluxbox/startup
Terminal –hide-menubar –hide-borders –hide-toolbars –title=rssreader –geometry=40×25-10+35 -e elinks .rsschannel/slashdotrss &
Referrence:
http://gentoo-wiki.com/TIP_Console_Text_on_the_Desktop_using_Eterm#Fluxbox_and_Eterm_Console_Desktop
http://www.macdevcenter.com/pub/a/mac/2004/03/12/rss_scripting.html