sfeed-simple-feed-parser.md - www.codemadness.org - www.codemadness.org saait content files
(HTM) git clone git://git.codemadness.org/www.codemadness.org
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
sfeed-simple-feed-parser.md (3695B)
---
1 Sfeed is a RSS and Atom parser (and some format programs).
2
3 It converts RSS or Atom feeds from XML to a TAB-separated file. There are
4 formatting programs included to convert this TAB-separated format to various
5 other formats. There are also some programs and scripts included to import and
6 export OPML and to fetch, filter, merge and order feed items.
7
8 For the most (up-to-date) information see the [README](/git/sfeed/file/README.html).
9
10
11 ## Clone
12
13 git clone git://git.codemadness.org/sfeed
14
15
16 ## Browse
17
18 You can browse the source-code at:
19
20 * <https://git.codemadness.org/sfeed/>
21 * <gopher://codemadness.org/1/git/sfeed>
22
23
24 ## Download releases
25
26 Releases are available at:
27
28 * <https://codemadness.org/releases/sfeed/>
29 * <gopher://codemadness.org/1/releases/sfeed>
30
31
32 ## Build and install
33
34 $ make
35 # make install
36
37
38 ## Screenshot and examples
39
40 [](downloads/screenshots/sfeed-screenshot.png)
41
42 The above screenshot uses the sfeed_plain format program with [dmenu](https://tools.suckless.org/dmenu/). This
43 program outputs the feed items in a compact way per line as plain-text to
44 stdout. The dmenu program reads these lines from stdin and displays them as a
45 X11 list menu. When an item is selected in dmenu it prints this item to stdout.
46 A simple written script can then filter for the URL in this output and do some
47 action, like opening it in some browser or open a podcast in your music player.
48
49 For example:
50
51 #!/bin/sh
52 url=$(sfeed_plain "$HOME/.sfeed/feeds/"* | dmenu -l 35 -i | \
53 sed -n 's@^.* \([a-zA-Z]*://\)\(.*\)$@\1\2@p')
54 test -n "${url}" && $BROWSER "${url}"
55
56 However this is just one way to format and interact with feed items.
57 See also the README for other practical examples.
58
59 Below are some examples of output that are supported by the included format
60 programs:
61
62 * [plain text (UTF-8)](downloads/sfeed/plain/feeds.txt)
63 * [atom](downloads/sfeed/atom/feeds.xml)
64 * gopher
65 * [HTML (CSS)](downloads/sfeed/html/feeds.html)
66 * [HTML frames](downloads/sfeed/frames/index.html)
67 * [JSON Feed](jsonfeed_content.json)
68 * [mbox](downloads/sfeed/mbox/feeds.mbox)
69 * [twtxt](downloads/sfeed/twtxt/twtxt.txt)
70
71 There is also a curses UI front-end, see the page [sfeed_curses](sfeed_curses.html).
72 It is now part of sfeed.
73
74
75 ## Videos
76
77 Here are some videos of other people showcasing some of the functionalities of
78 sfeed, sfeed\_plain and sfeed\_curses. To the creators: thanks for making these!
79
80 * [sfeed: RSS/Atom Feeds without the Suck (Youtube)](https://www.youtube.com/watch?v=RnuY32DP9jU)
81 by [noocsharp](https://www.youtube.com/channel/UCQQB104oMOos758GTOdx_kQ)
82 [(mirror)](downloads/sfeed/videos/sfeed_without_the_suck.mp4)
83 Video published on March 8 2020.
84 * [Sfeed - news in the terminal with minimalism (Youtube)](https://www.youtube.com/watch?v=ok8k639GoRU)
85 by [Gavin Freeborn](https://www.youtube.com/channel/UCJetJ7nDNLlEzDLXv7KIo0w)
86 [(mirror)](downloads/sfeed/videos/sfeed_news_in_terminal.mp4)
87 Video published on January 15 2021.
88 * [Sfeed - Peak Minimal RSS Feed Reader (Youtube)](https://www.youtube.com/watch?v=xMkW4iJzot0)
89 by [Brodie Robertson](https://www.youtube.com/channel/UCld68syR8Wi-GY_n4CaoJGA)
90 [(mirror)](downloads/sfeed/videos/sfeed_minimalism.mp4)
91 Video published on February 23 2021.
92 * [RSS with sfeed, fdm, and mblaze! (Youtube)](https://www.youtube.com/watch?v=O8x0MAyqvt0)
93 by [Joseph Choe](https://www.youtube.com/channel/UCz_u0h4usMbnFsIHSVdjUQw)
94 [(mirror)](downloads/sfeed/videos/rss_with_sfeed_fdm_and_mblaze.mp4)
95 Website: <https://josephchoe.com/rss-terminal>
96 Video published on 4 November 2022.