Post by rootI want to look into using a news aggregator but I have no
prior experience with the technology. I would appreciate
any advice about how to jump into RSS.
I want to look into using a news aggregator but I have no
prior experience with the technology. I would appreciate
any advice about how to jump into RSS.
Following the UNIX philosophy the best is to use a rss to email
converter and read them with your favourite mailreader, instead of
an integrated rss client.
rssdrop # A Perl script to deliver rss feeds to Maildirs.
rss2email # delivering news from RSS feeds to your email
feed2maildir # RSS/Atom feeds to maildir
The only limitation is that you will need a maildir-compatible email client.
But you can overcome that with fdm (akin to procmail).
Thunderbird is not fully maildir-compatible, but should work ok (it
lacks support for either /cur or /new subdir and instead it uses a
file to keep track of read messages).
===================================================================
#!/usr/bin/env bash
dest_main_dir=${HOME}/RSS
tempdir=${dest_main_dir}/temp
mkdir -p ${tempdir}
mkdir -p ${dest_main_dir}/m
rssdrop_cmd="rssdrop --verbose"\
" --mailfolder ${dest_main_dir}/m"
declare -A feeds_d
feeds_d=([feed1]='http://www.page1.com/news/rss/'
[feed2]='http://www.page2.com/rss/')
for i in ${!feeds_d[*]}; do
# use extension xml
rm -f ${tempdir}/${i}.xml
wget -O ${tempdir}/${i}.xml "${feeds_d[${i}]}"
mkdir -p ${dest_main_dir}/m/${i}/{cur,new,tmp}
${rssdrop_cmd} -a ${i} file://${tempdir}/${i}.xml
${rssdrop_cmd} ${i}
done