table of contents
SFEED_HTML(1) | General Commands Manual | SFEED_HTML(1) |
NAME¶
sfeed_html
—
format feed data to HTML
SYNOPSIS¶
sfeed_html |
[file ...] |
DESCRIPTION¶
sfeed_html
formats feed data (TSV) from
sfeed(1) from stdin or for each file
to stdout in HTML. If one or more file arguments are
specified then the basename of the file is used as the
feed name in the output. If no file arguments are
specified and so the data is read from stdin then the feed name is
empty.
Items with a timestamp from the last day compared to the system time at the time of formatting are counted and marked as new. This value might be overridden through environment variables. Items are marked as new using a bold markup.
There is an example style.css stylesheet file included in the distribution.
ENVIRONMENT VARIABLES¶
SFEED_NEW_AGE
- Overwrite the maximum age in seconds to mark feeds as new. By default this is 86400, which equals one day.
EXIT STATUS¶
The sfeed_html
utility exits 0 on
success, and >0 if an error occurs.
EXAMPLES¶
sfeed_html ~/.sfeed/feeds/*
SEE ALSO¶
AUTHORS¶
Hiltjo Posthuma <hiltjo@codemadness.org>
July 31, 2021 | Debian |