sfeed

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

sfeed_html.1 (1171B)


      1.Dd July 31, 2021
      2.Dt SFEED_HTML 1
      3.Os
      4.Sh NAME
      5.Nm sfeed_html
      6.Nd format feed data to HTML
      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 HTML.
     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.
     26.Pp
     27Items with a timestamp from the last day compared to the system time at the
     28time of formatting are counted and marked as new.
     29This value might be overridden through environment variables.
     30Items are marked as new using a bold markup.
     31.Pp
     32There is an example style.css stylesheet file included in the distribution.
     33.Sh ENVIRONMENT VARIABLES
     34.Bl -tag -width Ds
     35.It Ev SFEED_NEW_AGE
     36Overwrite the maximum age in seconds to mark feeds as new.
     37By default this is 86400, which equals one day.
     38.El
     39.Sh EXIT STATUS
     40.Ex -std
     41.Sh EXAMPLES
     42.Bd -literal
     43sfeed_html ~/.sfeed/feeds/*
     44.Ed
     45.Sh SEE ALSO
     46.Xr sfeed 1 ,
     47.Xr sfeed_frames 1 ,
     48.Xr sfeed_plain 1 ,
     49.Xr sfeed 5
     50.Sh AUTHORS
     51.An Hiltjo Posthuma Aq Mt hiltjo@codemadness.org