sfeed_html.1 (raw) (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 12 formats feed data (TSV) from 13 .Xr sfeed 1 14 from stdin or for each 15 .Ar file 16 to stdout in HTML. 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 name 25 is empty. 26 .Pp 27 Items with a timestamp from the last day compared to the system time at the 28 time of formatting are counted and marked as new. 29 This value might be overridden through environment variables. 30 Items are marked as new using a bold markup. 31 .Pp 32 There 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 36 Overwrite the maximum age in seconds to mark feeds as new. 37 By default this is 86400, which equals one day. 38 .El 39 .Sh EXIT STATUS 40 .Ex -std 41 .Sh EXAMPLES 42 .Bd -literal 43 sfeed_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