diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2021-07-06 18:27:28 +0200 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2021-07-06 18:27:28 +0200 |
commit | ed8079dc3e8ce513c788a5ab11444aac221cbc5b (patch) | |
tree | 1431fa5cde0464ff0351caad9d41fc622b4fe911 /sfeed_mbox.1 | |
parent | 15983fa731e7e62fcc19db8dd04a12007a265e8f (diff) |
sfeed_mbox: add option to print content
- Add SFEED_MBOX_CONTENT environment option. When set to "1" it outputs the
content aswell. This is disabled by default for security reasons, because many
clients handle HTML in an insecure way.
- Print link and enclosure on one line and align them.
Diffstat (limited to 'sfeed_mbox.1')
-rw-r--r-- | sfeed_mbox.1 | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/sfeed_mbox.1 b/sfeed_mbox.1 index 5182324..407f3c5 100644 --- a/sfeed_mbox.1 +++ b/sfeed_mbox.1 @@ -1,4 +1,4 @@ -.Dd March 15, 2020 +.Dd July 6, 2020 .Dt SFEED_MBOX 1 .Os .Sh NAME @@ -28,12 +28,21 @@ The mbox data can be further processed by tools like or .Xr fdm 1 for example. -See the README file for some useful examples. +See the README file for some examples. .Sh CUSTOM HEADERS To make further filtering simpler some custom headers are set: .Bl -tag -width Ds .It X-Feedname -The feedname (as set in sfeedrc). +The feedname, this is the basename of the +.Ar file . +.El +.Sh ENVIRONMENT VARIABLES +.Bl -tag -width Ds +.It Ev SFEED_MBOX_CONTENT +Include the content. +This is very insecure for some of the mail clients that interpret HTML code in +an unsafe way. +By default this is set to "0". .El .Sh EXIT STATUS .Ex -std |