Home
DIR <- Back # Sfeed: simple RSS and Atom parser Last modification on 2022-11-05 Sfeed is a RSS and Atom parser (and some format programs). It converts RSS or Atom feeds from XML to a TAB-separated file. There are formatting programs included to convert this TAB-separated format to various other formats. There are also some programs and scripts included to import and export OPML and to fetch, filter, merge and order feed items. DIR For the most (up-to-date) information see the »README«. ## Clone git clone git://git.codemadness.org/sfeed ## Browse You can browse the source-code at: HTML * https://git.codemadness.org/sfeed/ DIR * gopher://codemadness.org/1/git/sfeed ## Download releases Releases are available at: HTML * https://codemadness.org/releases/sfeed/ DIR * gopher://codemadness.org/1/releases/sfeed ## Build and install $ make # make install ## Screenshot and examples IMG Screenshot of sfeed piped to sfeed_plain using dmenu in vertical-list mode HTML The above screenshot uses the sfeed_plain format program with »dmenu«. This program outputs the feed items in a compact way per line as plain-text to stdout. The dmenu program reads these lines from stdin and displays them as a X11 list menu. When an item is selected in dmenu it prints this item to stdout. A simple written script can then filter for the URL in this output and do some action, like opening it in some browser or open a podcast in your music player. For example: #!/bin/sh url=$(sfeed_plain "$HOME/.sfeed/feeds/"* | dmenu -l 35 -i | \ sed -n 's@^.* \([a-zA-Z]*://\)\(.*\)$@\1\2@p') test -n "${url}" && $BROWSER "${url}" However this is just one way to format and interact with feed items. See also the README for other practical examples. Below are some examples of output that are supported by the included format programs: TEXT * plain text (UTF-8) TEXT * atom * gopher HTML * HTML (CSS) HTML * HTML frames TEXT * JSON Feed TEXT * mbox TEXT * twtxt DIR There is also a curses UI front-end, see the page »sfeed_curses«. It is now part of sfeed. ## Videos Here are some videos of other people showcasing some of the functionalities of sfeed, sfeed_plain and sfeed_curses. To the creators: thanks for making these! HTML * sfeed: RSS/Atom Feeds without the Suck (Youtube) HTML by »noocsharp« BIN (mirror) Video published on March 8 2020. HTML * Sfeed - news in the terminal with minimalism (Youtube) HTML by »Gavin Freeborn« BIN (mirror) Video published on January 15 2021. HTML * Sfeed - Peak Minimal RSS Feed Reader (Youtube) HTML by »Brodie Robertson« BIN (mirror) Video published on February 23 2021. HTML * RSS with sfeed, fdm, and mblaze! (Youtube) HTML by »Joseph Choe« BIN (mirror) HTML Website: »https://josephchoe.com/rss-terminal« Video published on 4 November 2022.