sfeed_content.1 - sfeed_curses - sfeed curses UI (now part of sfeed, development is in sfeed)
(HTM) git clone git://git.codemadness.org/sfeed_curses
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
sfeed_content.1 (1208B)
---
1 .Dd July 25, 2021
2 .Dt SFEED_CONTENT 1
3 .Os
4 .Sh NAME
5 .Nm sfeed_content
6 .Nd view RSS/Atom content
7 .Sh SYNOPSIS
8 .Nm
9 .Op Ar
10 .Sh DESCRIPTION
11 .Nm
12 formats feed data (TSV) from
13 .Xr sfeed 1
14 from stdin or for each
15 .Ar file
16 to stdout as plain-text content.
17 For HTML content it uses
18 .Xr lynx 1
19 to convert it to plain-text.
20 At the end it uses the pager to view the output.
21 The
22 .Nm
23 script can be used by
24 .Xr sfeed_curses 1
25 to view content.
26 .Sh ENVIRONMENT VARIABLES
27 .Bl -tag -width Ds
28 .It Ev PAGER
29 The pager used to view the content.
30 If it is not set it will use "less -R" by default.
31 .El
32 .Sh EXIT STATUS
33 .Ex -std
34 .Sh EXAMPLES
35 .Bd -literal
36 curl -s 'https://codemadness.org/atom_content.xml' | sfeed | sfeed_content
37 .Ed
38 .Pp
39 The output format looks like this:
40 .Bd -literal
41 Title: The title.
42 Author: The line with the author if it is set.
43 Category: The line with the categories if it is set.
44 Link: The line with the link if it is set.
45 Enclosure: The line with the enclosure if it is set.
46
47 The content converted to plain-text.
48
49 <form feed character> if there are multiple items.
50 .Ed
51 .Sh SEE ALSO
52 .Xr awk 1 ,
53 .Xr less 1 ,
54 .Xr lynx 1 ,
55 .Xr sfeed_curses 1
56 .Sh AUTHORS
57 .An Hiltjo Posthuma Aq Mt hiltjo@codemadness.org