sfeed

Simple RSS and Atom feed parser
git clone https://git.sinitax.com/codemadness/sfeed
Log | Files | Refs | README | LICENSE | Upstream | sfeed.txt

sfeed_mbox.1 (1400B)


      1.Dd August 4, 2021
      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
     12formats feed data (TSV) from
     13.Xr sfeed 1
     14from stdin or for each
     15.Ar file
     16to stdout in the mboxrd format.
     17If one or more
     18.Ar file
     19arguments are specified then the basename of the
     20.Ar file
     21is used as the feed name in the output.
     22If no
     23.Ar file
     24arguments are specified and so the data is read from stdin then the feed name
     25is empty.
     26The mbox data can be further processed by tools like
     27.Xr procmail 1
     28or
     29.Xr fdm 1
     30for example.
     31See the README file for some examples.
     32.Sh CUSTOM HEADERS
     33To make further filtering simpler some custom headers are set:
     34.Bl -tag -width Ds
     35.It X-Feedname
     36The 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
     42Include the content.
     43This can be insecure for some of the mail clients that interpret HTML code in
     44an unsafe way.
     45By default this is set to "0".
     46.El
     47.Sh EXIT STATUS
     48.Ex -std
     49.Sh EXAMPLES
     50.Bd -literal
     51sfeed_mbox ~/.sfeed/feeds/*
     52.Ed
     53.Pp
     54To include the content.
     55This can be insecure for some of the mail clients that interpret HTML code in
     56an unsafe way:
     57.Bd -literal
     58SFEED_MBOX_CONTENT=1 sfeed_mbox ~/.sfeed/feeds/*
     59.Ed
     60.Sh SEE ALSO
     61.Xr fdm 1 ,
     62.Xr procmail 1 ,
     63.Xr sfeed 1 ,
     64.Xr sfeed 5
     65.Sh AUTHORS
     66.An Hiltjo Posthuma Aq Mt hiltjo@codemadness.org