sfeed_content.1 - sfeed - RSS and Atom parser | |
git clone git://git.codemadness.org/sfeed | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
sfeed_content.1 (1370B) | |
--- | |
1 .Dd October 27, 2024 | |
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 .It Ev SFEED_HTMLCONV | |
32 The program used to convert HTML content to plain-text. | |
33 If it is not set it will use lynx by default. | |
34 .El | |
35 .Sh EXIT STATUS | |
36 .Ex -std | |
37 .Sh EXAMPLES | |
38 Example: | |
39 .Bd -literal -offset 4n | |
40 curl -s 'https://codemadness.org/atom_content.xml' | sfeed | sfeed_conte… | |
41 .Ed | |
42 .Pp | |
43 The output format will look like this: | |
44 .Bd -literal -offset 4n | |
45 Title: The title. | |
46 Author: The line with the author if it is set. | |
47 Category: The line with the categories if it is set. | |
48 Link: The line with the link if it is set. | |
49 Enclosure: The line with the enclosure if it is set. | |
50 | |
51 The content converted to plain-text. | |
52 | |
53 <form feed character> if there are multiple items. | |
54 .Ed | |
55 .Sh SEE ALSO | |
56 .Xr awk 1 , | |
57 .Xr less 1 , | |
58 .Xr lynx 1 , | |
59 .Xr sfeed_curses 1 | |
60 .Sh AUTHORS | |
61 .An Hiltjo Posthuma Aq Mt [email protected] |