sfeed_mbox.1 - sfeed - RSS and Atom parser | |
git clone git://git.codemadness.org/sfeed | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
sfeed_mbox.1 (1453B) | |
--- | |
1 .Dd October 27, 2024 | |
2 .Dt SFEED_MBOX 1 | |
3 .Os | |
4 .Sh NAME | |
5 .Nm sfeed_mbox | |
6 .Nd format feed data to mboxrd | |
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 in the mboxrd format. | |
17 If one or more | |
18 .Ar file | |
19 arguments are specified then the basename of the | |
20 .Ar file | |
21 is used as the feed name in the output. | |
22 If no | |
23 .Ar file | |
24 arguments are specified and so the data is read from stdin then the feed… | |
25 is empty. | |
26 The mbox data can be further processed by tools like | |
27 .Xr procmail 1 | |
28 or | |
29 .Xr fdm 1 | |
30 for example. | |
31 See the README file for some examples. | |
32 .Sh CUSTOM HEADERS | |
33 To make further filtering simpler some custom headers are set: | |
34 .Bl -tag -width Ds | |
35 .It X-Feedname | |
36 The feed name, this is the basename of the feed | |
37 .Ar file . | |
38 .El | |
39 .Sh ENVIRONMENT VARIABLES | |
40 .Bl -tag -width Ds | |
41 .It Ev SFEED_MBOX_CONTENT | |
42 Include the content. | |
43 This can be insecure for some of the mail clients that interpret HTML co… | |
44 an unsafe way. | |
45 By default this is set to "0". | |
46 .El | |
47 .Sh EXIT STATUS | |
48 .Ex -std | |
49 .Sh EXAMPLES | |
50 Example: | |
51 .Bd -literal -offset 4n | |
52 sfeed_mbox ~/.sfeed/feeds/* | |
53 .Ed | |
54 .Pp | |
55 Below is an example to include the content. | |
56 This can be insecure for some of the mail clients that interpret HTML co… | |
57 an unsafe way: | |
58 .Bd -literal -offset 4n | |
59 SFEED_MBOX_CONTENT=1 sfeed_mbox ~/.sfeed/feeds/* | |
60 .Ed | |
61 .Sh SEE ALSO | |
62 .Xr fdm 1 , | |
63 .Xr procmail 1 , | |
64 .Xr sfeed 1 , | |
65 .Xr sfeed 5 | |
66 .Sh AUTHORS | |
67 .An Hiltjo Posthuma Aq Mt [email protected] |