sfeed as an rss2email replacement ================================= In this README we'll briefly give a look how to use sfeed as an rss2email replacement. Please note that the sfeed's README already contain several ways to do it (and more robust ones!). These hacks were written mainly because: - Keep every feed in a separate MH folder - Include the content of every entry/item in the email, converted to text if needed rss2mh ------ rss2mh takes care of everything: - Invoke sfeed_update - Convert every feed to mbox via sfeed_mbox - Run fdm to include all the new emails to MH folders So, after rss2mh and sfeed_mbox are in ${PATH} (e.g. by copying them in ~/bin or similar), fdm.sfeed.conf is in ~/.sfeed/ just doing: % rss2mh will populate all MH folders in ~/News/. sfeed_mbox ---------- sfeed_mbox is a reimplementation in shell script and AWK of sfeed_mbox provided by sfeed. The main differences to the original sfeed_mbox are: - Does From-munge (i.e. every `From' in body are substituted to `>From') - Have several X-RSS-* headers: + X-RSS-Feed: contain the basename of feed (same of X-Feedname in the original sfeed_mbox) + X-RSS-Id: id field of the item/entry + X-RSS-URL: link field of the item/entry + X-RSS-Content-Type: the content type of the item/entry (html or plain) - Include the content of every item/entry, converted to text via w3m - Write the mbox in reverse order - THIS IS DONE VIA `tail -r' THAT IS PROBABLY A NetBSD-ISM! - in this way the MH folders are sorted by date (newest at the end) fdm.sfeed.conf -------------- fdm configuration file that consume all sfeed mboxes, maintain a global cache based on X-RSS-URL and pipe all new emails to rcvstore.